@nx/vue 20.3.2 → 20.3.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.3.2",
3
+ "version": "20.3.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.3.2",
35
- "@nx/js": "20.3.2",
36
- "@nx/eslint": "20.3.2",
37
- "@nx/vite": "20.3.2",
38
- "@nx/web": "20.3.2"
34
+ "@nx/devkit": "20.3.4",
35
+ "@nx/js": "20.3.4",
36
+ "@nx/eslint": "20.3.4",
37
+ "@nx/vite": "20.3.4",
38
+ "@nx/web": "20.3.4"
39
39
  },
40
40
  "publishConfig": {
41
41
  "access": "public"
@@ -17,6 +17,7 @@ const ensure_dependencies_1 = require("../../utils/ensure-dependencies");
17
17
  const log_show_project_command_1 = require("@nx/devkit/src/utils/log-show-project-command");
18
18
  const get_import_path_1 = require("@nx/js/src/utils/get-import-path");
19
19
  const ts_solution_setup_1 = require("@nx/js/src/utils/typescript/ts-solution-setup");
20
+ const sort_fields_1 = require("@nx/js/src/utils/package-json/sort-fields");
20
21
  function applicationGenerator(tree, options) {
21
22
  return applicationGeneratorInternal(tree, { addPlugin: false, ...options });
22
23
  }
@@ -106,6 +107,7 @@ async function applicationGeneratorInternal(tree, _options) {
106
107
  if (options.isUsingTsSolutionConfig) {
107
108
  (0, ts_solution_setup_1.addProjectToTsSolutionWorkspace)(tree, options.appProjectRoot);
108
109
  }
110
+ (0, sort_fields_1.sortPackageJsonFields)(tree, options.appProjectRoot);
109
111
  if (!options.skipFormat)
110
112
  await (0, devkit_1.formatFiles)(tree);
111
113
  tasks.push(() => {
@@ -18,6 +18,7 @@ const path_1 = require("path");
18
18
  const get_import_path_1 = require("@nx/js/src/utils/get-import-path");
19
19
  const ts_solution_setup_1 = require("@nx/js/src/utils/typescript/ts-solution-setup");
20
20
  const determine_entry_fields_1 = require("./lib/determine-entry-fields");
21
+ const sort_fields_1 = require("@nx/js/src/utils/package-json/sort-fields");
21
22
  function libraryGenerator(tree, schema) {
22
23
  return libraryGeneratorInternal(tree, { addPlugin: false, ...schema });
23
24
  }
@@ -107,6 +108,7 @@ async function libraryGeneratorInternal(tree, schema) {
107
108
  if (options.isUsingTsSolutionConfig) {
108
109
  (0, ts_solution_setup_1.addProjectToTsSolutionWorkspace)(tree, options.projectRoot);
109
110
  }
111
+ (0, sort_fields_1.sortPackageJsonFields)(tree, options.projectRoot);
110
112
  if (!options.skipFormat)
111
113
  await (0, devkit_1.formatFiles)(tree);
112
114
  // Always run install to link packages.