@nx/vue 17.3.0-beta.5 → 17.3.0-beta.8

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": "17.3.0-beta.5",
3
+ "version": "17.3.0-beta.8",
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": {
@@ -28,13 +28,13 @@
28
28
  "migrations": "./migrations.json"
29
29
  },
30
30
  "dependencies": {
31
- "minimatch": "3.0.5",
31
+ "minimatch": "9.0.3",
32
32
  "tslib": "^2.3.0",
33
- "@nx/devkit": "17.3.0-beta.5",
34
- "@nx/js": "17.3.0-beta.5",
35
- "@nx/eslint": "17.3.0-beta.5",
36
- "@nx/vite": "17.3.0-beta.5",
37
- "@nx/web": "17.3.0-beta.5"
33
+ "@nx/devkit": "17.3.0-beta.8",
34
+ "@nx/js": "17.3.0-beta.8",
35
+ "@nx/eslint": "17.3.0-beta.8",
36
+ "@nx/vite": "17.3.0-beta.8",
37
+ "@nx/web": "17.3.0-beta.8"
38
38
  },
39
39
  "publishConfig": {
40
40
  "access": "public"
@@ -6,7 +6,7 @@ const versions_1 = require("../../utils/versions");
6
6
  function updateDependencies(host, schema) {
7
7
  const tasks = [];
8
8
  tasks.push((0, devkit_1.removeDependenciesFromPackageJson)(host, ['@nx/vue'], []));
9
- tasks.push((0, devkit_1.addDependenciesToPackageJson)(host, { vue: versions_1.vueVersion }, { '@nx/vue': versions_1.nxVersion }));
9
+ tasks.push((0, devkit_1.addDependenciesToPackageJson)(host, { vue: versions_1.vueVersion }, { '@nx/vue': versions_1.nxVersion }, undefined, schema.keepExistingVersions));
10
10
  return (0, devkit_1.runTasksInSerial)(...tasks);
11
11
  }
12
12
  async function vueInitGenerator(host, schema) {
@@ -1,4 +1,5 @@
1
1
  export interface InitSchema {
2
2
  skipFormat?: boolean;
3
3
  skipPackageJson?: boolean;
4
+ keepExistingVersions?: boolean;
4
5
  }
@@ -15,6 +15,12 @@
15
15
  "description": "Do not add dependencies to `package.json`.",
16
16
  "type": "boolean",
17
17
  "default": false
18
+ },
19
+ "keepExistingVersions": {
20
+ "type": "boolean",
21
+ "x-priority": "internal",
22
+ "description": "Keep existing dependencies versions",
23
+ "default": false
18
24
  }
19
25
  },
20
26
  "required": []
@@ -5,7 +5,7 @@ const devkit_1 = require("@nx/devkit");
5
5
  const path_1 = require("path");
6
6
  const versions_1 = require("../../utils/versions");
7
7
  const component_story_1 = require("./lib/component-story");
8
- const minimatch = require("minimatch");
8
+ const minimatch_1 = require("minimatch");
9
9
  async function createAllStories(tree, projectName, interactionTests, js, projectConfiguration, ignorePaths) {
10
10
  const { sourceRoot } = projectConfiguration;
11
11
  let componentPaths = [];
@@ -19,7 +19,7 @@ async function createAllStories(tree, projectName, interactionTests, js, project
19
19
  // Ignore private files starting with "_".
20
20
  if ((0, path_1.basename)(path).startsWith('_'))
21
21
  return;
22
- if (ignorePaths?.some((pattern) => minimatch(path, pattern)))
22
+ if (ignorePaths?.some((pattern) => (0, minimatch_1.minimatch)(path, pattern)))
23
23
  return;
24
24
  if (path.endsWith('.vue')) {
25
25
  // Let's see if the .stories.* file exists