@effect/language-service 0.75.1 → 0.77.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 +2 -0
- package/cli.js +27277 -31777
- package/cli.js.map +1 -1
- package/effect-lsp-patch-utils.js +1940 -697
- package/effect-lsp-patch-utils.js.map +1 -1
- package/index.js +2679 -2878
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/transform.js +1941 -698
- package/transform.js.map +1 -1
package/README.md
CHANGED
|
@@ -85,6 +85,7 @@ And you're done! You'll now be able to use a set of refactors and diagnostics th
|
|
|
85
85
|
- Suggest removing redundant identifier argument when it equals the tag value in `Schema.TaggedClass`, `Schema.TaggedError`, or `Schema.TaggedRequest`
|
|
86
86
|
- Suggest using `Schema.is` instead of `instanceof` for Effect Schema types
|
|
87
87
|
- Suggest using `Effect.void` instead of `Effect.succeed(undefined)` or `Effect.succeed(void 0)`
|
|
88
|
+
- Warn when using outdated Effect v3 APIs in an Effect v4 project, with guidance on the correct v4 replacement (renamed, changed, or removed APIs)
|
|
88
89
|
|
|
89
90
|
### Completions
|
|
90
91
|
|
|
@@ -112,6 +113,7 @@ And you're done! You'll now be able to use a set of refactors and diagnostics th
|
|
|
112
113
|
- Toggle between pipe styles `X.pipe(Y)` and `pipe(X, Y)`
|
|
113
114
|
- Layer Magic: Automatically compose and build layers based on service dependencies
|
|
114
115
|
- Structural Type to Schema: Convert TypeScript interfaces and type aliases to Effect Schema classes, with automatic detection and reuse of existing schemas
|
|
116
|
+
- Convert `Effect.Service` to `Context.Tag` with a static `Layer` property (supports `effect`, `scoped`, `sync`, `succeed` combinators and `dependencies`)
|
|
115
117
|
|
|
116
118
|
### Codegens
|
|
117
119
|
|