Skip to content

Commit

Permalink
⬆️ pnpm 9.12.1 without 'nuxi' not found #54
Browse files Browse the repository at this point in the history
  • Loading branch information
trydofor committed Oct 14, 2024
1 parent d40d46f commit 5710bb5
Show file tree
Hide file tree
Showing 10 changed files with 712 additions and 616 deletions.
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
nodejs 20.16.0
pnpm 9.9.0
pnpm 9.12.1
36 changes: 36 additions & 0 deletions hoist-layer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,41 @@
"vitest": "catalog:commonDev",
"vue-tsc": "catalog:commonDev"
}
},
{
"name": "@fessional/razor-mobile",
"dependencies": {
"@capacitor/preferences": "catalog:mobile",
"@ionic/vue": "catalog:mobile",
"@ionic/vue-router": "catalog:mobile",
"ionicons": "catalog:mobile",
"@vueuse/core": "catalog:common",
"@vueuse/nuxt": "catalog:common",
"vue": "catalog:common"
},
"devDependencies": {
"@fessional/razor-common": "workspace:*",
"@nuxtjs/ionic": "catalog:mobileDev",
"@iconify-json/mdi": "catalog:commonDev",
"@nuxt/eslint": "catalog:commonDev",
"@nuxt/test-utils": "catalog:commonDev",
"@unocss/core": "catalog:commonDev",
"@unocss/nuxt": "catalog:commonDev",
"@unocss/preset-icons": "catalog:commonDev",
"@unocss/preset-wind": "catalog:commonDev",
"@vitest/coverage-v8": "catalog:commonDev",
"@vue/test-utils": "catalog:commonDev",
"eslint": "catalog:commonDev",
"happy-dom": "catalog:commonDev",
"nuxt": "catalog:commonDev",
"typescript": "catalog:commonDev",
"unocss": "catalog:commonDev",
"vite-plugin-eslint2": "catalog:commonDev",
"vitest": "catalog:commonDev",
"vue-tsc": "catalog:commonDev"
},
"hoistLayer": [
"@fessional/razor-common"
]
}
]
2 changes: 1 addition & 1 deletion layers/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@
"@vueuse/nuxt": "catalog:common",
"vue": "catalog:common"
}
}
}
617 changes: 323 additions & 294 deletions layers/common/pnpm-lock.yaml

Large diffs are not rendered by default.

635 changes: 332 additions & 303 deletions layers/mobile/pnpm-lock.yaml

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
"readme.md"
],
"scripts": {
"del:all": "rimraf -g '**/node_modules/' '**/pnpm-lock.yaml'",
"del:dep": "rimraf -g '**/node_modules/'",
"del:gen": "rimraf -g '**/.nuxt/' '**/.output/' '**/dist/'",
"del:all": "rimraf -g **/node_modules/ **/pnpm-lock.yaml",
"del:dep": "rimraf -g **/node_modules/",
"del:gen": "rimraf -g **/.nuxt/ **/.output/ **/dist/",
"dep:latest": "taze -r -l latest",
"dev:gen": "pnpm -r exec nuxi prepare",
"dev:test": "pnpm -r exec vitest --no-watch --coverage.enabled true",
Expand Down
22 changes: 11 additions & 11 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ packages:
catalogs:
manage:
"@changesets/cli": "2.27.8"
"pnpm-hoist-layer": "1.1.5"
"pnpm-hoist-layer": "1.1.6"
"rimraf": "6.0.1"
"taze": "0.17.2"
common:
Expand Down
3 changes: 2 additions & 1 deletion readme-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,9 @@ pnpm -r i --frozen-lockfile

## 💚 for Dev
pnpm -w i --ignore-pnpmfile
pnpm -r i --ignore-scripts
pnpm -r i
# 如果 nuxi prepare时,出现 Cannot find package 'nuxi' 错误
pnpm -r i -f

## 🧪 测试
pnpm dev:test
Expand Down
3 changes: 2 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,9 @@ pnpm -r i --frozen-lockfile

## 💚 for Dev
pnpm -w i --ignore-pnpmfile
pnpm -r i --ignore-scripts
pnpm -r i
# if Cannot find package 'nuxi' when nuxi prepare
pnpm -r i -f

## 🧪 testing
pnpm dev:test
Expand Down

0 comments on commit 5710bb5

Please sign in to comment.