diff --git a/packages/uncheck/package.json b/packages/uncheck/package.json index 33e2fd2..95e6449 100644 --- a/packages/uncheck/package.json +++ b/packages/uncheck/package.json @@ -52,8 +52,8 @@ "prepack": "obuild" }, "devDependencies": { - "@effect/platform-node": "^4.0.0-rc.116", - "effect": "^4.0.0-rc.116", + "@effect/platform-node": "^4.0.0", + "effect": "^4.0.0", "jsonc-parser": "^3.3.1", "minimatch": "^10.2.6", "oxfmt": "^0.68.0", diff --git a/packages/uncheck/src/cli.ts b/packages/uncheck/src/cli.ts index 8574a40..6b5ddbd 100644 --- a/packages/uncheck/src/cli.ts +++ b/packages/uncheck/src/cli.ts @@ -3,7 +3,7 @@ import process from 'node:process' import * as NodeRuntime from '@effect/platform-node/NodeRuntime' import * as NodeServices from '@effect/platform-node/NodeServices' import { Console, Effect } from 'effect' -import { CliConfig, CliError, CliOutput, Command, GlobalFlag } from 'effect/unstable/cli' +import { CliConfig, CliError, CliOutput, Command, GlobalFlag } from 'effect/cli' import pkg from '../package.json' with { type: 'json' } import { hooks } from './commands/hooks/index.ts' diff --git a/packages/uncheck/src/commands/hooks/index.ts b/packages/uncheck/src/commands/hooks/index.ts index efdfa49..154ce80 100644 --- a/packages/uncheck/src/commands/hooks/index.ts +++ b/packages/uncheck/src/commands/hooks/index.ts @@ -1,4 +1,4 @@ -import { Command } from 'effect/unstable/cli' +import { Command } from 'effect/cli' import { install } from './install.ts' import { run } from './run.ts' diff --git a/packages/uncheck/src/commands/hooks/install.ts b/packages/uncheck/src/commands/hooks/install.ts index 78e9a80..a47fd5c 100644 --- a/packages/uncheck/src/commands/hooks/install.ts +++ b/packages/uncheck/src/commands/hooks/install.ts @@ -1,7 +1,7 @@ import { isDeepStrictEqual } from 'node:util' import { Console, Effect, FileSystem, Path, Predicate, Stdio } from 'effect' -import { Argument, Command, Prompt } from 'effect/unstable/cli' +import { Argument, Command, Prompt } from 'effect/cli' import { type ParseError, parse as parseJsonc, printParseErrorCode } from 'jsonc-parser' import { userError } from '../../errors.ts' diff --git a/packages/uncheck/src/commands/hooks/run.ts b/packages/uncheck/src/commands/hooks/run.ts index 3b9202d..f0db00f 100644 --- a/packages/uncheck/src/commands/hooks/run.ts +++ b/packages/uncheck/src/commands/hooks/run.ts @@ -4,7 +4,7 @@ import process from 'node:process' import { stripVTControlCharacters } from 'node:util' import { Console, Effect, FileSystem, Option, Path, Predicate, Stdio, Stream } from 'effect' -import { Command, Flag } from 'effect/unstable/cli' +import { Command, Flag } from 'effect/cli' import { StopBlocked, userError } from '../../errors.ts' import { fileKind, isOutside, listChangedFiles, slashedRelative } from '../../files.ts' diff --git a/packages/uncheck/src/commands/init.ts b/packages/uncheck/src/commands/init.ts index 3f65412..a02d438 100644 --- a/packages/uncheck/src/commands/init.ts +++ b/packages/uncheck/src/commands/init.ts @@ -1,8 +1,8 @@ import process from 'node:process' import { Console, Effect, FileSystem, Option, Path, Predicate, Stdio } from 'effect' -import { Command, Flag, Prompt } from 'effect/unstable/cli' -import { ChildProcess, ChildProcessSpawner } from 'effect/unstable/process' +import { Command, Flag, Prompt } from 'effect/cli' +import { ChildProcess, ChildProcessSpawner } from 'effect/process' import { userError } from '../errors.ts' import { ancestors, firstFile, isWorkspaceRoot, readJson } from '../files.ts' diff --git a/packages/uncheck/src/commands/prepare.ts b/packages/uncheck/src/commands/prepare.ts index be9e919..a03a755 100644 --- a/packages/uncheck/src/commands/prepare.ts +++ b/packages/uncheck/src/commands/prepare.ts @@ -1,7 +1,7 @@ import { randomBytes } from 'node:crypto' import { Console, Effect, FileSystem, Option, Path, Result, Schedule } from 'effect' -import { Command, Flag } from 'effect/unstable/cli' +import { Command, Flag } from 'effect/cli' import { platformMessage, userError } from '../errors.ts' import { readTextIfExists } from '../files.ts' diff --git a/packages/uncheck/src/commands/staged.ts b/packages/uncheck/src/commands/staged.ts index 97d147b..7e30789 100644 --- a/packages/uncheck/src/commands/staged.ts +++ b/packages/uncheck/src/commands/staged.ts @@ -1,7 +1,7 @@ import process from 'node:process' import { Console, Effect, FileSystem, Path, Ref } from 'effect' -import { Command, Flag } from 'effect/unstable/cli' +import { Command, Flag } from 'effect/cli' import { userError } from '../errors.ts' import { inNodeModules } from '../files.ts' diff --git a/packages/uncheck/src/commands/uncheck.ts b/packages/uncheck/src/commands/uncheck.ts index 78bf1fe..abd6c53 100644 --- a/packages/uncheck/src/commands/uncheck.ts +++ b/packages/uncheck/src/commands/uncheck.ts @@ -4,9 +4,9 @@ import process from 'node:process' import type { PlatformError } from 'effect' import { Console, Duration, Effect, Fiber, FileSystem, Semaphore } from 'effect' -import type { CliError } from 'effect/unstable/cli' -import { Argument, Command, Flag } from 'effect/unstable/cli' -import type { ChildProcessSpawner } from 'effect/unstable/process' +import type { CliError } from 'effect/cli' +import { Argument, Command, Flag } from 'effect/cli' +import type { ChildProcessSpawner } from 'effect/process' import { oxfmt } from '../checks/oxfmt.ts' import { oxlint } from '../checks/oxlint.ts' diff --git a/packages/uncheck/src/errors.ts b/packages/uncheck/src/errors.ts index 41d8b03..5d64ad7 100644 --- a/packages/uncheck/src/errors.ts +++ b/packages/uncheck/src/errors.ts @@ -1,6 +1,6 @@ import type { PlatformError } from 'effect' import { Data, Effect } from 'effect' -import { CliError } from 'effect/unstable/cli' +import { CliError } from 'effect/cli' import type { CheckOutcome } from './types.ts' diff --git a/packages/uncheck/src/files.ts b/packages/uncheck/src/files.ts index 1b6025f..e7243c1 100644 --- a/packages/uncheck/src/files.ts +++ b/packages/uncheck/src/files.ts @@ -1,7 +1,7 @@ import { existsSync, lstatSync, realpathSync, statSync } from 'node:fs' import { Effect, FileSystem, Path, Predicate } from 'effect' -import type { ChildProcessSpawner } from 'effect/unstable/process' +import type { ChildProcessSpawner } from 'effect/process' import { Minimatch } from 'minimatch' import { userError } from './errors.ts' diff --git a/packages/uncheck/src/git.ts b/packages/uncheck/src/git.ts index 0e3ce6d..54b527e 100644 --- a/packages/uncheck/src/git.ts +++ b/packages/uncheck/src/git.ts @@ -1,7 +1,7 @@ import { Buffer } from 'node:buffer' import { Data, Effect, Stream } from 'effect' -import { ChildProcess, ChildProcessSpawner } from 'effect/unstable/process' +import { ChildProcess, ChildProcessSpawner } from 'effect/process' export class GitFailed extends Data.TaggedError('GitFailed')<{ readonly args: ReadonlyArray diff --git a/packages/uncheck/src/tool.ts b/packages/uncheck/src/tool.ts index 5bb5d8c..4e28e4c 100644 --- a/packages/uncheck/src/tool.ts +++ b/packages/uncheck/src/tool.ts @@ -2,7 +2,7 @@ import { createRequire } from 'node:module' import process from 'node:process' import { Console, Effect, Path, Predicate, Stream } from 'effect' -import { ChildProcess, ChildProcessSpawner } from 'effect/unstable/process' +import { ChildProcess, ChildProcessSpawner } from 'effect/process' import { ancestors, readJson } from './files.ts' import { colors } from './style.ts' diff --git a/packages/uncheck/src/types.ts b/packages/uncheck/src/types.ts index da93f23..eb91168 100644 --- a/packages/uncheck/src/types.ts +++ b/packages/uncheck/src/types.ts @@ -1,5 +1,5 @@ import type { Effect, FileSystem, Path, PlatformError } from 'effect' -import type { ChildProcessSpawner } from 'effect/unstable/process' +import type { ChildProcessSpawner } from 'effect/process' import type { CannotCheck, NothingToCheck } from './errors.ts' import type { ProjectFiles } from './files.ts' diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b095dbe..52a98a5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -212,11 +212,11 @@ importers: packages/uncheck: devDependencies: '@effect/platform-node': - specifier: ^4.0.0-rc.116 - version: 4.0.0-rc.116(effect@4.0.0-rc.116)(redis@6.2.1) + specifier: ^4.0.0 + version: 4.0.0(effect@4.0.0)(redis@6.2.1) effect: - specifier: ^4.0.0-rc.116 - version: 4.0.0-rc.116 + specifier: ^4.0.0 + version: 4.0.0 jsonc-parser: specifier: ^3.3.1 version: 3.3.1 @@ -269,17 +269,17 @@ packages: vite: ^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 vitest: ^3.2 || ^4 - '@effect/platform-node-shared@4.0.0-rc.116': - resolution: {integrity: sha512-4FB6UriGqArWFUaFqVchhfCRmmtOVzmD/k/bH6LErlKY8a9amt5dk6c3Arsi7AvUpChsdO+3jsG+P85HsxMkNA==} + '@effect/platform-node-shared@4.0.0': + resolution: {integrity: sha512-VBXHJU9UXVZPdQGGDRjGXpo+TpOzRwZuMrdKAtIxi1qwcRftmacZ1zTgIrzBa0Z2RA2KVkoOecQUsTlt/nJZhw==} engines: {node: '>=18.0.0'} peerDependencies: - effect: ^4.0.0-rc.116 + effect: ^4.0.0 - '@effect/platform-node@4.0.0-rc.116': - resolution: {integrity: sha512-uA66Nh998OcChBVX83tQDkBDvQQcVaMXodP9gNGWVeIwWWquy7bzIkAq/fMZGKs/BVFhFQ0XCp3VIqYjnXu5ng==} + '@effect/platform-node@4.0.0': + resolution: {integrity: sha512-/L+4MUbl8FejPKLHLROYSOebvHnfixkP8KiblSD/DE5uH5xENZBHaux4nH6XMnRP+lr8ajpEJFS8sUrmmxFJeQ==} engines: {node: '>=18.0.0'} peerDependencies: - effect: ^4.0.0-rc.116 + effect: ^4.0.0 redis: '>=5.0.0 <7.0.0' '@esbuild/aix-ppc64@0.28.2': @@ -1513,8 +1513,8 @@ packages: resolution: {integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==} engines: {node: '>= 0.4'} - effect@4.0.0-rc.116: - resolution: {integrity: sha512-nawqJHSjHV8XIBRZNZ+D7cLZpN3kkSjzy6aiT9ofKENsl7xAMFKEoDa0itN5JFl3GUQ1PIN1T1HNlva5+xyO/A==} + effect@4.0.0: + resolution: {integrity: sha512-ooc1TG5t+FfzgYnFz2ff6BBKyZ7EwBRVXC7c4RhQUAD6/TZ2gTXXMeb4WX7a19ozQo4J73/QW+S00YAIresoMQ==} es-define-property@1.0.1: resolution: {integrity: sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==} @@ -2061,8 +2061,8 @@ packages: undici-types@8.9.0: resolution: {integrity: sha512-KTDyRTYX8sWmKXAikPHHSyc63CRPETMctyjKFupcC6OBLXT3xsN0e9aF7m+mIXutFWpUXuedtowG7iLOzp0kQg==} - undici@8.10.2: - resolution: {integrity: sha512-/y4/bH9YNU5hi9NIrpOuvGXFcxrj3CMrV+/AYpowAYTpHn8gX/XPFjNy766FPoYY0miQhdW977JFWKGNhBdwyQ==} + undici@8.11.2: + resolution: {integrity: sha512-u4UB2/IrKdU6lFxumHmmo1a3fCQO5tzQllRorfoRS63txhrB7xTpSn1PftwC4qEHkOaqP95fCWW4lJzwErwzhQ==} engines: {node: '>=22.19.0'} verkit@0.4.1: @@ -2155,8 +2155,8 @@ packages: engines: {node: '>=8'} hasBin: true - ws@8.21.3: - resolution: {integrity: sha512-201TZ/kPWxoPr/OKWjquZR1SWKXcvxdH+e1xrx89b3YbmzLMFCLfnaG1HFIgWzJOEWZ7MvpK++odZufgYR50Rw==} + ws@8.22.0: + resolution: {integrity: sha512-Ydggc987+RO0AnWtZ/7Wq9FtNvcrL1b/RO0ud9mWjUPgDrsAAwQSF51sm2hm1XofbU/4jkpGEsLFsZZxU+1DOg==} engines: {node: '>=10.0.0'} peerDependencies: bufferutil: ^4.0.1 @@ -2230,21 +2230,21 @@ snapshots: - debug - supports-color - '@effect/platform-node-shared@4.0.0-rc.116(effect@4.0.0-rc.116)': + '@effect/platform-node-shared@4.0.0(effect@4.0.0)': dependencies: '@types/ws': 8.18.1 - effect: 4.0.0-rc.116 - ws: 8.21.3 + effect: 4.0.0 + ws: 8.22.0 transitivePeerDependencies: - bufferutil - utf-8-validate - '@effect/platform-node@4.0.0-rc.116(effect@4.0.0-rc.116)(redis@6.2.1)': + '@effect/platform-node@4.0.0(effect@4.0.0)(redis@6.2.1)': dependencies: - '@effect/platform-node-shared': 4.0.0-rc.116(effect@4.0.0-rc.116) - effect: 4.0.0-rc.116 + '@effect/platform-node-shared': 4.0.0(effect@4.0.0) + effect: 4.0.0 redis: 6.2.1 - undici: 8.10.2 + undici: 8.11.2 transitivePeerDependencies: - bufferutil - utf-8-validate @@ -3006,7 +3006,7 @@ snapshots: es-errors: 1.3.0 gopd: 1.2.0 - effect@4.0.0-rc.116: {} + effect@4.0.0: {} es-define-property@1.0.1: {} @@ -3618,7 +3618,7 @@ snapshots: undici-types@8.9.0: {} - undici@8.10.2: {} + undici@8.11.2: {} verkit@0.4.1: {} @@ -3663,7 +3663,7 @@ snapshots: siginfo: 2.0.0 stackback: 0.0.2 - ws@8.21.3: {} + ws@8.22.0: {} wsl-utils@0.1.0: dependencies: