You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Runs `pnpx nx run-many -t lint,test` on most packages
282
+
- Runs `pnpm exec nx run-many -t lint,test` on most packages
283
283
- Timeout: 30 minutes
284
284
- Node: 20.x
285
285
@@ -352,7 +352,7 @@ pnpm run lint-ts -- --fix
352
352
353
353
3.**Build the affected package:**
354
354
```bash
355
-
pnpx nx build:dev devextreme # For core changes
355
+
pnpm exec nx build:dev devextreme # For core changes
356
356
```
357
357
358
358
4.**Run tests:**
@@ -388,9 +388,9 @@ pnpm run lint-ts -- --fix
388
388
389
389
**✅ DO:**
390
390
- Always use `pnpm install --frozen-lockfile`
391
-
- Build before testing: `pnpx nx build:dev devextreme`
391
+
- Build before testing: `pnpm exec nx build:dev devextreme`
392
392
- Run `pnpm run regenerate-all` after modifying wrapper generators, TypeScript declarations, or devextreme-internal-tools (may affect code generators and/or metadata generators)
393
-
- Use Nx commands for better caching: `pnpx nx build devextreme`
393
+
- Use Nx commands for better caching: `pnpm exec nx build devextreme`
394
394
- Check CI workflows to understand what will be validated
395
395
396
396
### File Modification Guidelines
@@ -418,7 +418,7 @@ pnpm run lint-ts -- --fix
418
418
- Clean and rebuild: `pnpm run clean && pnpm run build:dev`
419
419
420
420
**Test failures:**
421
-
- Ensure build is up-to-date: `pnpx nx build:dev devextreme`
421
+
- Ensure build is up-to-date: `pnpm exec nx build:dev devextreme`
422
422
- Check if test requires specific environment variables
423
423
- Review test logs in `packages/devextreme/testing/` directory
424
424
@@ -429,7 +429,7 @@ pnpm run lint-ts -- --fix
429
429
430
430
## Key Facts
431
431
432
-
-**Nx is used for task orchestration** - prefer `pnpx nx` commands over direct npm scripts
432
+
-**Nx is used for task orchestration** - prefer `pnpm exec nx` commands over direct npm scripts
433
433
-**Custom Nx executors** - `devextreme-nx-infra-plugin` provides specialized executors for localization, file operations, and build tasks
434
434
-**Frozen lockfile is mandatory** - CI will fail without it
435
435
-**Build artifacts are in gitignore** - never commit `artifacts/` directories
@@ -453,27 +453,27 @@ pnpm run all:build-dev
453
453
pnpm run all:build
454
454
455
455
# Build with testing configuration (for CI)
456
-
pnpx nx build devextreme -c=testing
456
+
pnpm exec nx build devextreme -c=testing
457
457
458
458
# Build specific targets
459
-
pnpx nx build:localization devextreme
460
-
pnpx nx build:transpile devextreme
461
-
pnpx nx bundle:debug devextreme
459
+
pnpm exec nx build:localization devextreme
460
+
pnpm exec nx build:transpile devextreme
461
+
pnpm exec nx bundle:debug devextreme
462
462
463
463
# Test
464
-
pnpx nx run-many -t test
464
+
pnpm exec nx run-many -t test
465
465
pnpm run test-jest # From devextreme package
466
466
467
467
# Lint
468
-
pnpx nx run-many -t lint
468
+
pnpm exec nx run-many -t lint
469
469
pnpm run lint # From devextreme package
470
470
471
471
# Regenerate wrappers
472
472
pnpm run regenerate-all
473
473
474
474
# Clean
475
475
pnpm run clean # From devextreme package
476
-
pnpx nx clean:artifacts devextreme # Clean build artifacts only
476
+
pnpm exec nx clean:artifacts devextreme # Clean build artifacts only
477
477
478
478
# Run demos
479
479
pnpm run webserver # From root, then visit localhost:8080
0 commit comments