@dword-design/base-config-nuxt-module 2.0.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +5 -3
- package/package.json +15 -13
package/dist/index.js
CHANGED
|
@@ -44,9 +44,11 @@ export default function (config) {
|
|
|
44
44
|
cwd: this.cwd,
|
|
45
45
|
stderr: options.stderr
|
|
46
46
|
});
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
47
|
+
const tsconfig = await fs.readJson(pathLib.join(this.cwd, "tsconfig.json"));
|
|
48
|
+
let nuxtTsconfig = await fs.readJson(pathLib.join(this.cwd, ".nuxt", "tsconfig.json"));
|
|
49
|
+
nuxtTsconfig = omit(nuxtTsconfig, ["compilerOptions.noEmit"]);
|
|
50
|
+
nuxtTsconfig.compilerOptions.strict = !!tsconfig.compilerOptions.strict;
|
|
51
|
+
await fs.outputFile(pathLib.join(this.cwd, ".nuxt", "tsconfig.json"), JSON.stringify(nuxtTsconfig, void 0, 2));
|
|
50
52
|
},
|
|
51
53
|
packageConfig: getPackageConfig({
|
|
52
54
|
cwd: this.cwd,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dword-design/base-config-nuxt-module",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"repository": "dword-design/base-config-nuxt-module",
|
|
5
5
|
"funding": "https://github.com/sponsors/dword-design",
|
|
6
6
|
"license": "MIT",
|
|
@@ -26,29 +26,31 @@
|
|
|
26
26
|
"lint": "base lint",
|
|
27
27
|
"prepare": "base prepare",
|
|
28
28
|
"prepublishOnly": "base prepublishOnly",
|
|
29
|
-
"test": "base test"
|
|
29
|
+
"test": "base test",
|
|
30
|
+
"typecheck": "base typecheck",
|
|
31
|
+
"verify": "base verify"
|
|
30
32
|
},
|
|
31
33
|
"dependencies": {
|
|
32
|
-
"@dword-design/base-config-node": "^
|
|
33
|
-
"@nuxt/eslint-config": "^1.
|
|
34
|
+
"@dword-design/base-config-node": "^4.0.0",
|
|
35
|
+
"@nuxt/eslint-config": "^1.6.0",
|
|
34
36
|
"@nuxt/module-builder": "^1.0.1",
|
|
35
|
-
"depcheck-package-name": "^
|
|
36
|
-
"endent": "npm:@dword-design/endent@^1.4.
|
|
37
|
+
"depcheck-package-name": "^4.0.0",
|
|
38
|
+
"endent": "npm:@dword-design/endent@^1.4.7",
|
|
37
39
|
"execa": "^9.6.0",
|
|
38
40
|
"fs-extra": "^11.3.0",
|
|
39
41
|
"load-pkg": "npm:@dword-design/load-pkg@^4.0.0",
|
|
40
|
-
"lodash-es": "^4.17.21"
|
|
42
|
+
"lodash-es": "^4.17.21",
|
|
43
|
+
"nuxt": "^3.17.7"
|
|
41
44
|
},
|
|
42
45
|
"devDependencies": {
|
|
43
|
-
"@dword-design/base": "^
|
|
44
|
-
"@playwright/test": "^1.
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"playwright": "^1.53.0"
|
|
46
|
+
"@dword-design/base": "^15.1.2",
|
|
47
|
+
"@playwright/test": "^1.54.1",
|
|
48
|
+
"output-files": "^3.0.0",
|
|
49
|
+
"playwright": "^1.54.1"
|
|
48
50
|
},
|
|
49
51
|
"packageManager": "pnpm@10.11.0+sha512.6540583f41cc5f628eb3d9773ecee802f4f9ef9923cc45b69890fb47991d4b092964694ec3a4f738a420c918a333062c8b925d312f42e4f0c263eb603551f977",
|
|
50
52
|
"engines": {
|
|
51
|
-
"node": ">=
|
|
53
|
+
"node": ">=20"
|
|
52
54
|
},
|
|
53
55
|
"publishConfig": {
|
|
54
56
|
"access": "public"
|