@nx/nuxt 23.3.0-beta.7 → 23.3.0-beta.9

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
@@ -12,7 +12,7 @@
12
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)](<>)
13
13
  [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
14
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)
15
+ [![Hours saved](https://img.shields.io/endpoint?url=https%3A%2F%2Fstaging.nx.app%2Fnx-cloud%2Fbadge%2F62d013ea0852fe0a2df74438%2Fhours-saved.json)](https://nx.dev/nx-cloud)
16
16
 
17
17
  </div>
18
18
 
@@ -176,7 +176,7 @@ function normalizeOutputPath(outputPath, projectRoot) {
176
176
  }
177
177
  else {
178
178
  if ((0, path_1.isAbsolute)(outputPath)) {
179
- return `{workspaceRoot}/${(0, path_1.relative)(devkit_1.workspaceRoot, outputPath)}`;
179
+ return `{workspaceRoot}/${(0, devkit_1.normalizePath)((0, path_1.relative)(devkit_1.workspaceRoot, outputPath))}`;
180
180
  }
181
181
  else {
182
182
  if (outputPath.startsWith('..')) {
@@ -15,7 +15,7 @@ function updateGitIgnore(tree) {
15
15
  for (const entry of nuxtEntries) {
16
16
  const regex = new RegExp(`^${entry}$`, 'm');
17
17
  if (!regex.test(newContents)) {
18
- newContents += `\n${entry}`;
18
+ newContents += `${newContents ? '\n' : ''}${entry}`;
19
19
  }
20
20
  }
21
21
  tree.write('.gitignore', [newContents].join('\n'));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/nuxt",
3
- "version": "23.3.0-beta.7",
3
+ "version": "23.3.0-beta.9",
4
4
  "private": false,
5
5
  "description": "The Nuxt plugin for Nx contains executors and generators for managing Nuxt 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": {
@@ -59,24 +59,24 @@
59
59
  },
60
60
  "dependencies": {
61
61
  "tslib": "^2.3.0",
62
- "@nx/devkit": "23.3.0-beta.7",
63
- "@nx/js": "23.3.0-beta.7",
64
- "@nx/eslint": "23.3.0-beta.7",
65
- "@nx/vue": "23.3.0-beta.7",
66
- "@nx/vite": "23.3.0-beta.7",
67
- "@nx/vitest": "23.3.0-beta.7",
62
+ "@nx/devkit": "23.3.0-beta.9",
63
+ "@nx/js": "23.3.0-beta.9",
64
+ "@nx/eslint": "23.3.0-beta.9",
65
+ "@nx/vue": "23.3.0-beta.9",
66
+ "@nx/vite": "23.3.0-beta.9",
67
+ "@nx/vitest": "23.3.0-beta.9",
68
68
  "semver": "^7.6.3"
69
69
  },
70
70
  "devDependencies": {
71
71
  "nuxt": "^3.21.10",
72
- "nx": "23.3.0-beta.7"
72
+ "nx": "23.3.0-beta.9"
73
73
  },
74
74
  "peerDependencies": {
75
75
  "nuxt": ">=3.0.0 <5.0.0",
76
76
  "@nuxt/schema": "^3.0.0 || ^4.0.0",
77
77
  "@nuxt/kit": "^3.0.0 || ^4.0.0",
78
- "@nx/cypress": "23.3.0-beta.7",
79
- "@nx/playwright": "23.3.0-beta.7"
78
+ "@nx/cypress": "23.3.0-beta.9",
79
+ "@nx/playwright": "23.3.0-beta.9"
80
80
  },
81
81
  "peerDependenciesMeta": {
82
82
  "nuxt": {