Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
1956eae
chore: update generated/latest
github-actions[bot] Aug 6, 2026
ca69e07
chore: update generated/latest
github-actions[bot] Aug 6, 2026
fc9500e
chore: update generated/latest
github-actions[bot] Aug 6, 2026
9483d61
chore: update generated/latest
github-actions[bot] Aug 7, 2026
30c71e3
chore: update generated/latest
github-actions[bot] Aug 7, 2026
3e58809
chore: update generated/latest
github-actions[bot] Aug 7, 2026
78c3531
chore: update generated/latest
github-actions[bot] Aug 7, 2026
b10575f
chore: update generated/latest
github-actions[bot] Aug 7, 2026
172e583
chore: update generated/latest
github-actions[bot] Aug 7, 2026
f38ad4d
chore: update generated/latest
github-actions[bot] Aug 8, 2026
9c5582f
chore: update generated/latest
github-actions[bot] Aug 8, 2026
972fe0a
chore: update generated/latest
github-actions[bot] Aug 9, 2026
fbdc666
chore: update generated/latest
github-actions[bot] Aug 9, 2026
81b0e36
chore: update generated/latest
github-actions[bot] Aug 9, 2026
2eccd1e
chore: update generated/latest
github-actions[bot] Aug 9, 2026
eda09d7
chore: update generated/latest
github-actions[bot] Aug 9, 2026
c64a2ee
chore: update generated/latest
github-actions[bot] Aug 9, 2026
6a00b9f
chore: update generated/latest
github-actions[bot] Aug 10, 2026
f3a394f
chore: update generated/latest
github-actions[bot] Aug 10, 2026
7417b66
chore: update generated/latest
github-actions[bot] Aug 10, 2026
0e41adc
chore: update generated/latest
github-actions[bot] Aug 10, 2026
c88d7eb
chore: update generated/latest
github-actions[bot] Aug 10, 2026
7d9e9fb
chore: update generated/latest
github-actions[bot] Aug 10, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/cache-generated-shims.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/non-interactive-setup.md

This file was deleted.

8 changes: 6 additions & 2 deletions .github/workflows/update-upstreams.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,22 @@ jobs:

- name: Update upstream metadata
id: upstream
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: pnpm exec repoctl upstream update

- name: Open metadata update pull request
id: generated
if: steps.upstream.outputs.has_changes == 'true'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_BODY: ${{ steps.upstream.outputs.description }}
run: |
pnpm exec repoctl github open-pr-if-changed \
--base main \
--head update-upstreams \
--title 'chore: update upstreams' \
--body 'Automated update of TypeScript-Go upstream component tags.' \
--body "$PR_BODY" \
--commit-message 'chore: update upstream metadata' \
--check generation_check_id='Generate TypeScript next tag'

Expand Down Expand Up @@ -85,12 +88,13 @@ jobs:
if: steps.upstream.outputs.has_changes == 'true'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_BODY: ${{ steps.upstream.outputs.description }}
run: |
pnpm exec repoctl github open-pr-if-changed \
--base main \
--head update-upstreams \
--title 'chore: update upstreams' \
--body 'Automated update of upstream metadata, generated TypeScript next-tag sources, and Nix inputs.' \
--body "$PR_BODY" \
--commit-message 'chore: generate TypeScript next tag' \
--check validation_check_id='Validate TypeScript next tag'

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/validate-oxlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ jobs:
--version "${{ matrix.oxlint.version }}"
--target linux-x64

- name: Build @effect/tsgo package
run: pnpm --filter @effect/tsgo build

- name: Smoke test Oxlint runtime
env:
TSGOLINT_PATH: ${{ steps.tsgolint.outputs.artifact_path }}
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,13 @@ jobs:
if: matrix.repoctl
run: pnpm run check:repoctl && pnpm run test:repoctl

- name: Install golangci-lint
if: matrix.repoctl
run: go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.9.0

- name: Lint
if: matrix.repoctl
run: pnpm lint

- name: Test
run: pnpm exec repoctl test
192 changes: 96 additions & 96 deletions README.md

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions _packages/tsgo-darwin-arm64/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @effect/tsgo-darwin-arm64

## 0.36.4

## 0.36.3

## 0.36.2

## 0.36.1

## 0.36.0

## 0.35.0

## 0.34.0

## 0.33.0

## 0.32.1
Expand Down
2 changes: 1 addition & 1 deletion _packages/tsgo-darwin-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@effect/tsgo-darwin-arm64",
"version": "0.33.0",
"version": "0.36.4",
"description": "Effect Language Service for TypeScript-Go — Effect-specific diagnostics and hover features.",
"license": "MIT",
"repository": {
Expand Down
14 changes: 14 additions & 0 deletions _packages/tsgo-darwin-x64/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @effect/tsgo-darwin-x64

## 0.36.4

## 0.36.3

## 0.36.2

## 0.36.1

## 0.36.0

## 0.35.0

## 0.34.0

## 0.33.0

## 0.32.1
Expand Down
2 changes: 1 addition & 1 deletion _packages/tsgo-darwin-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@effect/tsgo-darwin-x64",
"version": "0.33.0",
"version": "0.36.4",
"description": "Effect Language Service for TypeScript-Go — Effect-specific diagnostics and hover features.",
"license": "MIT",
"repository": {
Expand Down
14 changes: 14 additions & 0 deletions _packages/tsgo-linux-arm/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @effect/tsgo-linux-arm

## 0.36.4

## 0.36.3

## 0.36.2

## 0.36.1

## 0.36.0

## 0.35.0

## 0.34.0

## 0.33.0

## 0.32.1
Expand Down
2 changes: 1 addition & 1 deletion _packages/tsgo-linux-arm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@effect/tsgo-linux-arm",
"version": "0.33.0",
"version": "0.36.4",
"description": "Effect Language Service for TypeScript-Go — Effect-specific diagnostics and hover features.",
"license": "MIT",
"repository": {
Expand Down
14 changes: 14 additions & 0 deletions _packages/tsgo-linux-arm64/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @effect/tsgo-linux-arm64

## 0.36.4

## 0.36.3

## 0.36.2

## 0.36.1

## 0.36.0

## 0.35.0

## 0.34.0

## 0.33.0

## 0.32.1
Expand Down
2 changes: 1 addition & 1 deletion _packages/tsgo-linux-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@effect/tsgo-linux-arm64",
"version": "0.33.0",
"version": "0.36.4",
"description": "Effect Language Service for TypeScript-Go — Effect-specific diagnostics and hover features.",
"license": "MIT",
"repository": {
Expand Down
14 changes: 14 additions & 0 deletions _packages/tsgo-linux-x64/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @effect/tsgo-linux-x64

## 0.36.4

## 0.36.3

## 0.36.2

## 0.36.1

## 0.36.0

## 0.35.0

## 0.34.0

## 0.33.0

## 0.32.1
Expand Down
2 changes: 1 addition & 1 deletion _packages/tsgo-linux-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@effect/tsgo-linux-x64",
"version": "0.33.0",
"version": "0.36.4",
"description": "Effect Language Service for TypeScript-Go — Effect-specific diagnostics and hover features.",
"license": "MIT",
"repository": {
Expand Down
14 changes: 14 additions & 0 deletions _packages/tsgo-win32-arm64/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @effect/tsgo-win32-arm64

## 0.36.4

## 0.36.3

## 0.36.2

## 0.36.1

## 0.36.0

## 0.35.0

## 0.34.0

## 0.33.0

## 0.32.1
Expand Down
2 changes: 1 addition & 1 deletion _packages/tsgo-win32-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@effect/tsgo-win32-arm64",
"version": "0.33.0",
"version": "0.36.4",
"description": "Effect Language Service for TypeScript-Go — Effect-specific diagnostics and hover features.",
"license": "MIT",
"repository": {
Expand Down
14 changes: 14 additions & 0 deletions _packages/tsgo-win32-x64/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @effect/tsgo-win32-x64

## 0.36.4

## 0.36.3

## 0.36.2

## 0.36.1

## 0.36.0

## 0.35.0

## 0.34.0

## 0.33.0

## 0.32.1
Expand Down
2 changes: 1 addition & 1 deletion _packages/tsgo-win32-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@effect/tsgo-win32-x64",
"version": "0.33.0",
"version": "0.36.4",
"description": "Effect Language Service for TypeScript-Go — Effect-specific diagnostics and hover features.",
"license": "MIT",
"repository": {
Expand Down
1 change: 1 addition & 0 deletions _packages/tsgo/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ dist/
node_modules/
README.md
oxlint-schema.json
oxlint-presets/
schema.json
65 changes: 65 additions & 0 deletions _packages/tsgo/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,70 @@
# @effect/tsgo

## 0.36.4

### Patch Changes

- 7a616ec: Allow declaration emit with `noEmitOnError` when all diagnostics are ignored Effect diagnostics.

## 0.36.3

### Patch Changes

- 73f7f28: Refresh patched binaries when an updated `@effect/tsgo` package provides a different replacement artifact.
- 9190801: Update Effect v4 dependencies and embedded test fixtures to `4.0.0-beta.107`.

## 0.36.2

### Patch Changes

- 8362acc: Extend the walker-rule prefilter to call expressions.

A call expression's type is its resolved signature's return type, and both the signature and that return type are already cached from the main check phase. `NodeCouldBeStrictEffect` now consults them for call nodes and skips the expensive flow-analysis re-check when the declared return type conclusively cannot be a strict Effect. Signature-less calls, optional chains, and every inconclusive return type stay conservative, and `promiseInEffectSuccess` no longer computes a location type for calls only to discard it. Emitted diagnostics are unchanged; on a large Effect monorepo build this removes a further ~4.6% of wall time on top of the reference-node prefilter, bringing the total Effect diagnostics overhead versus a pristine tsgo build of the same commit down to ~17%.
- 9020153: Skip diagnostic rules below the minimum visible severity before executing them.

In `tsc` CLI mode without `includeSuggestionsInTsc`, suggestion- and message-severity diagnostics are dropped from the output after rules run. The rule runner now receives the minimum severity the caller can surface and skips such rules up front, avoiding their type-checker queries entirely. A rule below the threshold still runs when any directive in the file references it (for example `// @effect-diagnostics ruleName:error` or a wildcard), since directives can raise its severity and must be tracked for `unusedDirective` reporting. Emitted diagnostics are unchanged; on a large Effect monorepo build this removes roughly 1–2s of check time.
- 257af25: Skip flow-analysis type queries for references that conclusively cannot be an Effect.

The `effectInFailure` and `promiseInEffectSuccess` rules walk every node of a file and query its flow type just to test whether it is a strict Effect type. The new `TypeParser.NodeCouldBeStrictEffect` prefilter inspects the referenced symbol's declared type first — flow narrowing can only refine the declared type, so a declared type that conclusively contains no possibly-Effect constituent (primitives, plain objects with a different type name, unions thereof) can never produce a strict Effect flow type, and the expensive query is skipped. The predicate is conservative: `any`/`unknown`, type parameters, conditionals, symbol-less types, and deep unions always fall through to the full query. Emitted diagnostics are unchanged; on a large Effect monorepo build this removes ~10% of build wall time (~2.7s of ~26.8s).

## 0.36.1

### Patch Changes

- 4db1d4b: Preserve existing indentation and newline styles when setup updates JSON configuration files.
- c154a04: Update the TypeScript next tag to [`typescript@next`](https://www.npmjs.com/package/typescript/v/7.1.0-dev.20260808.1), which ships [`typescript-go`](https://github.com/microsoft/typescript-go/commit/24fabe95acba758c05fcb349bf427a3a0c8ad676) commit `24fabe95acba758c05fcb349bf427a3a0c8ad676`, and update the TypeScript latest tag to [`typescript@latest`](https://www.npmjs.com/package/typescript/v/7.0.2).

## 0.36.0

### Minor Changes

- 8423f68: Add recommended and category-specific shared configurations for Oxlint.

## 0.35.0

### Minor Changes

- f25821b: Generate detailed upstream update pull request descriptions with explicit version changes and the TypeScript-Go commits introduced by the update.

### Patch Changes

- 3fe06c8: Avoid false positive TS2731 diagnostics for symbol-valued interpolations in tagged template literals when Effect diagnostic rules traverse the template expression.
- 989964b: Prevent `preferTypedSchemaDecoder` from panicking when a decoder input is produced by a preceding call or pipe transformation.
- 86c30b1: Persist Effect plugin options in TypeScript build information so incremental builds recheck semantic diagnostics when extended tsconfig plugin settings change.
- b8e7314: Update the TypeScript next tag to [`typescript@next`](https://www.npmjs.com/package/typescript/v/7.1.0-dev.20260806.1), which ships [`typescript-go`](https://github.com/microsoft/typescript-go/commit/86cc4767d4ebadb9b7845d0ab8eb2b05785c3fee) commit `86cc4767d4ebadb9b7845d0ab8eb2b05785c3fee`, and update the TypeScript latest tag to [`typescript@latest`](https://www.npmjs.com/package/typescript/v/7.0.2).

## 0.34.0

### Minor Changes

- 974513e: Add a non-interactive `setup` workflow with explicit project, integration, diagnostic, editor, preview, and apply options. Setup now also recommends running the package manager install command whenever it changes `package.json`.

### Patch Changes

- ba4ec9a: Cache generated TypeScript-Go shims by their effective inputs during local repository setup and CI runs.
- 6d0ffda: Remove unused internal helpers and add dead-code analysis to the repository lint workflow.
- 892021a: Use absolute GitHub URLs for links in the published README so documentation links remain clickable on npm.

## 0.33.0

### Minor Changes
Expand Down
16 changes: 12 additions & 4 deletions _packages/tsgo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@effect/tsgo",
"version": "0.33.0",
"version": "0.36.4",
"type": "module",
"description": "Effect Language Service for TypeScript-Go — Effect-specific diagnostics and hover features.",
"license": "MIT",
Expand Down Expand Up @@ -31,12 +31,20 @@
"./lib/getExePath": {
"types": "./lib/getExePath.d.ts",
"default": "./lib/getExePath.js"
},
"./oxlint-presets": {
"types": "./oxlint-presets/index.d.ts",
"default": "./oxlint-presets/index.js"
},
"./oxlint-presets/*.json": {
"default": "./oxlint-presets/*.json"
}
},
"files": [
"dist/",
"lib/",
"README.md",
"oxlint-presets/",
"oxlint-schema.json",
"schema.json"
],
Expand All @@ -50,12 +58,12 @@
"@effect/tsgo-darwin-arm64": "workspace:*"
},
"devDependencies": {
"@effect/platform-node": "^4.0.0-beta.104",
"@effect/platform-node-shared": "^4.0.0-beta.104",
"@effect/platform-node": "^4.0.0-beta.107",
"@effect/platform-node-shared": "^4.0.0-beta.107",
"@types/node": "^24.3.0",
"tsdown": "^0.20.1",
"typescript": "^5.9.2",
"effect": "^4.0.0-beta.104",
"effect": "^4.0.0-beta.107",
"vitest": "^3.2.1"
}
}
Loading