effect-app 4.0.0-beta.153 → 4.0.0-beta.154
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 +2 -0
- package/eslint.config.mjs +1 -1
- package/package.json +4 -4
- package/src/rpc/README.md +2 -2
- package/tsconfig.base.json +3 -3
- package/tsconfig.json.bak +2 -2
- package/tsconfig.src.json +29 -29
- package/tsconfig.test.json +2 -2
package/CHANGELOG.md
CHANGED
package/eslint.config.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "effect-app",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.154",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"dependencies": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"fast-check": "~4.7.0",
|
|
23
23
|
"typescript": "npm:@typescript/native-preview@beta",
|
|
24
24
|
"vitest": "^4.1.5",
|
|
25
|
-
"@effect-app/eslint-shared-config": "0.6.0-beta.
|
|
25
|
+
"@effect-app/eslint-shared-config": "0.6.0-beta.15"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"effect": "^4.0.0-beta.56"
|
|
@@ -307,9 +307,9 @@
|
|
|
307
307
|
"circular:src": "madge --circular --ts-config ./tsconfig.json --extensions ts ./src",
|
|
308
308
|
"circular:dist": "madge --circular --extensions js ./dist",
|
|
309
309
|
"compile": "NODE_OPTIONS=--max-old-space-size=6144 tsgo --noEmit",
|
|
310
|
-
"lint": "oxlint ./src && NODE_OPTIONS=--max-old-space-size=6144 ESLINT_TS=1 eslint ./src",
|
|
310
|
+
"lint": "oxlint ./src && NODE_OPTIONS=--max-old-space-size=6144 ESLINT_TS=1 eslint ./src && pnpm exec dprint check --config ../../dprint.jsonc .",
|
|
311
311
|
"lint:watch": "ESLINT_TS=1 esw -w --changed --clear --ext ts,tsx .",
|
|
312
|
-
"lint-fix": "oxlint --fix ./src && NODE_OPTIONS=--max-old-space-size=6144 ESLINT_TS=1 eslint --fix ./src",
|
|
312
|
+
"lint-fix": "oxlint --fix ./src && NODE_OPTIONS=--max-old-space-size=6144 ESLINT_TS=1 eslint --fix ./src && pnpm exec dprint fmt --config ../../dprint.jsonc .",
|
|
313
313
|
"test": "vitest",
|
|
314
314
|
"test:run": "pnpm run test run --passWithNoTests",
|
|
315
315
|
"testsuite": "pnpm lint && pnpm circular && pnpm run test:run",
|
package/src/rpc/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
The extensions use V4 format of RPC middleware:
|
|
4
4
|
|
|
5
5
|
- supports `requires` besides `provides`
|
|
6
|
-
- `requires` and `provides`
|
|
6
|
+
- `requires` and `provides` should be set as second generic argument: `Tag<Self, Config>`.
|
|
7
7
|
- `wrap: true` is the default, there is no classic `provides: Tag`
|
|
8
8
|
|
|
9
9
|
## Features
|
|
@@ -34,7 +34,7 @@ NOTE: perhaps not as useful anymore if support for dynamic middleware gets integ
|
|
|
34
34
|
|
|
35
35
|
## Examples
|
|
36
36
|
|
|
37
|
-
See
|
|
37
|
+
See [tests](../../../infra/test/rpc-multi-middleware.test.ts)
|
|
38
38
|
|
|
39
39
|
## Future
|
|
40
40
|
|
package/tsconfig.base.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
],
|
|
8
8
|
"target": "ES2022",
|
|
9
9
|
// inline source maps stay better in sync with the source, which should aid with watchers.
|
|
10
|
-
//"sourceMap": true,
|
|
10
|
+
// "sourceMap": true,
|
|
11
11
|
"inlineSourceMap": true,
|
|
12
12
|
"incremental": true,
|
|
13
13
|
"composite": true,
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"**/.git",
|
|
41
41
|
"**/.data",
|
|
42
42
|
"**/.logs",
|
|
43
|
-
"**/.*"
|
|
43
|
+
"**/.*"
|
|
44
44
|
],
|
|
45
45
|
"excludeFiles": [
|
|
46
46
|
"**/*.tmp",
|
|
@@ -56,4 +56,4 @@
|
|
|
56
56
|
"**/dist",
|
|
57
57
|
"**/.*"
|
|
58
58
|
]
|
|
59
|
-
}
|
|
59
|
+
}
|
package/tsconfig.json.bak
CHANGED
package/tsconfig.src.json
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
],
|
|
7
|
-
"tsBuildInfoFile": "./dist/.tsbuildinfo",
|
|
8
|
-
"esModuleInterop": true,
|
|
9
|
-
"rootDir": "./src",
|
|
10
|
-
// keep in here, cause madge can't detect it from extended tsconfig
|
|
11
|
-
"moduleResolution": "Node16",
|
|
12
|
-
"outDir": "./dist"
|
|
13
|
-
},
|
|
14
|
-
"include": [
|
|
15
|
-
"./src/**/*.ts"
|
|
2
|
+
"extends": "../../tsconfig.base.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"lib": [
|
|
5
|
+
"esnext"
|
|
16
6
|
],
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
"
|
|
31
|
-
|
|
7
|
+
"tsBuildInfoFile": "./dist/.tsbuildinfo",
|
|
8
|
+
"esModuleInterop": true,
|
|
9
|
+
"rootDir": "./src",
|
|
10
|
+
// keep in here, cause madge can't detect it from extended tsconfig
|
|
11
|
+
"moduleResolution": "Node16",
|
|
12
|
+
"outDir": "./dist"
|
|
13
|
+
},
|
|
14
|
+
"include": [
|
|
15
|
+
"./src/**/*.ts"
|
|
16
|
+
],
|
|
17
|
+
"exclude": [
|
|
18
|
+
"./dist",
|
|
19
|
+
"*.test.ts",
|
|
20
|
+
"node_modules",
|
|
21
|
+
"build",
|
|
22
|
+
"lib",
|
|
23
|
+
"dist",
|
|
24
|
+
"**/*.d.ts.map",
|
|
25
|
+
".git",
|
|
26
|
+
".data",
|
|
27
|
+
"**/.*",
|
|
28
|
+
"**/*.tmp"
|
|
29
|
+
],
|
|
30
|
+
"references": []
|
|
31
|
+
}
|
package/tsconfig.test.json
CHANGED