From 31ace812f536a9e1678f7eb7536ccd85539388eb Mon Sep 17 00:00:00 2001 From: Kevin Marrec Date: Mon, 25 May 2020 17:57:44 +0200 Subject: [PATCH 1/3] chore(deps): upgrade typescript to 3.9 --- package.json | 2 +- packages/typescript-build/package.json | 2 +- packages/typescript-build/test/fixture/nuxt.config.ts | 3 ++- packages/typescript-runtime/package.json | 2 +- yarn.lock | 8 ++++---- 5 files changed, 9 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 634ceb75..69507317 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "lerna": "latest", "nuxt-edge": "latest", "ts-jest": "latest", - "typescript": "~3.8", + "typescript": "~3.9", "vue-property-decorator": "latest" } } diff --git a/packages/typescript-build/package.json b/packages/typescript-build/package.json index 10cb4a53..ab77d273 100644 --- a/packages/typescript-build/package.json +++ b/packages/typescript-build/package.json @@ -19,7 +19,7 @@ "consola": "^2.12.1", "fork-ts-checker-webpack-plugin": "^4.1.5", "ts-loader": "^7.0.5", - "typescript": "~3.8" + "typescript": "~3.9" }, "publishConfig": { "access": "public" diff --git a/packages/typescript-build/test/fixture/nuxt.config.ts b/packages/typescript-build/test/fixture/nuxt.config.ts index c21a739e..34927493 100644 --- a/packages/typescript-build/test/fixture/nuxt.config.ts +++ b/packages/typescript-build/test/fixture/nuxt.config.ts @@ -7,7 +7,8 @@ const config: Configuration = { ], serverMiddleware: [ logger - ] + ], + telemetry: false } export default config diff --git a/packages/typescript-runtime/package.json b/packages/typescript-runtime/package.json index 7bddc091..14d8bec1 100644 --- a/packages/typescript-runtime/package.json +++ b/packages/typescript-runtime/package.json @@ -21,7 +21,7 @@ "dependencies": { "@nuxt/types": "0.7.6", "ts-node": "^8.10.1", - "typescript": "~3.8" + "typescript": "~3.9" }, "publishConfig": { "access": "public" diff --git a/yarn.lock b/yarn.lock index 86b476ba..61f25a80 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12561,10 +12561,10 @@ typedarray@^0.0.6: resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= -typescript@~3.8: - version "3.8.3" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.8.3.tgz#409eb8544ea0335711205869ec458ab109ee1061" - integrity sha512-MYlEfn5VrLNsgudQTVJeNaQFUAI7DkhnOjdpAp4T+ku1TfQClewlbSuTVHiA+8skNBgaf02TL/kLOvig4y3G8w== +typescript@~3.9: + version "3.9.3" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.3.tgz#d3ac8883a97c26139e42df5e93eeece33d610b8a" + integrity sha512-D/wqnB2xzNFIcoBG9FG8cXRDjiqSTbG2wd8DMZeQyJlP1vfTkIxH4GKveWaEBYySKIg+USu+E+EDIR47SqnaMQ== ua-parser-js@^0.7.21: version "0.7.21" From 9689d8bd3229cb05f93fee8d97ed9b2cd3fbd875 Mon Sep 17 00:00:00 2001 From: Kevin Marrec Date: Tue, 23 Jun 2020 17:00:52 +0200 Subject: [PATCH 2/3] chore: fix typo tsconfig files --- tsconfig.json | 8 ++++---- tsconfig.test.json | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 9d81d75d..8b9b118f 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,9 +1,9 @@ { "compilerOptions": { - "target": "esnext", - "lib": ["dom", "esnext"], - "module": "esnext", - "moduleResolution": "node", + "target": "ESNext", + "lib": ["DOM", "ESNext"], + "module": "ESNext", + "moduleResolution": "Node", "esModuleInterop": true, "strict": true, "noFallthroughCasesInSwitch": true, diff --git a/tsconfig.test.json b/tsconfig.test.json index 6129aaa9..b9149b3f 100644 --- a/tsconfig.test.json +++ b/tsconfig.test.json @@ -1,9 +1,9 @@ { "compilerOptions": { - "target": "esnext", - "lib": ["dom", "esnext"], - "module": "esnext", - "moduleResolution": "node", + "target": "ESNext", + "lib": ["DOM", "ESNext"], + "module": "ESNext", + "moduleResolution": "Node", "skipLibCheck": true, "esModuleInterop": true, "strict": true, From ff08de3daccb65fecf07dd45d9d601f7d25028d9 Mon Sep 17 00:00:00 2001 From: Kevin Marrec Date: Tue, 23 Jun 2020 17:16:37 +0200 Subject: [PATCH 3/3] chore: use 3.9.5 --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 90bb7f21..a5743ad9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12590,9 +12590,9 @@ typedarray@^0.0.6: integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= typescript@~3.9: - version "3.9.3" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.3.tgz#d3ac8883a97c26139e42df5e93eeece33d610b8a" - integrity sha512-D/wqnB2xzNFIcoBG9FG8cXRDjiqSTbG2wd8DMZeQyJlP1vfTkIxH4GKveWaEBYySKIg+USu+E+EDIR47SqnaMQ== + version "3.9.5" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.5.tgz#586f0dba300cde8be52dd1ac4f7e1009c1b13f36" + integrity sha512-hSAifV3k+i6lEoCJ2k6R2Z/rp/H3+8sdmcn5NrS3/3kE7+RyZXm9aqvxWqjEXHAd8b0pShatpcdMTvEdvAJltQ== ua-parser-js@^0.7.21: version "0.7.21"