mirror of
https://github.com/tiennm99/loldle.git
synced 2026-10-16 10:15:19 +00:00
build: move web/ from pnpm to npm
Replace pnpm-lock.yaml with package-lock.json. The three security overrides move from pnpm-workspace.yaml to package.json#overrides, where npm reads them natively. Only the postcss floor is still live; @babel/core and js-yaml left the tree with Next.js but are kept so the declared floors survive if a dependency reintroduces them.
This commit is contained in:
1 parent
a422e318f2
commit
b2f33d0266
8 files changed
+3400
-2020
No files matched your search
+7
-7
@@ -9,18 +9,18 @@ Built with SvelteKit and Svelte 5, styled with Tailwind CSS, and prerendered to
|
||||
## Quick start
|
||||
|
||||
```bash
|
||||
pnpm install
|
||||
pnpm dev
|
||||
npm install
|
||||
npm run dev
|
||||
```
|
||||
|
||||
## Commands
|
||||
|
||||
```bash
|
||||
pnpm dev # dev server
|
||||
pnpm build # static build into build/
|
||||
pnpm preview # serve the production build
|
||||
pnpm test # unit tests
|
||||
pnpm lint # eslint
|
||||
npm run dev # dev server
|
||||
npm run build # static build into build/
|
||||
npm run preview # serve the production build
|
||||
npm test # unit tests
|
||||
npm run lint # eslint
|
||||
```
|
||||
|
||||
Champion data lives in `static/champions.json` and is refreshed weekly by the sync workflow.
|
||||
|
||||
Reference in new issue
Block a user