@nx/nuxt 23.3.0-beta.1 → 23.3.0-beta.3
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.
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ensureDependencies = ensureDependencies;
|
|
4
4
|
const devkit_1 = require("@nx/devkit");
|
|
5
|
+
const internal_1 = require("@nx/devkit/internal");
|
|
5
6
|
const vue_1 = require("@nx/vue");
|
|
6
7
|
const versions_1 = require("../../../utils/versions");
|
|
7
8
|
const version_utils_1 = require("../../../utils/version-utils");
|
|
@@ -20,6 +21,11 @@ async function ensureDependencies(host, options) {
|
|
|
20
21
|
'vue-tsc': vue_1.vueTscVersion,
|
|
21
22
|
};
|
|
22
23
|
if (options.style === 'scss') {
|
|
24
|
+
// sass pulls in @parcel/watcher, whose install script only builds from
|
|
25
|
+
// source when npm_config_build_from_source is set.
|
|
26
|
+
(0, internal_1.acknowledgeBuildScripts)(host, (0, devkit_1.detectPackageManager)(host.root), {
|
|
27
|
+
'@parcel/watcher': false,
|
|
28
|
+
});
|
|
23
29
|
devDependencies['sass'] = vue_1.sassVersion;
|
|
24
30
|
}
|
|
25
31
|
return (0, devkit_1.addDependenciesToPackageJson)(host, {}, devDependencies, undefined, true);
|
|
@@ -4,10 +4,17 @@ exports.updateDependencies = updateDependencies;
|
|
|
4
4
|
exports.addVitestTargetDefaults = addVitestTargetDefaults;
|
|
5
5
|
exports.addPlugin = addPlugin;
|
|
6
6
|
const devkit_1 = require("@nx/devkit");
|
|
7
|
+
const internal_1 = require("@nx/devkit/internal");
|
|
7
8
|
const versions_1 = require("../../../utils/versions");
|
|
8
9
|
const version_utils_1 = require("../../../utils/version-utils");
|
|
9
10
|
async function updateDependencies(host, schema) {
|
|
10
11
|
const nuxtVersions = await (0, version_utils_1.getNuxtDependenciesVersionsToInstall)(host);
|
|
12
|
+
// The nuxt toolchain (nitropack, @unhead/bundler) depends on esbuild, whose
|
|
13
|
+
// install script only validates the prebuilt binary that ships as an optional
|
|
14
|
+
// dependency.
|
|
15
|
+
(0, internal_1.acknowledgeBuildScripts)(host, (0, devkit_1.detectPackageManager)(host.root), {
|
|
16
|
+
esbuild: false,
|
|
17
|
+
});
|
|
11
18
|
return (0, devkit_1.addDependenciesToPackageJson)(host, {}, {
|
|
12
19
|
'@nx/nuxt': versions_1.nxVersion,
|
|
13
20
|
nuxt: nuxtVersions.nuxt,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/nuxt",
|
|
3
|
-
"version": "23.3.0-beta.
|
|
3
|
+
"version": "23.3.0-beta.3",
|
|
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": {
|
|
@@ -60,23 +60,23 @@
|
|
|
60
60
|
"dependencies": {
|
|
61
61
|
"tslib": "^2.3.0",
|
|
62
62
|
"semver": "^7.6.3",
|
|
63
|
-
"@nx/
|
|
64
|
-
"@nx/
|
|
65
|
-
"@nx/
|
|
66
|
-
"@nx/
|
|
67
|
-
"@nx/
|
|
68
|
-
"@nx/vitest": "23.3.0-beta.
|
|
63
|
+
"@nx/devkit": "23.3.0-beta.3",
|
|
64
|
+
"@nx/vue": "23.3.0-beta.3",
|
|
65
|
+
"@nx/js": "23.3.0-beta.3",
|
|
66
|
+
"@nx/eslint": "23.3.0-beta.3",
|
|
67
|
+
"@nx/vite": "23.3.0-beta.3",
|
|
68
|
+
"@nx/vitest": "23.3.0-beta.3"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"nuxt": "^3.21.10",
|
|
72
|
-
"nx": "23.3.0-beta.
|
|
72
|
+
"nx": "23.3.0-beta.3"
|
|
73
73
|
},
|
|
74
74
|
"peerDependencies": {
|
|
75
75
|
"nuxt": ">=3.0.0 <5.0.0",
|
|
76
76
|
"@nuxt/schema": "^3.0.0 || ^4.0.0",
|
|
77
77
|
"@nuxt/kit": "^3.0.0 || ^4.0.0",
|
|
78
|
-
"@nx/
|
|
79
|
-
"@nx/
|
|
78
|
+
"@nx/cypress": "23.3.0-beta.3",
|
|
79
|
+
"@nx/playwright": "23.3.0-beta.3"
|
|
80
80
|
},
|
|
81
81
|
"peerDependenciesMeta": {
|
|
82
82
|
"nuxt": {
|