mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-27 17:52:16 +00:00
[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:
@@ -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.
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user