@nx/vue 23.0.0-beta.4 → 23.0.0-beta.6

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": "23.0.0-beta.4",
3
+ "version": "23.0.0-beta.6",
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": {
@@ -30,27 +30,27 @@
30
30
  "migrations": "./migrations.json"
31
31
  },
32
32
  "dependencies": {
33
- "@nx/devkit": "23.0.0-beta.4",
34
- "@nx/eslint": "23.0.0-beta.4",
35
- "@nx/js": "23.0.0-beta.4",
36
- "@nx/vite": "23.0.0-beta.4",
37
- "@nx/vitest": "23.0.0-beta.4",
38
- "@nx/web": "23.0.0-beta.4",
33
+ "@nx/devkit": "23.0.0-beta.6",
34
+ "@nx/eslint": "23.0.0-beta.6",
35
+ "@nx/js": "23.0.0-beta.6",
36
+ "@nx/vite": "23.0.0-beta.6",
37
+ "@nx/vitest": "23.0.0-beta.6",
38
+ "@nx/web": "23.0.0-beta.6",
39
39
  "picomatch": "4.0.4",
40
40
  "semver": "^7.6.3",
41
41
  "tslib": "^2.3.0"
42
42
  },
43
43
  "devDependencies": {
44
- "nx": "23.0.0-beta.4"
44
+ "nx": "23.0.0-beta.6"
45
45
  },
46
46
  "publishConfig": {
47
47
  "access": "public"
48
48
  },
49
49
  "peerDependencies": {
50
- "@nx/cypress": "23.0.0-beta.4",
51
- "@nx/playwright": "23.0.0-beta.4",
52
- "@nx/rsbuild": "23.0.0-beta.4",
53
- "@nx/storybook": "23.0.0-beta.4"
50
+ "@nx/cypress": "23.0.0-beta.6",
51
+ "@nx/playwright": "23.0.0-beta.6",
52
+ "@nx/rsbuild": "23.0.0-beta.6",
53
+ "@nx/storybook": "23.0.0-beta.6"
54
54
  },
55
55
  "peerDependenciesMeta": {
56
56
  "@nx/cypress": {
@@ -1 +1 @@
1
- {"version":3,"file":"application.d.ts","sourceRoot":"","sources":["../../../../../../packages/vue/src/generators/application/application.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,iBAAiB,EAKjB,IAAI,EAEL,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAmBlC,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,8BAM/D;AAED,wBAAsB,4BAA4B,CAChD,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC,iBAAiB,CAAC,CA0I5B;AAED,eAAe,oBAAoB,CAAC"}
1
+ {"version":3,"file":"application.d.ts","sourceRoot":"","sources":["../../../../../../packages/vue/src/generators/application/application.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,iBAAiB,EAKjB,IAAI,EAEL,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAkBlC,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,8BAM/D;AAED,wBAAsB,4BAA4B,CAChD,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC,iBAAiB,CAAC,CA0I5B;AAED,eAAe,oBAAoB,CAAC"}
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.applicationGenerator = applicationGenerator;
4
4
  exports.applicationGeneratorInternal = applicationGeneratorInternal;
5
+ const internal_1 = require("@nx/devkit/internal");
5
6
  const devkit_1 = require("@nx/devkit");
6
7
  const js_1 = require("@nx/js");
7
8
  const normalize_options_1 = require("./lib/normalize-options");
@@ -13,7 +14,6 @@ const add_vite_1 = require("./lib/add-vite");
13
14
  const add_rsbuild_1 = require("./lib/add-rsbuild");
14
15
  const create_ts_config_1 = require("../../utils/create-ts-config");
15
16
  const ensure_dependencies_1 = require("../../utils/ensure-dependencies");
16
- const log_show_project_command_1 = require("@nx/devkit/src/utils/log-show-project-command");
17
17
  const ts_solution_setup_1 = require("@nx/js/src/utils/typescript/ts-solution-setup");
18
18
  const sort_fields_1 = require("@nx/js/src/utils/package-json/sort-fields");
19
19
  function applicationGenerator(tree, options) {
@@ -119,7 +119,7 @@ async function applicationGeneratorInternal(tree, _options) {
119
119
  if (!options.skipFormat)
120
120
  await (0, devkit_1.formatFiles)(tree);
121
121
  tasks.push(() => {
122
- (0, log_show_project_command_1.logShowProjectCommand)(options.projectName);
122
+ (0, internal_1.logShowProjectCommand)(options.projectName);
123
123
  });
124
124
  return (0, devkit_1.runTasksInSerial)(...tasks);
125
125
  }
@@ -1 +1 @@
1
- {"version":3,"file":"add-e2e.d.ts","sourceRoot":"","sources":["../../../../../../../packages/vue/src/generators/application/lib/add-e2e.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAY1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAI7C,wBAAsB,MAAM,CAC1B,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,gBAAgB,GACxB,OAAO,CAAC,iBAAiB,CAAC,CA4J5B"}
1
+ {"version":3,"file":"add-e2e.d.ts","sourceRoot":"","sources":["../../../../../../../packages/vue/src/generators/application/lib/add-e2e.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAa1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAG7C,wBAAsB,MAAM,CAC1B,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,gBAAgB,GACxB,OAAO,CAAC,iBAAiB,CAAC,CA4J5B"}
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.normalizeOptions = normalizeOptions;
4
- const project_name_and_root_utils_1 = require("@nx/devkit/src/generators/project-name-and-root-utils");
4
+ const internal_1 = require("@nx/devkit/internal");
5
5
  const ts_solution_setup_1 = require("@nx/js/src/utils/typescript/ts-solution-setup");
6
6
  async function normalizeOptions(host, options) {
7
- await (0, project_name_and_root_utils_1.ensureRootProjectName)(options, 'application');
8
- const { projectName, projectRoot: appProjectRoot, importPath, } = await (0, project_name_and_root_utils_1.determineProjectNameAndRootOptions)(host, {
7
+ await (0, internal_1.ensureRootProjectName)(options, 'application');
8
+ const { projectName, projectRoot: appProjectRoot, importPath, } = await (0, internal_1.determineProjectNameAndRootOptions)(host, {
9
9
  name: options.name,
10
10
  projectType: 'application',
11
11
  directory: options.directory,
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../../packages/vue/src/generators/component/lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAML,IAAI,EACL,MAAM,YAAY,CAAC;AAKpB,OAAO,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AAMvE,wBAAsB,gBAAgB,CACpC,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,wBAAwB,GAChC,OAAO,CAAC,gBAAgB,CAAC,CAsC3B;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,gBAAgB,QAqCvE"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../../packages/vue/src/generators/component/lib/utils.ts"],"names":[],"mappings":"AACA,OAAO,EAML,IAAI,EACL,MAAM,YAAY,CAAC;AAIpB,OAAO,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AAMvE,wBAAsB,gBAAgB,CACpC,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,wBAAwB,GAChC,OAAO,CAAC,gBAAgB,CAAC,CAsC3B;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,gBAAgB,QAqCvE"}
@@ -2,15 +2,15 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.normalizeOptions = normalizeOptions;
4
4
  exports.addExportsToBarrel = addExportsToBarrel;
5
+ const internal_1 = require("@nx/devkit/internal");
5
6
  const devkit_1 = require("@nx/devkit");
6
7
  const path_1 = require("path");
7
8
  const ensure_typescript_1 = require("@nx/js/src/utils/typescript/ensure-typescript");
8
- const artifact_name_and_directory_utils_1 = require("@nx/devkit/src/generators/artifact-name-and-directory-utils");
9
9
  const ast_utils_1 = require("../../../utils/ast-utils");
10
10
  const ts_solution_setup_1 = require("@nx/js/src/utils/typescript/ts-solution-setup");
11
11
  let tsModule;
12
12
  async function normalizeOptions(host, options) {
13
- const { fileName, filePath, directory, project: projectName, } = await (0, artifact_name_and_directory_utils_1.determineArtifactNameAndDirectoryOptions)(host, {
13
+ const { fileName, filePath, directory, project: projectName, } = await (0, internal_1.determineArtifactNameAndDirectoryOptions)(host, {
14
14
  path: options.path,
15
15
  allowedFileExtensions: ['vue'],
16
16
  fileExtension: 'vue',
@@ -1 +1 @@
1
- {"version":3,"file":"normalize-options.d.ts","sourceRoot":"","sources":["../../../../../../../packages/vue/src/generators/library/lib/normalize-options.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,IAAI,EACL,MAAM,YAAY,CAAC;AAKpB,OAAO,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAOrD,wBAAsB,gBAAgB,CACpC,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,MAAM,GACd,OAAO,CAAC,gBAAgB,CAAC,CAuF3B"}
1
+ {"version":3,"file":"normalize-options.d.ts","sourceRoot":"","sources":["../../../../../../../packages/vue/src/generators/library/lib/normalize-options.ts"],"names":[],"mappings":"AAIA,OAAO,EAKL,IAAI,EACL,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAOrD,wBAAsB,gBAAgB,CACpC,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,MAAM,GACd,OAAO,CAAC,gBAAgB,CAAC,CAuF3B"}
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.normalizeOptions = normalizeOptions;
4
+ const internal_1 = require("@nx/devkit/internal");
4
5
  const devkit_1 = require("@nx/devkit");
5
- const project_name_and_root_utils_1 = require("@nx/devkit/src/generators/project-name-and-root-utils");
6
6
  const ts_solution_setup_1 = require("@nx/js/src/utils/typescript/ts-solution-setup");
7
7
  async function normalizeOptions(host, options) {
8
- await (0, project_name_and_root_utils_1.ensureRootProjectName)(options, 'library');
9
- const { projectName, names: projectNames, projectRoot, importPath, } = await (0, project_name_and_root_utils_1.determineProjectNameAndRootOptions)(host, {
8
+ await (0, internal_1.ensureRootProjectName)(options, 'library');
9
+ const { projectName, names: projectNames, projectRoot, importPath, } = await (0, internal_1.determineProjectNameAndRootOptions)(host, {
10
10
  name: options.name,
11
11
  projectType: 'library',
12
12
  directory: options.directory,
@@ -1 +1 @@
1
- {"version":3,"file":"library.d.ts","sourceRoot":"","sources":["../../../../../../packages/vue/src/generators/library/library.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,iBAAiB,EAOjB,IAAI,EAGL,MAAM,YAAY,CAAC;AA0BpB,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,8BAM1D;AAED,wBAAsB,wBAAwB,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,8BAoKxE;AAED,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"library.d.ts","sourceRoot":"","sources":["../../../../../../packages/vue/src/generators/library/library.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,iBAAiB,EAOjB,IAAI,EAGL,MAAM,YAAY,CAAC;AAwBpB,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,8BAM1D;AAED,wBAAsB,wBAAwB,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,8BAoKxE;AAED,eAAe,gBAAgB,CAAC"}
@@ -3,9 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.libraryGenerator = libraryGenerator;
4
4
  exports.libraryGeneratorInternal = libraryGeneratorInternal;
5
5
  const tslib_1 = require("tslib");
6
+ const internal_1 = require("@nx/devkit/internal");
6
7
  const devkit_1 = require("@nx/devkit");
7
- const artifact_name_and_directory_utils_1 = require("@nx/devkit/src/generators/artifact-name-and-directory-utils");
8
- const log_show_project_command_1 = require("@nx/devkit/src/utils/log-show-project-command");
9
8
  const js_1 = require("@nx/js");
10
9
  const add_release_config_1 = require("@nx/js/src/generators/library/utils/add-release-config");
11
10
  const sort_fields_1 = require("@nx/js/src/utils/package-json/sort-fields");
@@ -86,7 +85,7 @@ async function libraryGeneratorInternal(tree, schema) {
86
85
  (0, create_library_files_1.createLibraryFiles)(tree, options);
87
86
  tasks.push(await (0, add_vite_1.addVite)(tree, options));
88
87
  if (options.component) {
89
- const relativeCwd = (0, artifact_name_and_directory_utils_1.getRelativeCwd)();
88
+ const relativeCwd = (0, internal_1.getRelativeCwd)();
90
89
  const path = (0, devkit_1.joinPathFragments)(options.projectRoot, 'src/lib', options.fileName);
91
90
  await (0, component_1.default)(tree, {
92
91
  path: relativeCwd ? (0, path_1.relative)(relativeCwd, path) : path,
@@ -137,7 +136,7 @@ async function libraryGeneratorInternal(tree, schema) {
137
136
  tasks.push(() => (0, devkit_1.installPackagesTask)(tree, true));
138
137
  }
139
138
  tasks.push(() => {
140
- (0, log_show_project_command_1.logShowProjectCommand)(options.name);
139
+ (0, internal_1.logShowProjectCommand)(options.name);
141
140
  });
142
141
  return (0, devkit_1.runTasksInSerial)(...tasks);
143
142
  }