@effected/tsconfig-json 0.4.1 → 0.6.0
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/README.md +1 -1
- package/TsconfigJson.js +1 -1
- package/TsconfigLoader.js +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
Composable tsconfig.json handling for Effect: document and compiler-option schemas, `extends`-chain resolution with tsc's own merge semantics, nearest-config discovery and a portable-config filter for virtual TypeScript environments. Every parse is JSONC — comments and trailing commas are legal everywhere, exactly as tsc treats them — and options the schemas do not know pass through decode and encode untouched instead of being dropped.
|
|
9
9
|
|
|
10
10
|
> **Pre-release.** This package is part of the `@effected/*` kit, in pre-`1.0.0`
|
|
11
|
-
> development against a single pinned Effect v4
|
|
11
|
+
> development against a single pinned Effect v4 prerelease. Packages graduate to
|
|
12
12
|
> `1.0.0` once Effect `4.0.0` ships. To hold your own `effect` versions at
|
|
13
13
|
> exactly the ones the kit is built and tested against, install
|
|
14
14
|
> [`@effected/pnpm-plugin-effect`](https://www.npmjs.com/package/@effected/pnpm-plugin-effect).
|
package/TsconfigJson.js
CHANGED
|
@@ -107,7 +107,7 @@ const TsconfigJsonFromString = Jsonc.schema(TsconfigJson);
|
|
|
107
107
|
*
|
|
108
108
|
* @public
|
|
109
109
|
*/
|
|
110
|
-
var TsconfigParseError = class extends Schema.
|
|
110
|
+
var TsconfigParseError = class extends Schema.TaggedError()("TsconfigParseError", {
|
|
111
111
|
/** The file path that failed to parse, or `""` when not file-bound. */
|
|
112
112
|
path: Schema.String,
|
|
113
113
|
/** The underlying decode failure. */
|
package/TsconfigLoader.js
CHANGED
|
@@ -21,7 +21,7 @@ const MAX_EXTENDS_DEPTH = 32;
|
|
|
21
21
|
*
|
|
22
22
|
* @public
|
|
23
23
|
*/
|
|
24
|
-
var TsconfigExtendsError = class extends Schema.
|
|
24
|
+
var TsconfigExtendsError = class extends Schema.TaggedError()("TsconfigExtendsError", {
|
|
25
25
|
/** The config whose `extends` could not be resolved. */
|
|
26
26
|
path: Schema.String,
|
|
27
27
|
/** The target that failed: the spec, the re-entered path, or the refused path. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effected/tsconfig-json",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Composable tsconfig.json handling for Effect: schemas, extends-chain resolution, and config discovery.",
|
|
6
6
|
"keywords": [
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
"./package.json": "./package.json"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"@effected/jsonc": "^0.
|
|
43
|
-
"@effected/walker": "^0.
|
|
44
|
-
"effect": "4.0.0-
|
|
42
|
+
"@effected/jsonc": "^0.7.0",
|
|
43
|
+
"@effected/walker": "^0.5.0",
|
|
44
|
+
"effect": "4.0.0-rc.109"
|
|
45
45
|
},
|
|
46
46
|
"engines": {
|
|
47
47
|
"node": ">=24.11.0"
|