@dword-design/base-config-nuxt-module 3.0.4 → 4.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 +10 -3
- package/package.json +12 -12
package/dist/index.js
CHANGED
|
@@ -19,9 +19,14 @@ export default defineBaseConfig(function (config) {
|
|
|
19
19
|
eslintConfig: endent`
|
|
20
20
|
import { createConfigForNuxt } from '${packageName`@nuxt/eslint-config`}/flat';
|
|
21
21
|
import config from '@dword-design/eslint-config';
|
|
22
|
-
import { globalIgnores } from
|
|
22
|
+
import { globalIgnores } from 'eslint/config';
|
|
23
|
+
import type { Linter } from 'eslint';
|
|
23
24
|
|
|
24
|
-
|
|
25
|
+
/**
|
|
26
|
+
* TODO: Otherwise getting this error in the project using this package:
|
|
27
|
+
* error TS2742: The inferred type of 'default' cannot be named without a reference to '~/node_modules/@eslint/core/dist/cjs/types.cjs'. This is likely not portable. A type annotation is necessary.
|
|
28
|
+
**/
|
|
29
|
+
const result: Linter.Config[] = await createConfigForNuxt({ features: { standalone: false } })
|
|
25
30
|
.prepend(
|
|
26
31
|
config,
|
|
27
32
|
{
|
|
@@ -31,7 +36,9 @@ export default defineBaseConfig(function (config) {
|
|
|
31
36
|
},
|
|
32
37
|
globalIgnores(['eslint.config.ts', 'eslint.lint-staged.config.ts']),
|
|
33
38
|
)
|
|
34
|
-
.toConfigs()
|
|
39
|
+
.toConfigs();
|
|
40
|
+
|
|
41
|
+
export default result;\n
|
|
35
42
|
`,
|
|
36
43
|
gitignore: [...nodeConfig.gitignore, "/.nuxt"],
|
|
37
44
|
hasTypescriptConfigRootAlias: false,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dword-design/base-config-nuxt-module",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"repository": "dword-design/base-config-nuxt-module",
|
|
5
5
|
"funding": "https://github.com/sponsors/dword-design",
|
|
6
6
|
"license": "MIT",
|
|
@@ -29,28 +29,28 @@
|
|
|
29
29
|
"verify": "base verify"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@dword-design/base": "^
|
|
33
|
-
"@dword-design/base-config-node": "^
|
|
34
|
-
"@nuxt/eslint-config": "^1.
|
|
35
|
-
"@nuxt/module-builder": "^1.0.
|
|
36
|
-
"depcheck-package-name": "^4.0.
|
|
32
|
+
"@dword-design/base": "^16.1.0",
|
|
33
|
+
"@dword-design/base-config-node": "^5.0.1",
|
|
34
|
+
"@nuxt/eslint-config": "^1.11.0",
|
|
35
|
+
"@nuxt/module-builder": "^1.0.2",
|
|
36
|
+
"depcheck-package-name": "^4.0.1",
|
|
37
37
|
"endent": "npm:@dword-design/endent@^1.4.7",
|
|
38
|
-
"execa": "^9.6.
|
|
39
|
-
"fs-extra": "^11.3.
|
|
38
|
+
"execa": "^9.6.1",
|
|
39
|
+
"fs-extra": "^11.3.2",
|
|
40
40
|
"lodash-es": "^4.17.21",
|
|
41
|
-
"nuxt": "^3.
|
|
41
|
+
"nuxt": "^3.20.1",
|
|
42
42
|
"read-pkg": "^10.0.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@playwright/test": "^1.
|
|
45
|
+
"@playwright/test": "^1.57.0",
|
|
46
46
|
"@types/fs-extra": "^11.0.4",
|
|
47
47
|
"@types/lodash-es": "^4.17.12",
|
|
48
48
|
"output-files": "^3.0.0",
|
|
49
|
-
"playwright": "^1.
|
|
49
|
+
"playwright": "^1.57.0"
|
|
50
50
|
},
|
|
51
51
|
"packageManager": "pnpm@10.13.1+sha512.37ebf1a5c7a30d5fabe0c5df44ee8da4c965ca0c5af3dbab28c3a1681b70a256218d05c81c9c0dcf767ef6b8551eb5b960042b9ed4300c59242336377e01cfad",
|
|
52
52
|
"engines": {
|
|
53
|
-
"node": ">=
|
|
53
|
+
"node": ">=22"
|
|
54
54
|
},
|
|
55
55
|
"publishConfig": {
|
|
56
56
|
"access": "public"
|