mirror of
https://github.com/tiennm99/nntv.git
synced 2026-10-16 00:15:12 +00:00
chore: migrate from npm to pnpm
This commit is contained in:
1 parent
41d500fa19
commit
a9d01990a1
6 files changed
+1126
-1724
No files matched your search
@@ -22,17 +22,21 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- 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
|
||||
|
||||
@@ -4,7 +4,7 @@ Turn-based stealth puzzle game built with Svelte 5. Play as a ninja rabbit navig
|
||||
grid-based levels inside the Vegetable Kingdom, avoiding detection by vegetable guards
|
||||
to rescue the missing carrot princess.
|
||||
|
||||
Play: `npm run dev` → `http://localhost:5173`
|
||||
Play: `pnpm dev` → `http://localhost:5173`
|
||||
|
||||
---
|
||||
|
||||
@@ -28,7 +28,7 @@ Play: `npm run dev` → `http://localhost:5173`
|
||||
|
||||
## Requirements
|
||||
|
||||
[Node.js](https://nodejs.org) 18+ and npm.
|
||||
[Node.js](https://nodejs.org) 18+ and [pnpm](https://pnpm.io).
|
||||
|
||||
---
|
||||
|
||||
@@ -37,8 +37,8 @@ Play: `npm run dev` → `http://localhost:5173`
|
||||
```sh
|
||||
git clone https://github.com/tiennm99/nntv
|
||||
cd nntv
|
||||
npm install
|
||||
npm run dev # dev server at http://localhost:5173
|
||||
pnpm install
|
||||
pnpm dev # dev server at http://localhost:5173
|
||||
```
|
||||
|
||||
---
|
||||
@@ -47,11 +47,11 @@ npm run dev # dev server at http://localhost:5173
|
||||
|
||||
| Command | Description |
|
||||
|---|---|
|
||||
| `npm run dev` | Start development server |
|
||||
| `npm run build` | Production build → `dist/` |
|
||||
| `npm run preview` | Preview production build locally |
|
||||
| `npm test` | Run all unit + solvability tests |
|
||||
| `npm run test:solvability` | Run only the BFS solvability suite |
|
||||
| `pnpm dev` | Start development server |
|
||||
| `pnpm build` | Production build → `dist/` |
|
||||
| `pnpm preview` | Preview production build locally |
|
||||
| `pnpm test` | Run all unit + solvability tests |
|
||||
| `pnpm test:solvability` | Run only the BFS solvability suite |
|
||||
|
||||
---
|
||||
|
||||
|
||||
Generated
-1710
File diff suppressed because it is too large.
Load diff
@@ -3,6 +3,7 @@
|
||||
"description": "Night Ninja: Twilight Voyage",
|
||||
"private": true,
|
||||
"version": "0.1.0",
|
||||
"packageManager": "pnpm@11.1.1",
|
||||
"type": "module",
|
||||
"license": "Apache-2.0",
|
||||
"scripts": {
|
||||
|
||||
Generated
+1105
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,2 @@
|
||||
allowBuilds:
|
||||
esbuild: true
|
||||
Reference in new issue
Block a user