[chore] Replace pnpm with npm package manager

- Remove pnpm-specific files (pnpm-lock.yaml, pnpm-workspace.yaml)
- Update package.json scripts to use npm instead of pnpm
- Add npm workspaces configuration
- Update all GitHub workflow files to use npm
- Update documentation to reference npm commands
- Generate package-lock.json for npm dependency management
This commit is contained in:
snomiao
2025-08-31 05:41:12 +00:00
parent 2358a97fe9
commit b4b834d7c4
34 changed files with 22878 additions and 14519 deletions

View File

@@ -33,13 +33,13 @@ To run the tests locally:
```bash
# Run unit tests
pnpm test:unit
npm run test:unit
# Run unit tests in watch mode
pnpm test:unit:dev
npm run test:unit:dev
# Run component tests with browser-native environment
pnpm test:component
npm run test:component
```
Refer to the specific guides for more detailed information on each testing type.

View File

@@ -18,13 +18,13 @@ litegraph/
```bash
# Run all litegraph tests
pnpm test:unit -- tests-ui/tests/litegraph/
npm run test:unit -- tests-ui/tests/litegraph/
# Run specific subdirectory
pnpm test:unit -- tests-ui/tests/litegraph/core/
npm run test:unit -- tests-ui/tests/litegraph/core/
# Run single test file
pnpm test:unit -- tests-ui/tests/litegraph/core/LGraph.test.ts
npm run test:unit -- tests-ui/tests/litegraph/core/LGraph.test.ts
```
## Migration Status