@nx/vue 20.1.2 → 20.1.4

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/vue",
3
- "version": "20.1.2",
3
+ "version": "20.1.4",
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": {
@@ -31,11 +31,11 @@
31
31
  "dependencies": {
32
32
  "minimatch": "9.0.3",
33
33
  "tslib": "^2.3.0",
34
- "@nx/devkit": "20.1.2",
35
- "@nx/js": "20.1.2",
36
- "@nx/eslint": "20.1.2",
37
- "@nx/vite": "20.1.2",
38
- "@nx/web": "20.1.2"
34
+ "@nx/devkit": "20.1.4",
35
+ "@nx/js": "20.1.4",
36
+ "@nx/eslint": "20.1.4",
37
+ "@nx/vite": "20.1.4",
38
+ "@nx/web": "20.1.4"
39
39
  },
40
40
  "publishConfig": {
41
41
  "access": "public"
@@ -10,7 +10,6 @@ const ast_utils_1 = require("../../../utils/ast-utils");
10
10
  let tsModule;
11
11
  async function normalizeOptions(host, options) {
12
12
  const { artifactName: name, fileName, filePath, directory, project: projectName, } = await (0, artifact_name_and_directory_utils_1.determineArtifactNameAndDirectoryOptions)(host, {
13
- name: options.name,
14
13
  path: options.path,
15
14
  fileExtension: 'vue',
16
15
  });
@@ -1,6 +1,5 @@
1
1
  export interface ComponentGeneratorSchema {
2
2
  path: string;
3
- name?: string;
4
3
  skipTests?: boolean;
5
4
  export?: boolean;
6
5
  routing?: boolean;
@@ -7,29 +7,19 @@
7
7
  "type": "object",
8
8
  "examples": [
9
9
  {
10
- "command": "nx g @nx/vue:component my-app/src/app/one --name=one --unitTestRunner=vitest",
11
- "description": "Generate a component `one` in the `my-app` application at my-app/src/app/one"
12
- },
13
- {
14
- "command": "nx g @nx/vue:component my-app/src/app/one",
15
- "description": "Generate a component `one` in the `my-app` application at my-app/src/app/one"
10
+ "description": "Generate a component at `mylib/src/lib/foo.vue` with `vitest` as the unit test runner",
11
+ "command": "nx g @nx/vue:component mylib/src/lib/foo --unitTestRunner=vitest"
16
12
  }
17
13
  ],
18
14
  "properties": {
19
15
  "path": {
20
16
  "type": "string",
21
- "description": "Path where the component will be generated.",
17
+ "description": "The file path to the component without the file extension. Relative to the current working directory.",
22
18
  "$default": {
23
19
  "$source": "argv",
24
20
  "index": 0
25
21
  },
26
- "x-prompt": "Where should the component be generated?",
27
- "x-priority": "important"
28
- },
29
- "name": {
30
- "type": "string",
31
- "description": "The name of the component.",
32
- "x-prompt": "What name would you like to use for the component?"
22
+ "x-prompt": "What is the component file path?"
33
23
  },
34
24
  "js": {
35
25
  "type": "boolean",