mirror of
https://github.com/Pandipipas/scoreko-dev.git
synced 2026-06-05 19:22:07 +00:00
Migrate package management from npm to pnpm.
Standardize local and CI workflows on pnpm 11.0.8, replace npm commands in docs/config, and swap lockfiles for reproducible installs. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -27,13 +27,18 @@ jobs:
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22
|
||||
cache: npm
|
||||
cache: pnpm
|
||||
|
||||
- name: Setup pnpm
|
||||
uses: pnpm/action-setup@v4
|
||||
with:
|
||||
version: 11.0.8
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Lint
|
||||
run: npm run lint
|
||||
run: pnpm run lint
|
||||
|
||||
- name: Build
|
||||
run: npm run build
|
||||
run: pnpm run build
|
||||
|
||||
+4
-4
@@ -1,7 +1,7 @@
|
||||
# Logs
|
||||
logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
pnpm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
lerna-debug.log*
|
||||
@@ -48,8 +48,8 @@ web_modules/
|
||||
# TypeScript cache
|
||||
*.tsbuildinfo
|
||||
|
||||
# Optional npm cache directory
|
||||
.npm
|
||||
# Optional pnpm cache directory
|
||||
.pnpm-store
|
||||
|
||||
# Optional eslint cache
|
||||
.eslintcache
|
||||
@@ -66,7 +66,7 @@ web_modules/
|
||||
# Optional REPL history
|
||||
.node_repl_history
|
||||
|
||||
# Output of 'npm pack'
|
||||
# Output of 'pnpm pack'
|
||||
*.tgz
|
||||
|
||||
# Yarn Integrity file
|
||||
|
||||
@@ -14,12 +14,12 @@ NodeCG bundle for producing fighting game overlays.
|
||||
|
||||
## Scripts
|
||||
|
||||
- `npm run autofix`: automatically fixes lint errors.
|
||||
- `npm run build`: builds dashboard/graphics and extension.
|
||||
- `npm run lint`: validates project linting.
|
||||
- `npm run schema-types`: generates types from schemas.
|
||||
- `npm run start`: starts NodeCG.
|
||||
- `npm run watch`: development mode with watch.
|
||||
- `pnpm run autofix`: automatically fixes lint errors.
|
||||
- `pnpm run build`: builds dashboard/graphics and extension.
|
||||
- `pnpm run lint`: validates project linting.
|
||||
- `pnpm run schema-types`: generates types from schemas.
|
||||
- `pnpm run start`: starts NodeCG.
|
||||
- `pnpm run watch`: development mode with watch.
|
||||
|
||||
## Version
|
||||
|
||||
|
||||
Generated
-12277
File diff suppressed because it is too large
Load Diff
@@ -12,6 +12,7 @@
|
||||
},
|
||||
"license": "MIT",
|
||||
"author": "Pandipipas",
|
||||
"packageManager": "pnpm@11.0.8",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"autofix": "eslint --fix",
|
||||
|
||||
Generated
+8191
File diff suppressed because it is too large
Load Diff
@@ -1,5 +1,5 @@
|
||||
{
|
||||
/* Settings here partially mimick those included in a generated Vue project (npm create vue). */
|
||||
/* Settings here partially mimick those included in a generated Vue project (pnpm create vue). */
|
||||
/* Settings used for anything browser related (dashboard and graphics). */
|
||||
"extends": "@vue/tsconfig/tsconfig.dom.json",
|
||||
"compilerOptions": {
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
{
|
||||
/* Settings here mimick those included in a generated Vue project (npm create vue). */
|
||||
/* Settings here mimick those included in a generated Vue project (pnpm create vue). */
|
||||
/* They are only used for the vite.config.ts file. */
|
||||
"extends": "@tsconfig/node22/tsconfig.json",
|
||||
"compilerOptions": {
|
||||
|
||||
Reference in New Issue
Block a user