fix(nuxt): change nuxi to nuxt (#21484)

This commit is contained in:
Katerina Skroumpelou 2024-02-01 18:07:51 +02:00 committed by GitHub
parent ec4f7c5532
commit ed4761d121
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 3073 additions and 415 deletions

View File

@ -63,8 +63,8 @@
"@ngrx/effects": "17.0.1",
"@ngrx/router-store": "17.0.1",
"@ngrx/store": "17.0.1",
"@nuxt/kit": "^3.8.1",
"@nuxt/schema": "^3.8.1",
"@nuxt/kit": "^3.10.0",
"@nuxt/schema": "^3.10.0",
"@nx/angular": "17.3.0-rc.1",
"@nx/cypress": "17.3.0-rc.1",
"@nx/devkit": "17.3.0-rc.1",
@ -232,7 +232,7 @@
"ng-packagr": "~17.1.0",
"node-fetch": "^2.6.7",
"npm-package-arg": "11.0.1",
"nuxi": "^3.10.0",
"nuxt": "^3.10.0",
"nx": "17.3.0-rc.1",
"octokit": "^2.0.14",
"open": "^8.4.0",

View File

@ -29,7 +29,7 @@
},
"dependencies": {
"tslib": "^2.3.0",
"@nuxt/kit": "^3.8.1",
"@nuxt/kit": "^3.10.0",
"@nx/devkit": "file:../devkit",
"@nx/js": "file:../js",
"@nx/eslint": "file:../eslint",

View File

@ -5,7 +5,7 @@ exports[`init should install required dependencies 1`] = `
"dependencies": {},
"devDependencies": {
"@nx/nuxt": "0.0.1",
"nuxi": "^3.8.1",
"nuxt": "^3.10.0",
},
"name": "@proj/source",
}

View File

@ -13,7 +13,7 @@ export function updateDependencies(host: Tree, schema: InitSchema) {
{},
{
'@nx/nuxt': nxVersion,
nuxi: nuxtVersion,
nuxt: nuxtVersion,
},
undefined,
schema.keepExistingVersions

View File

@ -8,7 +8,7 @@ exports[`@nx/nuxt/plugin not root project should create nodes 1`] = `
"targets": {
"build-something": {
"cache": true,
"command": "nuxi build",
"command": "nuxt build",
"dependsOn": [
"^build-something",
],
@ -17,7 +17,7 @@ exports[`@nx/nuxt/plugin not root project should create nodes 1`] = `
"^production",
{
"externalDependencies": [
"nuxi",
"nuxt",
],
},
],
@ -29,7 +29,7 @@ exports[`@nx/nuxt/plugin not root project should create nodes 1`] = `
],
},
"my-serve": {
"command": "nuxi dev",
"command": "nuxt dev",
"options": {
"cwd": "my-app",
},
@ -48,7 +48,7 @@ exports[`@nx/nuxt/plugin root project should create nodes 1`] = `
"targets": {
"build": {
"cache": true,
"command": "nuxi build",
"command": "nuxt build",
"dependsOn": [
"^build",
],
@ -57,7 +57,7 @@ exports[`@nx/nuxt/plugin root project should create nodes 1`] = `
"^production",
{
"externalDependencies": [
"nuxi",
"nuxt",
],
},
],
@ -69,7 +69,7 @@ exports[`@nx/nuxt/plugin root project should create nodes 1`] = `
],
},
"serve": {
"command": "nuxi dev",
"command": "nuxt dev",
"options": {
"cwd": ".",
},

View File

@ -124,7 +124,7 @@ function buildTarget(
projectRoot: string
) {
return {
command: `nuxi build`,
command: `nuxt build`,
options: { cwd: projectRoot },
cache: true,
dependsOn: [`^${buildTargetName}`],
@ -134,7 +134,7 @@ function buildTarget(
: ['default', '^default']),
{
externalDependencies: ['nuxi'],
externalDependencies: ['nuxt'],
},
],
outputs: buildOutputs,
@ -143,7 +143,7 @@ function buildTarget(
function serveTarget(projectRoot: string) {
const targetConfig: TargetConfiguration = {
command: `nuxi dev`,
command: `nuxt dev`,
options: {
cwd: projectRoot,
},

View File

@ -2,7 +2,7 @@ export const nxVersion = require('../../package.json').version;
// nuxt deps
export const h3Version = '^1.8.2';
export const nuxtVersion = '^3.8.1';
export const nuxtVersion = '^3.10.0';
export const nuxtDevtoolsVersion = '1.0.0';
export const nuxtUiTemplatesVersion = '^1.3.1';

3456
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff