@nx/nuxt 22.0.0-beta.7 → 22.0.0-beta.8
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/nuxt",
|
|
3
|
-
"version": "22.0.0-beta.
|
|
3
|
+
"version": "22.0.0-beta.8",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The Nuxt plugin for Nx contains executors and generators for managing Nuxt applications and libraries within an Nx workspace. It provides:\n\n\n- Integration with libraries such as Vitest, Playwright, Cypress, and Storybook.\n\n- Generators for applications, libraries, and more.\n\n- Library build support for publishing packages to npm or other registries.\n\n- Utilities for automatic workspace refactoring.",
|
|
6
6
|
"repository": {
|
|
@@ -42,14 +42,14 @@
|
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"tslib": "^2.3.0",
|
|
44
44
|
"@nuxt/kit": "^3.10.0",
|
|
45
|
-
"@nx/devkit": "22.0.0-beta.
|
|
46
|
-
"@nx/js": "22.0.0-beta.
|
|
47
|
-
"@nx/eslint": "22.0.0-beta.
|
|
48
|
-
"@nx/vue": "22.0.0-beta.
|
|
49
|
-
"@nx/vite": "22.0.0-beta.
|
|
45
|
+
"@nx/devkit": "22.0.0-beta.8",
|
|
46
|
+
"@nx/js": "22.0.0-beta.8",
|
|
47
|
+
"@nx/eslint": "22.0.0-beta.8",
|
|
48
|
+
"@nx/vue": "22.0.0-beta.8",
|
|
49
|
+
"@nx/vite": "22.0.0-beta.8"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"nx": "22.0.0-beta.
|
|
52
|
+
"nx": "22.0.0-beta.8"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
55
|
"@nuxt/schema": "^3.10.0"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-linting.d.ts","sourceRoot":"","sources":["../../../../../packages/nuxt/src/utils/add-linting.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAE9C,OAAO,EAAE,MAAM,EAAE,UAAU,EAAwB,MAAM,YAAY,CAAC;AAGtE,OAAO,EAEL,iBAAiB,EAElB,MAAM,YAAY,CAAC;AAcpB,wBAAsB,UAAU,CAC9B,IAAI,EAAE,IAAI,EACV,OAAO,EAAE;IACP,MAAM,EAAE,MAAM,GAAG,UAAU,CAAC;IAC5B,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC;IACnC,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,
|
|
1
|
+
{"version":3,"file":"add-linting.d.ts","sourceRoot":"","sources":["../../../../../packages/nuxt/src/utils/add-linting.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAE9C,OAAO,EAAE,MAAM,EAAE,UAAU,EAAwB,MAAM,YAAY,CAAC;AAGtE,OAAO,EAEL,iBAAiB,EAElB,MAAM,YAAY,CAAC;AAcpB,wBAAsB,UAAU,CAC9B,IAAI,EAAE,IAAI,EACV,OAAO,EAAE;IACP,MAAM,EAAE,MAAM,GAAG,UAAU,CAAC;IAC5B,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC;IACnC,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,8BAwDF"}
|
package/src/utils/add-linting.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.addLinting = addLinting;
|
|
4
4
|
const eslint_1 = require("@nx/eslint");
|
|
5
|
-
const
|
|
5
|
+
const version_utils_1 = require("@nx/eslint/src/utils/version-utils");
|
|
6
6
|
const path_1 = require("nx/src/utils/path");
|
|
7
7
|
const devkit_1 = require("@nx/devkit");
|
|
8
8
|
const eslint_file_1 = require("@nx/eslint/src/generators/utils/eslint-file");
|
|
9
|
-
const
|
|
9
|
+
const versions_1 = require("./versions");
|
|
10
10
|
const flat_config_1 = require("@nx/eslint/src/utils/flat-config");
|
|
11
11
|
// TODO(colum): Look into the recommended set up using `withNuxt` inside eslint.config.mjs. https://eslint.nuxt.com/packages/config
|
|
12
12
|
async function addLinting(host, options) {
|
|
@@ -23,7 +23,7 @@ async function addLinting(host, options) {
|
|
|
23
23
|
});
|
|
24
24
|
tasks.push(lintTask);
|
|
25
25
|
const devDependencies = {
|
|
26
|
-
'@nuxt/eslint-config':
|
|
26
|
+
'@nuxt/eslint-config': versions_1.nuxtEslintConfigVersion,
|
|
27
27
|
};
|
|
28
28
|
if ((0, eslint_file_1.isEslintConfigSupported)(host, options.projectRoot)) {
|
|
29
29
|
editEslintConfigFiles(host, options.projectRoot);
|
|
@@ -37,7 +37,8 @@ async function addLinting(host, options) {
|
|
|
37
37
|
},
|
|
38
38
|
} // languageOptions is not in eslintrc format but for flat config
|
|
39
39
|
);
|
|
40
|
-
devDependencies['@typescript-eslint/parser'] =
|
|
40
|
+
devDependencies['@typescript-eslint/parser'] =
|
|
41
|
+
(0, version_utils_1.getTypeScriptEslintVersionToInstall)(host);
|
|
41
42
|
}
|
|
42
43
|
(0, eslint_file_1.addIgnoresToLintConfig)(host, options.projectRoot, [
|
|
43
44
|
'.nuxt/**',
|