@nx/vue 17.3.0 → 17.3.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.
- package/package.json +6 -6
- package/src/generators/application/schema.json +3 -3
- package/src/generators/component/schema.d.ts +4 -4
- package/src/generators/component/schema.json +5 -5
- package/src/generators/init/schema.json +1 -1
- package/src/generators/library/schema.json +1 -1
- package/src/generators/setup-tailwind/schema.json +1 -1
- package/src/generators/stories/schema.json +1 -1
- package/src/generators/storybook-configuration/schema.json +1 -1
- package/src/utils/ensure-dependencies.js +0 -1
- package/src/utils/versions.d.ts +0 -1
- package/src/utils/versions.js +1 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/vue",
|
|
3
|
-
"version": "17.3.
|
|
3
|
+
"version": "17.3.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The Vue plugin for Nx contains executors and generators for managing Vue applications and libraries within an Nx workspace. It provides:\n\n\n- Integration with libraries such as Vitest, 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": {
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"minimatch": "9.0.3",
|
|
32
32
|
"tslib": "^2.3.0",
|
|
33
|
-
"@nx/devkit": "17.3.
|
|
34
|
-
"@nx/js": "17.3.
|
|
35
|
-
"@nx/eslint": "17.3.
|
|
36
|
-
"@nx/vite": "17.3.
|
|
37
|
-
"@nx/web": "17.3.
|
|
33
|
+
"@nx/devkit": "17.3.1",
|
|
34
|
+
"@nx/js": "17.3.1",
|
|
35
|
+
"@nx/eslint": "17.3.1",
|
|
36
|
+
"@nx/vite": "17.3.1",
|
|
37
|
+
"@nx/web": "17.3.1"
|
|
38
38
|
},
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
3
|
"cli": "nx",
|
|
4
4
|
"$id": "NxVueApp",
|
|
5
5
|
"title": "Create a Vue Application",
|
|
@@ -52,11 +52,11 @@
|
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
54
|
"value": "scss",
|
|
55
|
-
"label": "SASS(.scss) [
|
|
55
|
+
"label": "SASS(.scss) [ https://sass-lang.com ]"
|
|
56
56
|
},
|
|
57
57
|
{
|
|
58
58
|
"value": "less",
|
|
59
|
-
"label": "LESS [
|
|
59
|
+
"label": "LESS [ https://lesscss.org ]"
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
62
|
"value": "none",
|
|
@@ -11,19 +11,19 @@ export interface ComponentGeneratorSchema {
|
|
|
11
11
|
nameAndDirectoryFormat?: 'as-provided' | 'derived';
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
|
-
* @deprecated Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx
|
|
14
|
+
* @deprecated Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.
|
|
15
15
|
*/
|
|
16
16
|
flat?: boolean;
|
|
17
17
|
/**
|
|
18
|
-
* @deprecated Provide the desired `directory` option instead and use the `as-provided` format. It will be removed in Nx
|
|
18
|
+
* @deprecated Provide the desired `directory` option instead and use the `as-provided` format. It will be removed in Nx v19.
|
|
19
19
|
*/
|
|
20
20
|
pascalCaseDirectory?: boolean;
|
|
21
21
|
/**
|
|
22
|
-
* @deprecated Provide the desired `name` option instead and use the `as-provided` format. It will be removed in Nx
|
|
22
|
+
* @deprecated Provide the desired `name` option instead and use the `as-provided` format. It will be removed in Nx v19.
|
|
23
23
|
*/
|
|
24
24
|
pascalCaseFiles?: boolean;
|
|
25
25
|
/**
|
|
26
|
-
* @deprecated Provide the `directory` option instead. The project will be determined from the directory provided. It will be removed in Nx
|
|
26
|
+
* @deprecated Provide the `directory` option instead. The project will be determined from the directory provided. It will be removed in Nx v19.
|
|
27
27
|
*/
|
|
28
28
|
project?: string;
|
|
29
29
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
3
|
"cli": "nx",
|
|
4
4
|
"$id": "NxVueComponent",
|
|
5
5
|
"title": "Create a Vue Component",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"$default": {
|
|
20
20
|
"$source": "projectName"
|
|
21
21
|
},
|
|
22
|
-
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx
|
|
22
|
+
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19."
|
|
23
23
|
},
|
|
24
24
|
"name": {
|
|
25
25
|
"type": "string",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"type": "boolean",
|
|
58
58
|
"description": "Create component at the source root rather than its own directory.",
|
|
59
59
|
"default": false,
|
|
60
|
-
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx
|
|
60
|
+
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19."
|
|
61
61
|
},
|
|
62
62
|
"export": {
|
|
63
63
|
"type": "boolean",
|
|
@@ -71,14 +71,14 @@
|
|
|
71
71
|
"description": "Use pascal case component file name (e.g. `App.tsx`).",
|
|
72
72
|
"alias": "P",
|
|
73
73
|
"default": false,
|
|
74
|
-
"x-deprecated": "Provide the desired `name` option instead and use the `as-provided` format. It will be removed in Nx
|
|
74
|
+
"x-deprecated": "Provide the desired `name` option instead and use the `as-provided` format. It will be removed in Nx v19."
|
|
75
75
|
},
|
|
76
76
|
"pascalCaseDirectory": {
|
|
77
77
|
"type": "boolean",
|
|
78
78
|
"description": "Use pascal case directory name (e.g. `App/App.tsx`).",
|
|
79
79
|
"alias": "R",
|
|
80
80
|
"default": false,
|
|
81
|
-
"x-deprecated": "Provide the desired `directory` option instead and use the `as-provided` format. It will be removed in Nx
|
|
81
|
+
"x-deprecated": "Provide the desired `directory` option instead and use the `as-provided` format. It will be removed in Nx v19."
|
|
82
82
|
},
|
|
83
83
|
"routing": {
|
|
84
84
|
"type": "boolean",
|
|
@@ -6,7 +6,6 @@ const versions_1 = require("./versions");
|
|
|
6
6
|
function ensureDependencies(tree, options) {
|
|
7
7
|
const dependencies = {};
|
|
8
8
|
const devDependencies = {
|
|
9
|
-
'@vue/tsconfig': versions_1.vueTsconfigVersion,
|
|
10
9
|
'@vue/test-utils': versions_1.vueTestUtilsVersion,
|
|
11
10
|
'@vitejs/plugin-vue': versions_1.vitePluginVueVersion,
|
|
12
11
|
'vue-tsc': versions_1.vueTscVersion,
|
package/src/utils/versions.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ export declare const nxVersion: any;
|
|
|
2
2
|
export declare const vueVersion = "^3.3.4";
|
|
3
3
|
export declare const vueTscVersion = "^1.8.8";
|
|
4
4
|
export declare const vueRouterVersion = "^4.2.4";
|
|
5
|
-
export declare const vueTsconfigVersion = "^0.4.0";
|
|
6
5
|
export declare const vueTestUtilsVersion = "^2.4.1";
|
|
7
6
|
export declare const vitePluginVueVersion = "^4.5.0";
|
|
8
7
|
export declare const vueEslintConfigPrettierVersion = "7.1.0";
|
package/src/utils/versions.js
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.lessVersion = exports.sassVersion = exports.autoprefixerVersion = exports.tailwindcssVersion = exports.postcssVersion = exports.eslintPluginVueVersion = exports.vueEslintConfigTypescriptVersion = exports.vueEslintConfigPrettierVersion = exports.vitePluginVueVersion = exports.vueTestUtilsVersion = exports.
|
|
3
|
+
exports.lessVersion = exports.sassVersion = exports.autoprefixerVersion = exports.tailwindcssVersion = exports.postcssVersion = exports.eslintPluginVueVersion = exports.vueEslintConfigTypescriptVersion = exports.vueEslintConfigPrettierVersion = exports.vitePluginVueVersion = exports.vueTestUtilsVersion = exports.vueRouterVersion = exports.vueTscVersion = exports.vueVersion = exports.nxVersion = void 0;
|
|
4
4
|
exports.nxVersion = require('../../package.json').version;
|
|
5
5
|
// vue core
|
|
6
6
|
exports.vueVersion = '^3.3.4';
|
|
7
7
|
exports.vueTscVersion = '^1.8.8';
|
|
8
8
|
exports.vueRouterVersion = '^4.2.4';
|
|
9
|
-
// build deps
|
|
10
|
-
exports.vueTsconfigVersion = '^0.4.0';
|
|
11
9
|
// test deps
|
|
12
10
|
exports.vueTestUtilsVersion = '^2.4.1';
|
|
13
11
|
exports.vitePluginVueVersion = '^4.5.0';
|