Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
7 changes: 7 additions & 0 deletions .changeset/update-typescript-go-1e58c841.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@effect/tsgo": patch
---

Update the pinned `typescript-go` submodule to `1e58c8419142e35f338840dc50822c48dcc4ec1f` and refresh the local patch metadata needed to apply cleanly on that upstream revision.

Regenerate shim bindings for upstream API changes introduced by the submodule update.
5 changes: 3 additions & 2 deletions _patches/001-cmd-tsgo-main.patch
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
diff --git a/cmd/tsgo/main.go b/cmd/tsgo/main.go
index 5eabc96df..82b7bf932 100644
index a2fe02e8c..10044042c 100644
--- a/cmd/tsgo/main.go
+++ b/cmd/tsgo/main.go
@@ -3,6 +3,11 @@ package main
@@ -3,7 +3,12 @@ package main
import (
"os"

Expand All @@ -11,6 +11,7 @@ index 5eabc96df..82b7bf932 100644
+ _ "github.com/effect-ts/tsgo/etscheckerhooks" // checker diagnostics hooks
+ _ "github.com/effect-ts/tsgo/etslshooks" // LS codefix hooks
+
"github.com/microsoft/typescript-go/internal/core"
"github.com/microsoft/typescript-go/internal/execute"
)

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/* Source of truth: git submodule `typescript-go` commit.
Keep in sync via `_tools/update-flake-vendor-hash.sh`. */
typescript-go-src = {
url = "github:microsoft/typescript-go/56ab4af421576f5326e0c08be5ac67149c053618?submodules=1";
url = "github:microsoft/typescript-go/1e58c8419142e35f338840dc50822c48dcc4ec1f?submodules=1";
flake = false;
};
/* Source of truth: typescript-go's `_submodules/TypeScript` commit.
Expand Down
2 changes: 1 addition & 1 deletion shim/ast/shim.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions shim/collections/shim.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions shim/core/shim.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion typescript-go
Submodule typescript-go updated 164 files