fix(nuxt): change nuxi to nuxt (#21484)
This commit is contained in:
parent
ec4f7c5532
commit
ed4761d121
@ -63,8 +63,8 @@
|
|||||||
"@ngrx/effects": "17.0.1",
|
"@ngrx/effects": "17.0.1",
|
||||||
"@ngrx/router-store": "17.0.1",
|
"@ngrx/router-store": "17.0.1",
|
||||||
"@ngrx/store": "17.0.1",
|
"@ngrx/store": "17.0.1",
|
||||||
"@nuxt/kit": "^3.8.1",
|
"@nuxt/kit": "^3.10.0",
|
||||||
"@nuxt/schema": "^3.8.1",
|
"@nuxt/schema": "^3.10.0",
|
||||||
"@nx/angular": "17.3.0-rc.1",
|
"@nx/angular": "17.3.0-rc.1",
|
||||||
"@nx/cypress": "17.3.0-rc.1",
|
"@nx/cypress": "17.3.0-rc.1",
|
||||||
"@nx/devkit": "17.3.0-rc.1",
|
"@nx/devkit": "17.3.0-rc.1",
|
||||||
@ -232,7 +232,7 @@
|
|||||||
"ng-packagr": "~17.1.0",
|
"ng-packagr": "~17.1.0",
|
||||||
"node-fetch": "^2.6.7",
|
"node-fetch": "^2.6.7",
|
||||||
"npm-package-arg": "11.0.1",
|
"npm-package-arg": "11.0.1",
|
||||||
"nuxi": "^3.10.0",
|
"nuxt": "^3.10.0",
|
||||||
"nx": "17.3.0-rc.1",
|
"nx": "17.3.0-rc.1",
|
||||||
"octokit": "^2.0.14",
|
"octokit": "^2.0.14",
|
||||||
"open": "^8.4.0",
|
"open": "^8.4.0",
|
||||||
|
|||||||
@ -29,7 +29,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"tslib": "^2.3.0",
|
"tslib": "^2.3.0",
|
||||||
"@nuxt/kit": "^3.8.1",
|
"@nuxt/kit": "^3.10.0",
|
||||||
"@nx/devkit": "file:../devkit",
|
"@nx/devkit": "file:../devkit",
|
||||||
"@nx/js": "file:../js",
|
"@nx/js": "file:../js",
|
||||||
"@nx/eslint": "file:../eslint",
|
"@nx/eslint": "file:../eslint",
|
||||||
|
|||||||
@ -5,7 +5,7 @@ exports[`init should install required dependencies 1`] = `
|
|||||||
"dependencies": {},
|
"dependencies": {},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@nx/nuxt": "0.0.1",
|
"@nx/nuxt": "0.0.1",
|
||||||
"nuxi": "^3.8.1",
|
"nuxt": "^3.10.0",
|
||||||
},
|
},
|
||||||
"name": "@proj/source",
|
"name": "@proj/source",
|
||||||
}
|
}
|
||||||
|
|||||||
@ -13,7 +13,7 @@ export function updateDependencies(host: Tree, schema: InitSchema) {
|
|||||||
{},
|
{},
|
||||||
{
|
{
|
||||||
'@nx/nuxt': nxVersion,
|
'@nx/nuxt': nxVersion,
|
||||||
nuxi: nuxtVersion,
|
nuxt: nuxtVersion,
|
||||||
},
|
},
|
||||||
undefined,
|
undefined,
|
||||||
schema.keepExistingVersions
|
schema.keepExistingVersions
|
||||||
|
|||||||
@ -8,7 +8,7 @@ exports[`@nx/nuxt/plugin not root project should create nodes 1`] = `
|
|||||||
"targets": {
|
"targets": {
|
||||||
"build-something": {
|
"build-something": {
|
||||||
"cache": true,
|
"cache": true,
|
||||||
"command": "nuxi build",
|
"command": "nuxt build",
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"^build-something",
|
"^build-something",
|
||||||
],
|
],
|
||||||
@ -17,7 +17,7 @@ exports[`@nx/nuxt/plugin not root project should create nodes 1`] = `
|
|||||||
"^production",
|
"^production",
|
||||||
{
|
{
|
||||||
"externalDependencies": [
|
"externalDependencies": [
|
||||||
"nuxi",
|
"nuxt",
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
@ -29,7 +29,7 @@ exports[`@nx/nuxt/plugin not root project should create nodes 1`] = `
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
"my-serve": {
|
"my-serve": {
|
||||||
"command": "nuxi dev",
|
"command": "nuxt dev",
|
||||||
"options": {
|
"options": {
|
||||||
"cwd": "my-app",
|
"cwd": "my-app",
|
||||||
},
|
},
|
||||||
@ -48,7 +48,7 @@ exports[`@nx/nuxt/plugin root project should create nodes 1`] = `
|
|||||||
"targets": {
|
"targets": {
|
||||||
"build": {
|
"build": {
|
||||||
"cache": true,
|
"cache": true,
|
||||||
"command": "nuxi build",
|
"command": "nuxt build",
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"^build",
|
"^build",
|
||||||
],
|
],
|
||||||
@ -57,7 +57,7 @@ exports[`@nx/nuxt/plugin root project should create nodes 1`] = `
|
|||||||
"^production",
|
"^production",
|
||||||
{
|
{
|
||||||
"externalDependencies": [
|
"externalDependencies": [
|
||||||
"nuxi",
|
"nuxt",
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
@ -69,7 +69,7 @@ exports[`@nx/nuxt/plugin root project should create nodes 1`] = `
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
"serve": {
|
"serve": {
|
||||||
"command": "nuxi dev",
|
"command": "nuxt dev",
|
||||||
"options": {
|
"options": {
|
||||||
"cwd": ".",
|
"cwd": ".",
|
||||||
},
|
},
|
||||||
|
|||||||
@ -124,7 +124,7 @@ function buildTarget(
|
|||||||
projectRoot: string
|
projectRoot: string
|
||||||
) {
|
) {
|
||||||
return {
|
return {
|
||||||
command: `nuxi build`,
|
command: `nuxt build`,
|
||||||
options: { cwd: projectRoot },
|
options: { cwd: projectRoot },
|
||||||
cache: true,
|
cache: true,
|
||||||
dependsOn: [`^${buildTargetName}`],
|
dependsOn: [`^${buildTargetName}`],
|
||||||
@ -134,7 +134,7 @@ function buildTarget(
|
|||||||
: ['default', '^default']),
|
: ['default', '^default']),
|
||||||
|
|
||||||
{
|
{
|
||||||
externalDependencies: ['nuxi'],
|
externalDependencies: ['nuxt'],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
outputs: buildOutputs,
|
outputs: buildOutputs,
|
||||||
@ -143,7 +143,7 @@ function buildTarget(
|
|||||||
|
|
||||||
function serveTarget(projectRoot: string) {
|
function serveTarget(projectRoot: string) {
|
||||||
const targetConfig: TargetConfiguration = {
|
const targetConfig: TargetConfiguration = {
|
||||||
command: `nuxi dev`,
|
command: `nuxt dev`,
|
||||||
options: {
|
options: {
|
||||||
cwd: projectRoot,
|
cwd: projectRoot,
|
||||||
},
|
},
|
||||||
|
|||||||
@ -2,7 +2,7 @@ export const nxVersion = require('../../package.json').version;
|
|||||||
|
|
||||||
// nuxt deps
|
// nuxt deps
|
||||||
export const h3Version = '^1.8.2';
|
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 nuxtDevtoolsVersion = '1.0.0';
|
||||||
export const nuxtUiTemplatesVersion = '^1.3.1';
|
export const nuxtUiTemplatesVersion = '^1.3.1';
|
||||||
|
|
||||||
|
|||||||
3456
pnpm-lock.yaml
generated
3456
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user