Skip to content

Commit 0e84662

Browse files
committed
update packages
1 parent d0bc8e9 commit 0e84662

13 files changed

Lines changed: 1780 additions & 1682 deletions

File tree

package.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -52,46 +52,46 @@
5252
"dependencies": {
5353
"cross-env": "^10.1.0",
5454
"date-fns": "^4.1.0",
55-
"fast-check": "^4.3.0",
55+
"fast-check": "^4.5.3",
5656
"proper-lockfile": "^4.1.2",
57-
"vue": "^3.5.24"
57+
"vue": "^3.5.26"
5858
},
5959
"devDependencies": {
60-
"@changesets/cli": "^2.29.7",
60+
"@changesets/cli": "^2.29.8",
6161
"@effect-app/cli": "^1.28.1",
6262
"@effect-app/eslint-codegen-model": "workspace:*",
6363
"@effect-app/infra": "workspace:*",
64-
"@effect/language-service": "0.55.5",
65-
"@effect/platform": "^0.93.2",
66-
"@effect/platform-node": "^0.100.0",
64+
"@effect/language-service": "0.65.0",
65+
"@effect/platform": "^0.94.1",
66+
"@effect/platform-node": "^0.104.0",
6767
"@effect/vitest": "^0.27.0",
6868
"@tsconfig/strictest": "^2.0.8",
69-
"@types/lodash": "^4.17.20",
70-
"@types/node": "24.10.1",
71-
"@typescript-eslint/eslint-plugin": "8.46.4",
72-
"@typescript-eslint/parser": "8.46.4",
73-
"@typescript-eslint/scope-manager": "8.46.4",
69+
"@types/lodash": "^4.17.23",
70+
"@types/node": "25.0.8",
71+
"@typescript-eslint/eslint-plugin": "8.53.0",
72+
"@typescript-eslint/parser": "8.53.0",
73+
"@typescript-eslint/scope-manager": "8.53.0",
7474
"@vue/eslint-config-typescript": "^14.6.0",
7575
"concurrently": "^9.2.1",
76-
"dprint": "^0.50.2",
77-
"effect": "^3.19.3",
76+
"dprint": "^0.51.1",
77+
"effect": "^3.19.14",
7878
"effect-app": "workspace:*",
79-
"enhanced-resolve": "^5.18.3",
80-
"eslint": "^9.39.1",
79+
"enhanced-resolve": "^5.18.4",
80+
"eslint": "^9.39.2",
8181
"history": "^5.3.0",
8282
"json5": "^2.2.3",
8383
"madge": "^8.0.0",
8484
"module-alias": "^2.2.3",
8585
"nodemon": "^3.1.11",
86-
"npm-check-updates": "^19.1.2",
86+
"npm-check-updates": "^19.3.1",
8787
"ts-plugin-sort-import-suggestions": "^1.0.4",
8888
"ts-transform-paths": "^3.0.0",
8989
"tsc-watch": "^7.2.0",
9090
"tsconfig-paths": "^4.2.0",
91-
"tsx": "^4.20.6",
91+
"tsx": "^4.21.0",
9292
"typescript": "~5.9.3",
93-
"unplugin-auto-import": "^20.2.0",
94-
"vite": "^7.2.2",
95-
"vitest": "^4.0.9"
93+
"unplugin-auto-import": "^21.0.0",
94+
"vite": "^7.3.1",
95+
"vitest": "^4.0.17"
9696
}
9797
}

packages/cli/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@
99
"effect-app-cli": "./bin.js"
1010
},
1111
"dependencies": {
12-
"@effect/cli": "^0.72.1",
13-
"@effect/platform-node": "^0.100.0",
12+
"@effect/cli": "^0.73.0",
13+
"@effect/platform-node": "^0.104.0",
1414
"js-yaml": "4.1.1",
1515
"node-watch": "^0.7.4"
1616
},
1717
"devDependencies": {
1818
"@types/js-yaml": "^4.0.9",
19-
"@types/node": "24.10.1",
19+
"@types/node": "25.0.8",
2020
"json5": "^2.2.3",
2121
"typescript": "~5.9.3",
22-
"vitest": "^4.0.9",
22+
"vitest": "^4.0.17",
2323
"effect-app": "workspace:*",
2424
"@effect-app/eslint-shared-config": "workspace:*"
2525
},

packages/cli/src/extract.ts

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,23 @@ export const ExtractExportMappingsService = Effect.fn("effa-cli.extractExportMap
1717
const path = yield* Path.Path
1818

1919
return Effect.fn("effa-cli.extractExportMappings.service")(function*(cwd: string) {
20+
// @effect-diagnostics-next-line effectFnOpportunity:off
2021
const findTsFiles = (dir: string): Effect.Effect<string[], PlatformError.PlatformError, never> =>
2122
Effect.gen(function*() {
2223
const entries = yield* fs.readDirectory(dir)
2324

2425
const results = yield* Effect.all(
25-
entries.map((entry) =>
26-
Effect.gen(function*() {
27-
const fullPath = path.join(dir, entry)
28-
const stat = yield* fs.stat(fullPath)
26+
entries.map(Effect.fnUntraced(function*(entry) {
27+
const fullPath = path.join(dir, entry)
28+
const stat = yield* fs.stat(fullPath)
2929

30-
if (stat.type === "Directory") {
31-
return yield* findTsFiles(fullPath)
32-
} else if (entry.endsWith(".ts") && !entry.includes(".test.")) {
33-
return [fullPath]
34-
}
35-
return []
36-
})
37-
)
30+
if (stat.type === "Directory") {
31+
return yield* findTsFiles(fullPath)
32+
} else if (entry.endsWith(".ts") && !entry.includes(".test.")) {
33+
return [fullPath]
34+
}
35+
return []
36+
}))
3837
)
3938

4039
return EffectArray.flatten(results)

packages/cli/src/gist.ts

Lines changed: 27 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ import * as yaml from "js-yaml"
99
import path from "path"
1010
import { RunCommandService } from "./os-command.js"
1111

12+
export class GistError extends Data.TaggedError("GistError")<{ message: string }> {}
13+
1214
//
1315
//
1416
// Schemas
@@ -272,8 +274,9 @@ class GHGistService extends Effect.Service<GHGistService>()("GHGistService", {
272274
},
273275
(_, company) =>
274276
_.pipe(
275-
Effect.catchTag("GistCacheNotFound", () =>
276-
Effect.gen(function*() {
277+
Effect.catchTag(
278+
"GistCacheNotFound",
279+
Effect.fnUntraced(function*() {
277280
yield* Effect.logInfo("Cache gist not found, creating new cache...")
278281

279282
yield* runGetStringSuppressed(
@@ -282,12 +285,14 @@ class GHGistService extends Effect.Service<GHGistService>()("GHGistService", {
282285

283286
// retry loading the cache after creating it
284287
return yield* loadGistCache(company, { recCache: true })
285-
}))
288+
})
289+
)
286290
),
287291
(_, company) =>
288292
_.pipe(
289-
Effect.catchTag("GistCacheOfCompanyNotFound", (e) =>
290-
Effect.gen(function*() {
293+
Effect.catchTag(
294+
"GistCacheOfCompanyNotFound",
295+
Effect.fnUntraced(function*(e) {
291296
yield* Effect.logInfo(`Cache for company ${company} not found, creating company-specific cache file...`)
292297

293298
yield* runGetStringSuppressed(
@@ -296,7 +301,8 @@ class GHGistService extends Effect.Service<GHGistService>()("GHGistService", {
296301

297302
// retry loading the cache after creating it
298303
return yield* loadGistCache(company, { recCacheCompany: true })
299-
}))
304+
})
305+
)
300306
)
301307
)
302308

@@ -501,7 +507,7 @@ class GHGistService extends Effect.Service<GHGistService>()("GHGistService", {
501507

502508
const isLogged = yield* runGetExitCode(`echo ${token} | gh auth login --with-token`).pipe(Effect.orDie)
503509
if (isLogged !== 0) {
504-
return yield* Effect.fail(new Error("Failed to log in to GitHub CLI with provided token"))
510+
return yield* new GistError({ message: "Failed to log in to GitHub CLI with provided token" })
505511
} else {
506512
yield* Effect.logInfo("Successfully logged in to GitHub CLI")
507513
}
@@ -629,7 +635,7 @@ export class GistHandler extends Effect.Service<GistHandler>()("GistHandler", {
629635

630636
const configExists = yield* fs.exists(YAMLPath)
631637
if (!configExists) {
632-
return yield* Effect.fail(new Error(`Configuration file not found: ${YAMLPath}`))
638+
return yield* new GistError({ message: `Configuration file not found: ${YAMLPath}` })
633639
}
634640

635641
const configFromYaml = yield* pipe(
@@ -671,22 +677,20 @@ export class GistHandler extends Effect.Service<GistHandler>()("GistHandler", {
671677

672678
const filesOnDiskWithFullPath = yield* Effect
673679
.all(
674-
files_with_name.map((f) =>
675-
Effect.gen(function*() {
676-
const fullPath = path.join(configFromYaml.settings.base_directory, f.path)
677-
const fileExists = yield* fs.exists(fullPath)
678-
679-
if (!fileExists) {
680-
yield* Effect.logWarning(`File not found: ${fullPath}, skipping...`)
681-
return Option.none()
682-
}
683-
684-
return Option.some({
685-
path: fullPath,
686-
name: f.name
687-
})
680+
files_with_name.map(Effect.fnUntraced(function*(f) {
681+
const fullPath = path.join(configFromYaml.settings.base_directory, f.path)
682+
const fileExists = yield* fs.exists(fullPath)
683+
684+
if (!fileExists) {
685+
yield* Effect.logWarning(`File not found: ${fullPath}, skipping...`)
686+
return Option.none()
687+
}
688+
689+
return Option.some({
690+
path: fullPath,
691+
name: f.name
688692
})
689-
),
693+
})),
690694
{
691695
concurrency: "unbounded"
692696
}

packages/cli/src/index.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,7 @@ Effect
193193
i++
194194
}
195195
})
196-
)
197-
)
198-
.pipe(
196+
),
199197
Effect.andThen(
200198
Effect.addFinalizer(() => Effect.logInfo(`Stopped monitoring child indexes in: ${watchPath}`))
201199
),
@@ -229,9 +227,7 @@ Effect
229227

230228
yield* runGetExitCode(`pnpm eslint --fix "${indexFile}"`)
231229
})
232-
)
233-
)
234-
.pipe(
230+
),
235231
Effect.andThen(
236232
Effect.addFinalizer(() =>
237233
Effect.logInfo(`Stopped monitoring root indexes in: ${watchPath} -> ${indexFile}`)

packages/effect-app/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"license": "MIT",
55
"type": "module",
66
"dependencies": {
7-
"@effect/rpc": "^0.72.1",
7+
"@effect/rpc": "^0.73.0",
88
"@tsconfig/strictest": "^2.0.8",
99
"date-fns": "^4.1.0",
1010
"nanoid": "^5.1.6",
@@ -13,21 +13,21 @@
1313
"ts-pattern": "^5.9.0",
1414
"ts-toolbelt": "^9.6.0",
1515
"uuid": "^13.0.0",
16-
"validator": "^13.15.23"
16+
"validator": "^13.15.26"
1717
},
1818
"devDependencies": {
1919
"@faker-js/faker": "^8.4.1",
20-
"@types/node": "24.10.1",
20+
"@types/node": "25.0.8",
2121
"@types/uuid": "^11.0.0",
22-
"@types/validator": "^13.15.8",
22+
"@types/validator": "^13.15.10",
2323
"@effect-app/eslint-shared-config": "workspace:*",
24-
"fast-check": "~4.3.0",
24+
"fast-check": "~4.5.3",
2525
"typescript": "~5.9.3",
26-
"vitest": "^4.0.9"
26+
"vitest": "^4.0.17"
2727
},
2828
"peerDependencies": {
29-
"@effect/platform": "^0.93.2",
30-
"effect": "^3.19.3"
29+
"@effect/platform": "^0.94.1",
30+
"effect": "^3.19.14"
3131
},
3232
"typesVersions": {
3333
"*": {

packages/eslint-codegen-model/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
"postpublish": "mv -f ./tsconfig.json.bak ./tsconfig.json && rm -f tsplus.config.json"
1515
},
1616
"dependencies": {
17-
"@babel/generator": "7.28.5",
18-
"@babel/parser": "7.28.5",
19-
"@typescript-eslint/utils": "8.46.4",
17+
"@babel/generator": "7.28.6",
18+
"@babel/parser": "7.28.6",
19+
"@typescript-eslint/utils": "8.53.0",
2020
"eslint-plugin-codegen": "0.17.0",
2121
"glob": "8.1.0",
2222
"io-ts": "2.2.22",
@@ -25,14 +25,14 @@
2525
"lodash": "4.17.21"
2626
},
2727
"peerDependencies": {
28-
"effect": "^3.19.3"
28+
"effect": "^3.19.14"
2929
},
3030
"devDependencies": {
3131
"@types/babel__generator": "7.27.0",
3232
"@types/babel__traverse": "7.28.0",
3333
"@types/glob": "8.1.0",
34-
"@types/lodash": "4.17.20",
35-
"effect": "^3.19.3",
34+
"@types/lodash": "4.17.23",
35+
"effect": "^3.19.14",
3636
"madge": "8.0.0",
3737
"typescript": "~5.9.3",
3838
"effect-app": "workspace:*",

packages/eslint-shared-config/package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -24,29 +24,29 @@
2424
},
2525
"dependencies": {
2626
"@effect-app/eslint-codegen-model": "workspace:*",
27-
"@eslint/js": "9.39.1",
28-
"@eslint/eslintrc": "3.3.1",
27+
"@eslint/js": "9.39.2",
28+
"@eslint/eslintrc": "3.3.3",
2929
"eslint-plugin-import": "2.32.0",
3030
"eslint-import-resolver-typescript": "4.4.4",
3131
"eslint-plugin-codegen": "0.17.0",
3232
"eslint-plugin-sort-destructure-keys": "2.0.0",
3333
"eslint-plugin-unused-imports": "4.3.0",
34-
"@ben_12/eslint-plugin-dprint": "1.12.0",
35-
"eslint-plugin-formatjs": "5.4.2",
34+
"@ben_12/eslint-plugin-dprint": "1.14.0",
35+
"eslint-plugin-formatjs": "6.1.0",
3636
"@vue/eslint-config-typescript": "14.6.0",
37-
"typescript-eslint": "8.46.4",
38-
"eslint-plugin-vue": "10.5.1",
39-
"dprint-plugin-malva": "0.15.0",
40-
"dprint-plugin-markup": "0.24.1",
41-
"dprint-plugin-yaml": "0.5.1",
42-
"@dprint/typescript": "0.95.12",
43-
"@eslint/compat": "1.4.1",
37+
"typescript-eslint": "8.53.0",
38+
"eslint-plugin-vue": "10.6.2",
39+
"dprint-plugin-malva": "0.15.2",
40+
"dprint-plugin-markup": "0.25.3",
41+
"dprint-plugin-yaml": "0.6.0",
42+
"@dprint/typescript": "0.95.13",
43+
"@eslint/compat": "2.0.1",
4444
"eslint-import-resolver-webpack": "0.13.10",
4545
"eslint-plugin-simple-import-sort": "12.1.1",
4646
"eslint-watch": "^8.0.0",
47-
"@typescript-eslint/eslint-plugin": "8.46.4",
48-
"@typescript-eslint/parser": "8.46.4",
49-
"@dprint/formatter": "0.4.1",
47+
"@typescript-eslint/eslint-plugin": "8.53.0",
48+
"@typescript-eslint/parser": "8.53.0",
49+
"@dprint/formatter": "0.5.1",
5050
"jsonc-parser": "3.3.1"
5151
},
5252
"bundledDependencies": [
@@ -56,8 +56,8 @@
5656
"patch-package": "^8.0.1"
5757
},
5858
"peerDependencies": {
59-
"eslint": "^9.39.1",
59+
"eslint": "^9.39.2",
6060
"typescript": "~5.9.3",
61-
"dprint": "^0.50.2"
61+
"dprint": "^0.51.1"
6262
}
6363
}

0 commit comments

Comments
 (0)