diff --git a/package-lock.json b/package-lock.json index a85a8f3df..ecda214cc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -55,7 +55,7 @@ "@types/dockerode": "^3.3.20", "@types/jest": "^29.5.1", "@vue/test-utils": "^1.3.6", - "@vue/tsconfig": "^0.1.3", + "@vue/tsconfig": "^0.5.1", "@vue/vue2-jest": "^29.2.6", "autoprefixer": "^10.4.14", "babel-loader-exclude-node-modules-except": "^1.2.1", @@ -7238,19 +7238,11 @@ } }, "node_modules/@vue/tsconfig": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/@vue/tsconfig/-/tsconfig-0.1.3.tgz", - "integrity": "sha512-kQVsh8yyWPvHpb8gIc9l/HIDiiVUy1amynLNpCy8p+FoCiZXCo6fQos5/097MmnNZc9AtseDsCrfkhqCrJ8Olg==", + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/@vue/tsconfig/-/tsconfig-0.5.1.tgz", + "integrity": "sha512-VcZK7MvpjuTPx2w6blwnwZAu5/LgBUtejFOi3pPGQFXQN5Ela03FUtd2Qtg4yWGGissVL0dr6Ro1LfOFh+PCuQ==", "dev": true, - "license": "MIT", - "peerDependencies": { - "@types/node": "*" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - } - } + "license": "MIT" }, "node_modules/@vue/vue2-jest": { "version": "29.2.6", diff --git a/package.json b/package.json index f5616811e..1d4f460f0 100644 --- a/package.json +++ b/package.json @@ -92,7 +92,7 @@ "@types/dockerode": "^3.3.20", "@types/jest": "^29.5.1", "@vue/test-utils": "^1.3.6", - "@vue/tsconfig": "^0.1.3", + "@vue/tsconfig": "^0.5.1", "@vue/vue2-jest": "^29.2.6", "autoprefixer": "^10.4.14", "babel-loader-exclude-node-modules-except": "^1.2.1", diff --git a/tsconfig.json b/tsconfig.json index aa3f5efdc..0dbead9ae 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -12,11 +12,16 @@ "noImplicitAny": false, "resolveJsonModule": true }, + "vueCompilerOptions": { + "target": 2.7 + }, "ts-node": { // these options are overrides used only by ts-node // same as our --compilerOptions flag and our TS_NODE_COMPILER_OPTIONS environment variable "compilerOptions": { - "module": "commonjs" + "moduleResolution": "node", + "module": "commonjs", + "verbatimModuleSyntax": false } } } \ No newline at end of file