Skip to content

Commit 2f5c00a

Browse files
committed
fix: skip type checking in ts-node to fix pulumi on linux
1 parent f3bc194 commit 2f5c00a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

adapter.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ export function adapter({
7070
{
7171
envVars: {
7272
TS_NODE_IGNORE: '^(?!.*(sveltekit-adapter-aws-pulumi)).*',
73-
TS_NODE_TRANSPILE_ONLY: '1'
73+
TS_NODE_TYPE_CHECK: '0',
74+
PULUMI_NODEJS_TRANSPILE_ONLY: "true"
7475
},
7576
}
7677
)
@@ -107,7 +108,8 @@ export function adapter({
107108
const mainStack = await LocalWorkspace.createOrSelectStack(mainArgs, {
108109
envVars: {
109110
TS_NODE_IGNORE: '^(?!.*(sveltekit-adapter-aws-pulumi)).*',
110-
TS_NODE_TRANSPILE_ONLY: '1'
111+
TS_NODE_TYPE_CHECK: '0',
112+
PULUMI_NODEJS_TRANSPILE_ONLY: "true"
111113
},
112114
})
113115

0 commit comments

Comments
 (0)