mirror of
https://github.com/tiennm99/sokoban.git
synced 2026-10-11 03:13:52 +00:00
chore: migrate from npm to pnpm
This commit is contained in:
1 parent
258af0cf57
commit
6ce9fcfdf1
6 files changed
+4048
-5528
No files matched your search
@@ -22,17 +22,22 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup pnpm
|
||||
uses: pnpm/action-setup@v4
|
||||
with:
|
||||
version: 11
|
||||
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: 'npm'
|
||||
|
||||
cache: 'pnpm'
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Build
|
||||
run: npm run build
|
||||
run: pnpm build
|
||||
|
||||
- name: Setup Pages
|
||||
uses: actions/configure-pages@v4
|
||||
|
||||
@@ -17,9 +17,9 @@ Play: [https://tiennm99.github.io/sokoban/](https://tiennm99.github.io/sokoban/)
|
||||
## Development
|
||||
|
||||
```bash
|
||||
npm install
|
||||
npm run dev # dev server on http://localhost:8080
|
||||
npm run build # production build
|
||||
pnpm install
|
||||
pnpm dev # dev server on http://localhost:8080
|
||||
pnpm build # production build
|
||||
```
|
||||
|
||||
## Project layout
|
||||
|
||||
Generated
-5517
File diff suppressed because it is too large.
Load diff
+6
-3
@@ -3,6 +3,7 @@
|
||||
"description": "A simple Sokoban game built with Svelte 5 and Vite",
|
||||
"version": "1.0.0",
|
||||
"type": "module",
|
||||
"packageManager": "pnpm@11.1.1",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/tiennm99/sokoban.git"
|
||||
@@ -25,8 +26,10 @@
|
||||
"vite": "^6.4.2",
|
||||
"vite-plugin-pwa": "^1.2.0"
|
||||
},
|
||||
"overrides": {
|
||||
"serialize-javascript": ">=7.0.5",
|
||||
"fast-uri": ">=3.1.2"
|
||||
"pnpm": {
|
||||
"overrides": {
|
||||
"serialize-javascript": ">=7.0.5",
|
||||
"fast-uri": ">=3.1.2"
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
+4027
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,2 @@
|
||||
allowBuilds:
|
||||
esbuild: true
|
||||
Reference in new issue
Block a user