Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/uncheck/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/uncheck/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion packages/uncheck/src/commands/hooks/index.ts
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
2 changes: 1 addition & 1 deletion packages/uncheck/src/commands/hooks/install.ts
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
2 changes: 1 addition & 1 deletion packages/uncheck/src/commands/hooks/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
4 changes: 2 additions & 2 deletions packages/uncheck/src/commands/init.ts
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
2 changes: 1 addition & 1 deletion packages/uncheck/src/commands/prepare.ts
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
2 changes: 1 addition & 1 deletion packages/uncheck/src/commands/staged.ts
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
6 changes: 3 additions & 3 deletions packages/uncheck/src/commands/uncheck.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion packages/uncheck/src/errors.ts
Original file line number Diff line number Diff line change
@@ -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'

Expand Down
2 changes: 1 addition & 1 deletion packages/uncheck/src/files.ts
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
2 changes: 1 addition & 1 deletion packages/uncheck/src/git.ts
Original file line number Diff line number Diff line change
@@ -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<string>
Expand Down
2 changes: 1 addition & 1 deletion packages/uncheck/src/tool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion packages/uncheck/src/types.ts
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
52 changes: 26 additions & 26 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading