@adamaho/nopeus-tsconfig 0.3.1 → 0.3.2

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 CHANGED
@@ -57,7 +57,7 @@ diagnostics. For a Node project, combine it with `/node`:
57
57
  Install the compiler integration in the workspace that owns TypeScript:
58
58
 
59
59
  ```bash
60
- pnpm add -D -E @effect/tsgo@0.41.0
60
+ pnpm add -D -E @effect/tsgo@0.47.2
61
61
  ```
62
62
 
63
63
  Retain the project's existing preparation commands and add the compiler patch:
@@ -75,7 +75,7 @@ Run `pnpm install` after adding the preparation step. CI must run installation
75
75
  scripts before typechecking. The JSON config supplies policy; the patched
76
76
  compiler executes Effect diagnostics. An unpatched compiler does not enforce
77
77
  them. Keep TypeScript and `@effect/tsgo` on compatible versions; the tested pair
78
- is TypeScript 7.0.2 with `@effect/tsgo` 0.41.0 and Effect 4.0.0-rc.112.
78
+ is TypeScript 7.0.2 with `@effect/tsgo` 0.47.2 and Effect 4.0.0.
79
79
  Install `@types/node` when using `/node`. Vite projects using Effect combine
80
80
  `/effect` with `/vite` and install `vite`. Neither environment preset installs
81
81
  these dependencies automatically. `/node` excludes browser globals; `/vite`
@@ -96,10 +96,11 @@ option and install the React types they need.
96
96
  | `preferSucceedSomeOrNone` | Use the dedicated constructors for optional success values. |
97
97
  | `unnecessaryTypeofType` | Use named types instead of redundant schema type queries. |
98
98
 
99
- These diagnostics are errors and cause a failing `tsc` exit code. Other upstream
100
- diagnostics retain their defaults. A child config's `compilerOptions.plugins`
101
- replaces the inherited array, so preserve the Effect entry if adding another
102
- compiler plugin.
99
+ These diagnostics are errors and cause a failing `tsc` exit code. The
100
+ `unstableApiUsage` diagnostic is disabled so projects can intentionally use
101
+ unstable Effect APIs. Other upstream diagnostics retain their defaults. A child
102
+ config's `compilerOptions.plugins` replaces the inherited array, so preserve
103
+ the Effect entry if adding another compiler plugin.
103
104
 
104
105
  For editor support, run `pnpm exec effect-tsgo setup` and follow the
105
106
  [official editor instructions](https://github.com/Effect-TS/tsgo#installation).
package/effect.json CHANGED
@@ -18,7 +18,8 @@
18
18
  "floatingEffectInVitest": "error",
19
19
  "lazyEffect": "error",
20
20
  "preferSucceedSomeOrNone": "error",
21
- "unnecessaryTypeofType": "error"
21
+ "unnecessaryTypeofType": "error",
22
+ "unstableApiUsage": "off"
22
23
  }
23
24
  }
24
25
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adamaho/nopeus-tsconfig",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "Canonical base and Effect TypeScript compiler policies.",
5
5
  "license": "MIT",
6
6
  "repository": {