All checks were successful
Lint / lint (push) Successful in 12s
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [@effect/language-service](https://github.com/Effect-TS/language-service) | [`^0.58.0` -> `^0.59.0`](https://renovatebot.com/diffs/npm/@effect%2flanguage-service/0.58.4/0.59.0) |  |  | --- ### Release Notes <details> <summary>Effect-TS/language-service (@​effect/language-service)</summary> ### [`v0.59.0`](https://github.com/Effect-TS/language-service/blob/HEAD/CHANGELOG.md#0590) [Compare Source](https://github.com/Effect-TS/language-service/compare/v0.58.4...v0.59.0) ##### Minor Changes - [#​518](https://github.com/Effect-TS/language-service/pull/518) [`660549d`](660549d2c0) Thanks [@​mattiamanzati](https://github.com/mattiamanzati)! - Add new `schemaStructWithTag` diagnostic that suggests using `Schema.TaggedStruct` instead of `Schema.Struct` when a `_tag` field with `Schema.Literal` is present. This makes the tag optional in the constructor, improving the developer experience. Example: ```typescript // Before (triggers diagnostic) export const User = Schema.Struct({ _tag: Schema.Literal("User"), name: Schema.String, age: Schema.Number, }); // After (applying quick fix) export const User = Schema.TaggedStruct("User", { name: Schema.String, age: Schema.Number, }); ``` The diagnostic includes a quick fix that automatically converts the `Schema.Struct` call to `Schema.TaggedStruct`, extracting the tag value and removing the `_tag` property from the fields. ##### Patch Changes - [#​521](https://github.com/Effect-TS/language-service/pull/521) [`61f28ba`](61f28babbd) Thanks [@​mattiamanzati](https://github.com/mattiamanzati)! - Fix auto-completion for directly imported Effect APIs. Completions now work when using direct imports like `import { Service } from "effect/Effect"` instead of only working with fully qualified names like `Effect.Service`. This fix applies to: - `Effect.Service` and `Effect.Tag` from `effect/Effect` - `Schema.Class`, `Schema.TaggedError`, `Schema.TaggedClass`, and `Schema.TaggedRequest` from `effect/Schema` - `Data.TaggedError` and `Data.TaggedClass` from `effect/Data` - `Context.Tag` from `effect/Context` Example: ```typescript // Now works with direct imports import { Service } from "effect/Effect" export class MyService extends Service // ✓ Completion available // Still works with fully qualified names import * as Effect from "effect/Effect" export class MyService extends Effect.Service // ✓ Completion available ``` Fixes [#​394](https://github.com/Effect-TS/language-service/issues/394) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi4zMi4xIiwidXBkYXRlZEluVmVyIjoiNDIuMzIuMSIsInRhcmdldEJyYW5jaCI6Im5leHQiLCJsYWJlbHMiOltdfQ==--> Reviewed-on: https://git.valverde.cloud/Thilawyn/effect-fc/pulls/27 Co-authored-by: Renovate Bot <renovate-bot@valverde.cloud> Co-committed-by: Renovate Bot <renovate-bot@valverde.cloud>
27 lines
663 B
JSON
27 lines
663 B
JSON
{
|
|
"name": "@effect-fc/monorepo",
|
|
"packageManager": "bun@1.3.3",
|
|
"private": true,
|
|
"workspaces": [
|
|
"./packages/*"
|
|
],
|
|
"scripts": {
|
|
"build": "turbo build",
|
|
"lint:tsc": "turbo lint:tsc",
|
|
"lint:biome": "turbo lint:biome",
|
|
"pack": "turbo pack",
|
|
"clean:cache": "turbo clean:cache",
|
|
"clean:dist": "turbo clean:dist",
|
|
"clean:modules": "turbo clean:modules && rm -rf node_modules"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "^2.3.8",
|
|
"@effect/language-service": "^0.59.0",
|
|
"@types/bun": "^1.3.3",
|
|
"npm-check-updates": "^19.1.2",
|
|
"npm-sort": "^0.0.4",
|
|
"turbo": "^2.6.1",
|
|
"typescript": "^5.9.3"
|
|
}
|
|
}
|