@effect-app/cli 1.21.1 → 1.22.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/package.json +6 -6
- package/tsconfig.json +26 -0
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect-app/cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.22.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"node-watch": "^0.7.4"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@types/node": "~24.0
|
|
15
|
+
"@types/node": "~24.1.0",
|
|
16
16
|
"json5": "^2.2.3",
|
|
17
17
|
"typescript": "^5.8.3",
|
|
18
18
|
"vitest": "^3.2.4"
|
|
@@ -57,15 +57,15 @@
|
|
|
57
57
|
],
|
|
58
58
|
"scripts": {
|
|
59
59
|
"watch": "pnpm build:tsc -w",
|
|
60
|
-
"build:tsc": "pnpm clean-dist &&
|
|
60
|
+
"build:tsc": "pnpm clean-dist && tspc --build",
|
|
61
61
|
"build": "pnpm build:tsc",
|
|
62
|
-
"watch2": "pnpm clean-dist && NODE_OPTIONS=--max-old-space-size=6144
|
|
62
|
+
"watch2": "pnpm clean-dist && NODE_OPTIONS=--max-old-space-size=6144 tspc -w",
|
|
63
63
|
"clean": "rm -rf dist",
|
|
64
64
|
"clean-dist": "sh ../../scripts/clean-dist.sh",
|
|
65
65
|
"circular": "pnpm circular:src && pnpm circular:dist",
|
|
66
66
|
"circular:src": "madge --circular --ts-config ./tsconfig.json --extensions ts ./src",
|
|
67
67
|
"circular:dist": "madge --circular --extensions js ./dist",
|
|
68
|
-
"compile": "NODE_OPTIONS=--max-old-space-size=6144
|
|
68
|
+
"compile": "NODE_OPTIONS=--max-old-space-size=6144 tspc --noEmit",
|
|
69
69
|
"lint": "NODE_OPTIONS=--max-old-space-size=6144 ESLINT_TS=1 eslint ./src",
|
|
70
70
|
"lint:watch": "ESLINT_TS=1 esw -w --changed --clear --ext ts,tsx .",
|
|
71
71
|
"autofix": "pnpm lint --fix",
|
|
@@ -74,6 +74,6 @@
|
|
|
74
74
|
"testsuite": "pnpm lint && pnpm circular && pnpm run test:run",
|
|
75
75
|
"ncu": "ncu",
|
|
76
76
|
"pub": "pnpm prepublish && npm publish --access public",
|
|
77
|
-
"prepublish": "pnpm build && cp -f ./tsconfig.json ./tsconfig.json.bak && node ../../scripts/mergeTsConfig.
|
|
77
|
+
"prepublish": "pnpm build && cp -f ./tsconfig.json ./tsconfig.json.bak && node ../../scripts/mergeTsConfig.mjs ./tsconfig.json"
|
|
78
78
|
}
|
|
79
79
|
}
|
package/tsconfig.json
CHANGED
|
@@ -15,6 +15,32 @@
|
|
|
15
15
|
"checkJs": true,
|
|
16
16
|
"esModuleInterop": true,
|
|
17
17
|
"skipLibCheck": true,
|
|
18
|
+
"plugins": [
|
|
19
|
+
{
|
|
20
|
+
"name": "ts-plugin-sort-import-suggestions",
|
|
21
|
+
"moveUpPatterns": [
|
|
22
|
+
"\\.{1,2}/",
|
|
23
|
+
"^(?:\\.\\./)+",
|
|
24
|
+
"^#",
|
|
25
|
+
"^@/",
|
|
26
|
+
"effect",
|
|
27
|
+
"^@effect/"
|
|
28
|
+
],
|
|
29
|
+
"moveDownPatterns": [
|
|
30
|
+
"^node_modules/"
|
|
31
|
+
],
|
|
32
|
+
"overrides": {
|
|
33
|
+
"effect-app": []
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "@effect/language-service",
|
|
38
|
+
"transform": "@effect/language-service/transform",
|
|
39
|
+
"diagnosticSeverity": {
|
|
40
|
+
"missingEffectServiceDependency": "error"
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
],
|
|
18
44
|
"module": "Node16",
|
|
19
45
|
"lib": [
|
|
20
46
|
"esnext"
|