From 5c39311f9639543fe1dd2a67ec5aff757bb830eb Mon Sep 17 00:00:00 2001 From: bjorn3 Date: Sat, 1 Feb 2020 13:39:04 +0100 Subject: Fix seedrandom in packaged extension Fixes #2971 --- editors/code/tsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'editors/code/tsconfig.json') diff --git a/editors/code/tsconfig.json b/editors/code/tsconfig.json index e60eb8e5e..1ea433961 100644 --- a/editors/code/tsconfig.json +++ b/editors/code/tsconfig.json @@ -13,7 +13,8 @@ "noUnusedParameters": true, "noImplicitReturns": true, "noFallthroughCasesInSwitch": true, - "newLine": "LF" + "newLine": "LF", + "esModuleInterop": true, }, "exclude": [ "node_modules" -- cgit v1.2.3 From f08297983faac35e0b0fd475bc935ba0bc0726cb Mon Sep 17 00:00:00 2001 From: Veetaha Date: Sat, 1 Feb 2020 23:11:39 +0200 Subject: vscode: moved tslib to runtime dependencies and added \"importHelpers\": true --- editors/code/tsconfig.json | 1 + 1 file changed, 1 insertion(+) (limited to 'editors/code/tsconfig.json') diff --git a/editors/code/tsconfig.json b/editors/code/tsconfig.json index 1ea433961..1e17e4510 100644 --- a/editors/code/tsconfig.json +++ b/editors/code/tsconfig.json @@ -15,6 +15,7 @@ "noFallthroughCasesInSwitch": true, "newLine": "LF", "esModuleInterop": true, + "importHelpers": true }, "exclude": [ "node_modules" -- cgit v1.2.3 From 8f25408a12b0325f555b6110b973176e612706ca Mon Sep 17 00:00:00 2001 From: Veetaha Date: Mon, 3 Feb 2020 10:50:19 +0200 Subject: vscode: fix bundling by switching to es2015 target modules system --- editors/code/tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editors/code/tsconfig.json') diff --git a/editors/code/tsconfig.json b/editors/code/tsconfig.json index 1e17e4510..1740abb2e 100644 --- a/editors/code/tsconfig.json +++ b/editors/code/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "module": "commonjs", + "module": "es2015", "target": "es2018", "outDir": "out", "lib": [ -- cgit v1.2.3 From ae42cfefbfd773161a2c55ec33c025f0947143d4 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 3 Feb 2020 13:54:12 +0100 Subject: Fix build of typscript extension --- editors/code/tsconfig.json | 1 + 1 file changed, 1 insertion(+) (limited to 'editors/code/tsconfig.json') diff --git a/editors/code/tsconfig.json b/editors/code/tsconfig.json index 1740abb2e..42130c5e1 100644 --- a/editors/code/tsconfig.json +++ b/editors/code/tsconfig.json @@ -1,5 +1,6 @@ { "compilerOptions": { + "moduleResolution": "node", "module": "es2015", "target": "es2018", "outDir": "out", -- cgit v1.2.3 From 30f7e6590a37ef76ac53df665b54dade9aeece7d Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 3 Feb 2020 14:57:14 +0100 Subject: Remove recent improvements to the build script tslib as a dev dependency and commonjs modules are definitely *wrong* in the ideal world, **but** in the real world that's the only combination that works. See https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Fwg-rls-2.2E0/topic/Problems.20with.20TypeScript.20build --- editors/code/tsconfig.json | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'editors/code/tsconfig.json') diff --git a/editors/code/tsconfig.json b/editors/code/tsconfig.json index 42130c5e1..d74169c29 100644 --- a/editors/code/tsconfig.json +++ b/editors/code/tsconfig.json @@ -1,7 +1,6 @@ { "compilerOptions": { - "moduleResolution": "node", - "module": "es2015", + "module": "commonjs", "target": "es2018", "outDir": "out", "lib": [ @@ -15,8 +14,7 @@ "noImplicitReturns": true, "noFallthroughCasesInSwitch": true, "newLine": "LF", - "esModuleInterop": true, - "importHelpers": true + "esModuleInterop": true }, "exclude": [ "node_modules" -- cgit v1.2.3 From ad57726f9181d7b80d217d7bf1b6cdca282d0982 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 3 Feb 2020 16:37:12 +0100 Subject: Use simple prng instead of a dependency closes #2999 --- editors/code/tsconfig.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'editors/code/tsconfig.json') diff --git a/editors/code/tsconfig.json b/editors/code/tsconfig.json index d74169c29..e60eb8e5e 100644 --- a/editors/code/tsconfig.json +++ b/editors/code/tsconfig.json @@ -13,8 +13,7 @@ "noUnusedParameters": true, "noImplicitReturns": true, "noFallthroughCasesInSwitch": true, - "newLine": "LF", - "esModuleInterop": true + "newLine": "LF" }, "exclude": [ "node_modules" -- cgit v1.2.3 From 5d88c1db38200896d2e4af7836fec95097adf509 Mon Sep 17 00:00:00 2001 From: Veetaha Date: Sat, 8 Feb 2020 04:22:44 +0200 Subject: vscode: amended config to use binary from globalStoragePath, added ui for downloading --- editors/code/tsconfig.json | 2 ++ 1 file changed, 2 insertions(+) (limited to 'editors/code/tsconfig.json') diff --git a/editors/code/tsconfig.json b/editors/code/tsconfig.json index e60eb8e5e..0c7702974 100644 --- a/editors/code/tsconfig.json +++ b/editors/code/tsconfig.json @@ -6,6 +6,8 @@ "lib": [ "es2019" ], + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, "sourceMap": true, "rootDir": "src", "strict": true, -- cgit v1.2.3