@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 +7 -6
- package/effect.json +2 -1
- package/package.json +1 -1
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.
|
|
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.
|
|
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.
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
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