@dword-design/base-config-nuxt-module 2.0.1 → 3.0.1

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -3
  2. 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
- let tsconfig = await fs.readJson(pathLib.join(this.cwd, ".nuxt", "tsconfig.json"));
48
- tsconfig = omit(tsconfig, ["compilerOptions.noEmit"]);
49
- await fs.outputFile(pathLib.join(this.cwd, ".nuxt", "tsconfig.json"), JSON.stringify(tsconfig, void 0, 2));
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": "2.0.1",
3
+ "version": "3.0.1",
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": "^3.0.15",
33
- "@nuxt/eslint-config": "^1.4.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": "^3.0.1",
36
- "endent": "npm:@dword-design/endent@^1.4.1",
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
42
  "lodash-es": "^4.17.21",
41
- "nuxt": "^3.17.5"
43
+ "nuxt": "^3.17.7"
42
44
  },
43
45
  "devDependencies": {
44
- "@dword-design/base": "^13.0.6",
45
- "@playwright/test": "^1.53.0",
46
- "output-files": "^2.0.32",
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
- "packageManager": "pnpm@10.11.0+sha512.6540583f41cc5f628eb3d9773ecee802f4f9ef9923cc45b69890fb47991d4b092964694ec3a4f738a420c918a333062c8b925d312f42e4f0c263eb603551f977",
51
+ "packageManager": "pnpm@10.13.1+sha512.37ebf1a5c7a30d5fabe0c5df44ee8da4c965ca0c5af3dbab28c3a1681b70a256218d05c81c9c0dcf767ef6b8551eb5b960042b9ed4300c59242336377e01cfad",
50
52
  "engines": {
51
- "node": ">=18"
53
+ "node": ">=20"
52
54
  },
53
55
  "publishConfig": {
54
56
  "access": "public"