@nx/vue 17.1.1 → 17.2.0-beta.0

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.1.1",
3
+ "version": "17.2.0-beta.0",
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": {
@@ -30,11 +30,11 @@
30
30
  "dependencies": {
31
31
  "minimatch": "3.0.5",
32
32
  "tslib": "^2.3.0",
33
- "@nx/devkit": "17.1.1",
34
- "@nx/js": "17.1.1",
35
- "@nx/eslint": "17.1.1",
36
- "@nx/vite": "17.1.1",
37
- "@nx/web": "17.1.1"
33
+ "@nx/devkit": "17.2.0-beta.0",
34
+ "@nx/js": "17.2.0-beta.0",
35
+ "@nx/eslint": "17.2.0-beta.0",
36
+ "@nx/vite": "17.2.0-beta.0",
37
+ "@nx/web": "17.2.0-beta.0"
38
38
  },
39
39
  "publishConfig": {
40
40
  "access": "public"
@@ -36,7 +36,7 @@ async function addVite(tree, options) {
36
36
  const vitestTask = await vitestGenerator(tree, {
37
37
  uiFramework: 'none',
38
38
  project: options.name,
39
- coverageProvider: 'c8',
39
+ coverageProvider: 'v8',
40
40
  inSourceTests: options.inSourceTests,
41
41
  skipFormat: true,
42
42
  testEnvironment: 'jsdom',
@@ -6,7 +6,7 @@ const devkit_1 = require("@nx/devkit");
6
6
  const versions_1 = require("../../utils/versions");
7
7
  async function generateStories(host, schema) {
8
8
  await (0, stories_1.default)(host, {
9
- project: schema.name,
9
+ project: schema.project,
10
10
  js: schema.js,
11
11
  ignorePaths: schema.ignorePaths,
12
12
  skipFormat: true,
@@ -16,7 +16,7 @@ async function generateStories(host, schema) {
16
16
  async function storybookConfigurationGenerator(host, schema) {
17
17
  const { configurationGenerator } = (0, devkit_1.ensurePackage)('@nx/storybook', versions_1.nxVersion);
18
18
  const installTask = await configurationGenerator(host, {
19
- name: schema.name,
19
+ project: schema.project,
20
20
  js: schema.js,
21
21
  linter: schema.linter,
22
22
  tsConfiguration: schema.tsConfiguration ?? true,
@@ -1,7 +1,7 @@
1
1
  import { Linter } from '@nx/eslint';
2
2
 
3
3
  export interface StorybookConfigureSchema {
4
- name: string;
4
+ project: string;
5
5
  interactionTests?: boolean;
6
6
  generateStories?: boolean;
7
7
  js?: boolean;
@@ -6,9 +6,9 @@
6
6
  "description": "Set up Storybook for a Vue project.",
7
7
  "type": "object",
8
8
  "properties": {
9
- "name": {
9
+ "project": {
10
10
  "type": "string",
11
- "aliases": ["project", "projectName"],
11
+ "aliases": ["name", "projectName"],
12
12
  "description": "Project for which to generate Storybook configuration.",
13
13
  "$default": {
14
14
  "$source": "argv",
@@ -75,6 +75,6 @@
75
75
  ]
76
76
  }
77
77
  },
78
- "required": ["name"],
78
+ "required": ["project"],
79
79
  "examplesFile": "../../../docs/storybook-configuration-examples.md"
80
80
  }