@nx/vue 22.6.0-beta.12 → 22.6.0-beta.13
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/executors.json +1 -1
- package/generators.json +48 -48
- package/migrations.json +30 -30
- package/package.json +11 -9
- package/src/generators/application/schema.json +148 -148
- package/src/generators/component/schema.json +68 -68
- package/src/generators/init/schema.json +24 -24
- package/src/generators/library/schema.json +133 -133
- package/src/generators/setup-tailwind/schema.json +42 -42
- package/src/generators/stories/schema.json +56 -56
- package/src/generators/storybook-configuration/schema.json +77 -77
package/executors.json
CHANGED
package/generators.json
CHANGED
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}
|
|
2
|
+
"name": "Nx Vue",
|
|
3
|
+
"version": "0.1",
|
|
4
|
+
"generators": {
|
|
5
|
+
"init": {
|
|
6
|
+
"factory": "./src/generators/init/init",
|
|
7
|
+
"schema": "./src/generators/init/schema.json",
|
|
8
|
+
"description": "Initialize the `@nx/vue` plugin.",
|
|
9
|
+
"aliases": ["ng-add"],
|
|
10
|
+
"hidden": true
|
|
11
|
+
},
|
|
12
|
+
"application": {
|
|
13
|
+
"factory": "./src/generators/application/application#applicationGeneratorInternal",
|
|
14
|
+
"schema": "./src/generators/application/schema.json",
|
|
15
|
+
"aliases": ["app"],
|
|
16
|
+
"description": "Create a Vue application."
|
|
17
|
+
},
|
|
18
|
+
"library": {
|
|
19
|
+
"factory": "./src/generators/library/library#libraryGeneratorInternal",
|
|
20
|
+
"schema": "./src/generators/library/schema.json",
|
|
21
|
+
"aliases": ["lib"],
|
|
22
|
+
"x-type": "library",
|
|
23
|
+
"description": "Create a Vue library."
|
|
24
|
+
},
|
|
25
|
+
"component": {
|
|
26
|
+
"factory": "./src/generators/component/component",
|
|
27
|
+
"schema": "./src/generators/component/schema.json",
|
|
28
|
+
"aliases": ["c"],
|
|
29
|
+
"x-type": "component",
|
|
30
|
+
"description": "Create a Vue component."
|
|
31
|
+
},
|
|
32
|
+
"setup-tailwind": {
|
|
33
|
+
"factory": "./src/generators/setup-tailwind/setup-tailwind",
|
|
34
|
+
"schema": "./src/generators/setup-tailwind/schema.json",
|
|
35
|
+
"description": "Set up Tailwind configuration for a project.",
|
|
36
|
+
"x-deprecated": "Generating Tailwind configuration is no longer maintained. This generator will be removed in Nx 23."
|
|
37
|
+
},
|
|
38
|
+
"storybook-configuration": {
|
|
39
|
+
"factory": "./src/generators/storybook-configuration/configuration#storybookConfigurationGeneratorInternal",
|
|
40
|
+
"schema": "./src/generators/storybook-configuration/schema.json",
|
|
41
|
+
"description": "Set up storybook for a Vue app or library.",
|
|
42
|
+
"hidden": false
|
|
43
|
+
},
|
|
44
|
+
"stories": {
|
|
45
|
+
"factory": "./src/generators/stories/stories",
|
|
46
|
+
"schema": "./src/generators/stories/schema.json",
|
|
47
|
+
"description": "Create stories for all components declared in an app or library.",
|
|
48
|
+
"hidden": false
|
|
50
49
|
}
|
|
50
|
+
}
|
|
51
51
|
}
|
package/migrations.json
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
},
|
|
11
|
-
"vue-tsc": {
|
|
12
|
-
"version": "^2.2.8",
|
|
13
|
-
"alwaysAddToPackageJson": false
|
|
14
|
-
},
|
|
15
|
-
"vue-router": {
|
|
16
|
-
"version": "^4.5.0",
|
|
17
|
-
"alwaysAddToPackageJson": false
|
|
18
|
-
},
|
|
19
|
-
"@vitejs/plugin-vue": {
|
|
20
|
-
"version": "^5.2.3",
|
|
21
|
-
"alwaysAddToPackageJson": false
|
|
22
|
-
}
|
|
23
|
-
}
|
|
2
|
+
"generators": {},
|
|
3
|
+
"packageJsonUpdates": {
|
|
4
|
+
"20.7.1": {
|
|
5
|
+
"version": "20.7.1-beta.0",
|
|
6
|
+
"packages": {
|
|
7
|
+
"vue": {
|
|
8
|
+
"version": "^3.5.13",
|
|
9
|
+
"alwaysAddToPackageJson": false
|
|
24
10
|
},
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
11
|
+
"vue-tsc": {
|
|
12
|
+
"version": "^2.2.8",
|
|
13
|
+
"alwaysAddToPackageJson": false
|
|
14
|
+
},
|
|
15
|
+
"vue-router": {
|
|
16
|
+
"version": "^4.5.0",
|
|
17
|
+
"alwaysAddToPackageJson": false
|
|
18
|
+
},
|
|
19
|
+
"@vitejs/plugin-vue": {
|
|
20
|
+
"version": "^5.2.3",
|
|
21
|
+
"alwaysAddToPackageJson": false
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"22.0.0": {
|
|
26
|
+
"version": "22.0.0-beta.8",
|
|
27
|
+
"packages": {
|
|
28
|
+
"@vitejs/plugin-vue": {
|
|
29
|
+
"version": "^6.0.1",
|
|
30
|
+
"alwaysAddToPackageJson": false
|
|
33
31
|
}
|
|
32
|
+
}
|
|
34
33
|
}
|
|
34
|
+
}
|
|
35
35
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/vue",
|
|
3
|
-
"version": "22.6.0-beta.
|
|
3
|
+
"version": "22.6.0-beta.13",
|
|
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, 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": {
|
|
@@ -29,21 +29,23 @@
|
|
|
29
29
|
"migrations": "./migrations.json"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@nx/devkit": "22.6.0-beta.
|
|
33
|
-
"@nx/eslint": "22.6.0-beta.
|
|
34
|
-
"@nx/js": "22.6.0-beta.
|
|
35
|
-
"@nx/vite": "22.6.0-beta.
|
|
36
|
-
"@nx/vitest": "22.6.0-beta.
|
|
37
|
-
"@nx/web": "22.6.0-beta.
|
|
32
|
+
"@nx/devkit": "22.6.0-beta.13",
|
|
33
|
+
"@nx/eslint": "22.6.0-beta.13",
|
|
34
|
+
"@nx/js": "22.6.0-beta.13",
|
|
35
|
+
"@nx/vite": "22.6.0-beta.13",
|
|
36
|
+
"@nx/vitest": "22.6.0-beta.13",
|
|
37
|
+
"@nx/web": "22.6.0-beta.13",
|
|
38
38
|
"picomatch": "4.0.2",
|
|
39
39
|
"semver": "^7.6.3",
|
|
40
40
|
"tslib": "^2.3.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"nx": "22.6.0-beta.
|
|
43
|
+
"nx": "22.6.0-beta.13"
|
|
44
44
|
},
|
|
45
45
|
"publishConfig": {
|
|
46
46
|
"access": "public"
|
|
47
47
|
},
|
|
48
|
-
"peerDependencies": {}
|
|
48
|
+
"peerDependencies": {},
|
|
49
|
+
"types": "./index.d.ts",
|
|
50
|
+
"type": "commonjs"
|
|
49
51
|
}
|
|
@@ -1,150 +1,150 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
|
+
"cli": "nx",
|
|
4
|
+
"$id": "NxVueApp",
|
|
5
|
+
"title": "Create a Vue Application",
|
|
6
|
+
"description": "Create a Vue application for Nx.",
|
|
7
|
+
"examples": [
|
|
8
|
+
{
|
|
9
|
+
"command": "nx g app myapp --directory=myorg/myapp",
|
|
10
|
+
"description": "Generate `apps/myorg/myapp` and `apps/myorg/myapp-e2e`"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"command": "nx g app myapp --routing",
|
|
14
|
+
"description": "Set up Vue Router"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"type": "object",
|
|
18
|
+
"properties": {
|
|
19
|
+
"directory": {
|
|
20
|
+
"description": "The directory of the new application.",
|
|
21
|
+
"type": "string",
|
|
22
|
+
"alias": "dir",
|
|
23
|
+
"$default": {
|
|
24
|
+
"$source": "argv",
|
|
25
|
+
"index": 0
|
|
26
|
+
},
|
|
27
|
+
"x-prompt": "Which directory do you want to create the application in?"
|
|
28
|
+
},
|
|
29
|
+
"name": {
|
|
30
|
+
"description": "The name of the application.",
|
|
31
|
+
"type": "string",
|
|
32
|
+
"pattern": "(?:^@[a-zA-Z0-9-*~][a-zA-Z0-9-*._~]*\\/[a-zA-Z0-9-~][a-zA-Z0-9-._~]*|^[a-zA-Z][^:]*)$",
|
|
33
|
+
"x-priority": "important"
|
|
34
|
+
},
|
|
35
|
+
"style": {
|
|
36
|
+
"description": "The file extension to be used for style files.",
|
|
37
|
+
"type": "string",
|
|
38
|
+
"default": "css",
|
|
39
|
+
"alias": "s",
|
|
40
|
+
"x-prompt": {
|
|
41
|
+
"message": "Which stylesheet format would you like to use?",
|
|
42
|
+
"type": "list",
|
|
43
|
+
"items": [
|
|
44
|
+
{
|
|
45
|
+
"value": "css",
|
|
46
|
+
"label": "CSS"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"value": "scss",
|
|
50
|
+
"label": "SASS(.scss) [ https://sass-lang.com ]"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"value": "less",
|
|
54
|
+
"label": "LESS [ https://lesscss.org ]"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"value": "none",
|
|
58
|
+
"label": "None"
|
|
59
|
+
}
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"bundler": {
|
|
64
|
+
"description": "The bundler to use.",
|
|
65
|
+
"type": "string",
|
|
66
|
+
"enum": ["vite", "rsbuild"],
|
|
67
|
+
"x-prompt": "Which bundler do you want to use to build the application?",
|
|
68
|
+
"default": "vite",
|
|
69
|
+
"x-priority": "important"
|
|
70
|
+
},
|
|
71
|
+
"routing": {
|
|
72
|
+
"type": "boolean",
|
|
73
|
+
"description": "Generate application with routes.",
|
|
74
|
+
"x-prompt": "Would you like to add Vue Router to this application?",
|
|
75
|
+
"default": false
|
|
76
|
+
},
|
|
77
|
+
"skipFormat": {
|
|
78
|
+
"description": "Skip formatting files.",
|
|
79
|
+
"type": "boolean",
|
|
80
|
+
"default": false,
|
|
81
|
+
"x-priority": "internal"
|
|
82
|
+
},
|
|
83
|
+
"linter": {
|
|
84
|
+
"description": "The tool to use for running lint checks.",
|
|
85
|
+
"type": "string",
|
|
86
|
+
"enum": ["eslint", "none"],
|
|
87
|
+
"default": "none",
|
|
88
|
+
"x-prompt": "Which linter would you like to use?",
|
|
89
|
+
"x-priority": "important"
|
|
90
|
+
},
|
|
91
|
+
"unitTestRunner": {
|
|
92
|
+
"type": "string",
|
|
93
|
+
"enum": ["vitest", "none"],
|
|
94
|
+
"description": "Test runner to use for unit tests.",
|
|
95
|
+
"x-prompt": "Which unit test runner would you like to use?",
|
|
96
|
+
"default": "none",
|
|
97
|
+
"x-priority": "important"
|
|
98
|
+
},
|
|
99
|
+
"inSourceTests": {
|
|
100
|
+
"type": "boolean",
|
|
101
|
+
"default": false,
|
|
102
|
+
"description": "When using Vitest, separate spec files will not be generated and instead will be included within the source files. Read more on the Vitest docs site: https://vitest.dev/guide/in-source.html"
|
|
103
|
+
},
|
|
104
|
+
"e2eTestRunner": {
|
|
105
|
+
"type": "string",
|
|
106
|
+
"enum": ["playwright", "cypress", "none"],
|
|
107
|
+
"description": "Test runner to use for end to end (E2E) tests.",
|
|
108
|
+
"x-prompt": "Which E2E test runner would you like to use?",
|
|
109
|
+
"default": "playwright"
|
|
110
|
+
},
|
|
111
|
+
"tags": {
|
|
112
|
+
"type": "string",
|
|
113
|
+
"description": "Add tags to the application (used for linting).",
|
|
114
|
+
"alias": "t"
|
|
115
|
+
},
|
|
116
|
+
"js": {
|
|
117
|
+
"type": "boolean",
|
|
118
|
+
"description": "Generate JavaScript files rather than TypeScript files.",
|
|
119
|
+
"default": false
|
|
120
|
+
},
|
|
121
|
+
"strict": {
|
|
122
|
+
"type": "boolean",
|
|
123
|
+
"description": "Whether to enable tsconfig strict mode or not.",
|
|
124
|
+
"default": true
|
|
125
|
+
},
|
|
126
|
+
"setParserOptionsProject": {
|
|
127
|
+
"type": "boolean",
|
|
128
|
+
"description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.",
|
|
129
|
+
"default": false
|
|
130
|
+
},
|
|
131
|
+
"skipPackageJson": {
|
|
132
|
+
"description": "Do not add dependencies to `package.json`.",
|
|
133
|
+
"type": "boolean",
|
|
134
|
+
"default": false,
|
|
135
|
+
"x-priority": "internal"
|
|
136
|
+
},
|
|
137
|
+
"rootProject": {
|
|
138
|
+
"description": "Create a application at the root of the workspace",
|
|
139
|
+
"type": "boolean",
|
|
140
|
+
"default": false,
|
|
141
|
+
"hidden": true
|
|
142
|
+
},
|
|
143
|
+
"useProjectJson": {
|
|
144
|
+
"type": "boolean",
|
|
145
|
+
"description": "Use a `project.json` configuration file instead of inlining the Nx configuration in the `package.json` file."
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
"required": ["directory"],
|
|
149
|
+
"examplesFile": "../../../docs/application-examples.md"
|
|
150
150
|
}
|