@nx/vue 23.0.0 → 23.1.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/README.md CHANGED
@@ -7,13 +7,12 @@
7
7
 
8
8
  <div style="text-align: center;">
9
9
 
10
- [![CircleCI](https://circleci.com/gh/nrwl/nx.svg?style=svg)](https://circleci.com/gh/nrwl/nx)
11
10
  [![License](https://img.shields.io/npm/l/@nx/workspace.svg?style=flat-square)]()
12
11
  [![NPM Version](https://badge.fury.io/js/nx.svg)](https://www.npmjs.com/package/nx)
13
12
  [![Semantic Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square)]()
14
13
  [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
15
- [![Join the chat at https://gitter.im/nrwl-nx/community](https://badges.gitter.im/nrwl-nx/community.svg)](https://gitter.im/nrwl-nx/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
16
14
  [![Join us on the Official Nx Discord Server](https://img.shields.io/discord/1143497901675401286?label=discord)](https://go.nx.dev/community)
15
+ [![Nx Sandboxing](https://staging.nx.app/workspaces/62d013ea0852fe0a2df74438/sandbox-badge.svg)](https://nx.dev/docs/features/ci-features/sandboxing)
17
16
 
18
17
  </div>
19
18
 
@@ -6,7 +6,6 @@ const eslint_1 = require("@nx/eslint");
6
6
  const internal_1 = require("@nx/eslint/internal");
7
7
  const path_1 = require("nx/src/utils/path");
8
8
  const versions_1 = require("./versions");
9
- const semver_1 = require("semver");
10
9
  async function addLinting(host, options, projectType) {
11
10
  if (options.linter === 'eslint') {
12
11
  const tasks = [];
@@ -35,12 +34,9 @@ async function addLinting(host, options, projectType) {
35
34
  tasks.push(addExtendsTask);
36
35
  }
37
36
  editEslintConfigFiles(host, options.projectRoot);
38
- const eslintVersion = (0, internal_1.getInstalledEslintVersion)(host);
39
37
  const devDependencies = {
40
38
  '@vue/eslint-config-prettier': versions_1.vueEslintConfigPrettierVersion,
41
- '@vue/eslint-config-typescript': eslintVersion && (0, semver_1.lt)(eslintVersion, '9.0.0')
42
- ? versions_1.vueEslintConfigTypescriptVersion
43
- : versions_1.eslint9__VueEslintConfigTypescriptVersion,
39
+ '@vue/eslint-config-typescript': versions_1.vueEslintConfigTypescriptVersion,
44
40
  'eslint-plugin-vue': versions_1.eslintPluginVueVersion,
45
41
  };
46
42
  if ((0, internal_1.isEslintConfigSupported)(host, options.projectRoot) &&
@@ -43,12 +43,11 @@ function createTsConfigForNonTsSolution(host, projectRoot, type, options, relati
43
43
  const json = {
44
44
  compilerOptions: {
45
45
  allowJs: true,
46
- esModuleInterop: false,
47
46
  allowSyntheticDefaultImports: true,
48
47
  strict: options.strict,
49
48
  jsx: 'preserve',
50
49
  jsxImportSource: 'vue',
51
- moduleResolution: 'node',
50
+ moduleResolution: 'bundler',
52
51
  resolveJsonModule: true,
53
52
  },
54
53
  files: [],
@@ -68,7 +67,7 @@ function createTsConfigForNonTsSolution(host, projectRoot, type, options, relati
68
67
  if (options.rootProject) {
69
68
  json.compileOnSave = false;
70
69
  json.compilerOptions = {
71
- ...shared.tsConfigBaseOptions,
70
+ ...(0, internal_1.getTsConfigBaseOptions)(host),
72
71
  ...json.compilerOptions,
73
72
  };
74
73
  json.exclude = ['node_modules', 'tmp'];
@@ -6,8 +6,7 @@ export declare const vueRouterVersion = "^4.5.0";
6
6
  export declare const vueTestUtilsVersion = "^2.4.6";
7
7
  export declare const vitePluginVueVersion = "^6.0.1";
8
8
  export declare const vueEslintConfigPrettierVersion = "^10.2.0";
9
- export declare const vueEslintConfigTypescriptVersion = "^11.0.3";
10
- export declare const eslint9__VueEslintConfigTypescriptVersion = "^14.6.0";
9
+ export declare const vueEslintConfigTypescriptVersion = "^14.6.0";
11
10
  export declare const eslintPluginVueVersion = "^9.16.1";
12
11
  export declare const postcssVersion = "8.4.21";
13
12
  export declare const autoprefixerVersion = "10.4.13";
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.sassVersion = exports.autoprefixerVersion = exports.postcssVersion = exports.eslintPluginVueVersion = exports.eslint9__VueEslintConfigTypescriptVersion = exports.vueEslintConfigTypescriptVersion = exports.vueEslintConfigPrettierVersion = exports.vitePluginVueVersion = exports.vueTestUtilsVersion = exports.vueRouterVersion = exports.vueTscVersion = exports.vueVersion = exports.minSupportedVueVersion = exports.nxVersion = void 0;
3
+ exports.sassVersion = exports.autoprefixerVersion = exports.postcssVersion = exports.eslintPluginVueVersion = exports.vueEslintConfigTypescriptVersion = exports.vueEslintConfigPrettierVersion = exports.vitePluginVueVersion = exports.vueTestUtilsVersion = exports.vueRouterVersion = exports.vueTscVersion = exports.vueVersion = exports.minSupportedVueVersion = exports.nxVersion = void 0;
4
4
  const path_1 = require("path");
5
5
  exports.nxVersion = require((0, path_1.join)('@nx/vue', 'package.json')).version;
6
6
  // Lowest Vue major the plugin supports. Vue 2 is EOL (2023-12-31); the plugin
@@ -15,8 +15,7 @@ exports.vueTestUtilsVersion = '^2.4.6';
15
15
  exports.vitePluginVueVersion = '^6.0.1';
16
16
  // linting deps
17
17
  exports.vueEslintConfigPrettierVersion = '^10.2.0';
18
- exports.vueEslintConfigTypescriptVersion = '^11.0.3';
19
- exports.eslint9__VueEslintConfigTypescriptVersion = '^14.6.0';
18
+ exports.vueEslintConfigTypescriptVersion = '^14.6.0';
20
19
  exports.eslintPluginVueVersion = '^9.16.1';
21
20
  exports.postcssVersion = '8.4.21';
22
21
  exports.autoprefixerVersion = '10.4.13';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/vue",
3
- "version": "23.0.0",
3
+ "version": "23.1.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, 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": {
@@ -62,17 +62,16 @@
62
62
  },
63
63
  "dependencies": {
64
64
  "picomatch": "4.0.4",
65
- "semver": "^7.6.3",
66
65
  "tslib": "^2.3.0",
67
- "@nx/vite": "23.0.0",
68
- "@nx/vitest": "23.0.0",
69
- "@nx/eslint": "23.0.0",
70
- "@nx/devkit": "23.0.0",
71
- "@nx/js": "23.0.0",
72
- "@nx/web": "23.0.0"
66
+ "@nx/eslint": "23.1.0-beta.0",
67
+ "@nx/js": "23.1.0-beta.0",
68
+ "@nx/devkit": "23.1.0-beta.0",
69
+ "@nx/vite": "23.1.0-beta.0",
70
+ "@nx/vitest": "23.1.0-beta.0",
71
+ "@nx/web": "23.1.0-beta.0"
73
72
  },
74
73
  "devDependencies": {
75
- "nx": "23.0.0"
74
+ "nx": "23.1.0-beta.0"
76
75
  },
77
76
  "publishConfig": {
78
77
  "access": "public"
@@ -82,10 +81,10 @@
82
81
  "vue-router": "^4.0.0",
83
82
  "vue-tsc": "^2.0.0",
84
83
  "@vitejs/plugin-vue": "^5.0.0 || ^6.0.0",
85
- "@nx/cypress": "23.0.0",
86
- "@nx/playwright": "23.0.0",
87
- "@nx/storybook": "23.0.0",
88
- "@nx/rsbuild": "23.0.0"
84
+ "@nx/cypress": "23.1.0-beta.0",
85
+ "@nx/rsbuild": "23.1.0-beta.0",
86
+ "@nx/storybook": "23.1.0-beta.0",
87
+ "@nx/playwright": "23.1.0-beta.0"
89
88
  },
90
89
  "peerDependenciesMeta": {
91
90
  "@nx/cypress": {