22
33## Build docker image
44``` sh
5- $ lerna run docker:build
5+ $ pnpm --filter devextreme-cli run docker:build
66```
77
88## Run docker image with browser
99``` sh
10- $ lerna run docker:run
10+ $ pnpm --filter devextreme-cli run docker:run
1111```
1212
1313## Run tests
1414
1515To run tests for all target frameworks, use the following command:
1616
1717``` sh
18- $ npm run test
18+ $ pnpm run test
1919```
2020
2121This script creates test applications in the ` testing/sandbox ` folder, starts a web server for each framework, and runs the snapshot tests.
@@ -29,61 +29,61 @@ You can find test results in the following folders:
2929## Generate Applications
3030
3131``` sh
32- npm run create-template
32+ pnpm run create-template
3333```
3434
3535## Generate Applications for an Individual Framework
3636
3737``` sh
38- npm run create-template -- -- -e angular
39- npm run create-template -- -- -e react
40- npm run create-template -- -- -e react-ts
41- npm run create-template -- -- -e vue-v3
38+ pnpm --filter devextreme-cli exec node ./testing/creating.js -e angular
39+ pnpm --filter devextreme-cli exec node ./testing/creating.js -e react
40+ pnpm --filter devextreme-cli exec node ./testing/creating.js -e react-ts
41+ pnpm --filter devextreme-cli exec node ./testing/creating.js -e vue-v3
4242```
4343
4444## Lint Applications
4545
4646``` sh
47- npm run lint-template
47+ pnpm run lint-template
4848```
4949
5050## Lint Applications for an Individual Framework
5151
5252``` sh
53- npm run lint-template -- -- -e angular
54- npm run lint-template -- -- -e react
55- npm run lint-template -- -- -e react-ts
56- npm run lint-template -- -- -e vue-v3
53+ pnpm --filter devextreme-cli exec node ./testing/linting.js -e angular
54+ pnpm --filter devextreme-cli exec node ./testing/linting.js -e react
55+ pnpm --filter devextreme-cli exec node ./testing/linting.js -e react-ts
56+ pnpm --filter devextreme-cli exec node ./testing/linting.js -e vue-v3
5757```
5858
5959## Test Applications
6060
6161``` sh
62- npm run test-template
62+ pnpm run test-template
6363```
6464
6565## Test Applications for an Individual Framework
6666
6767``` sh
68- npm run test-template -- -- -e angular
69- npm run test-template -- -- -e react
70- npm run test-template -- -- -e react-ts
71- npm run test-template -- -- -e vue-v3
68+ pnpm --filter devextreme-cli exec node ./testing/testing.js -e angular
69+ pnpm --filter devextreme-cli exec node ./testing/testing.js -e react
70+ pnpm --filter devextreme-cli exec node ./testing/testing.js -e react-ts
71+ pnpm --filter devextreme-cli exec node ./testing/testing.js -e vue-v3
7272```
7373
7474## Run Tests for Existing Test Applications
7575
7676``` sh
77- npm run test-dev
77+ pnpm run test-dev
7878```
7979
8080## Run Tests for an Individual Framework
8181
8282``` sh
83- npm run test -- -- -t angular
84- npm run test -- -- -t react
85- npm run test -- -- -t react-ts
86- npm run test -- -- -t vue-v3
83+ pnpm run test -- -- -t angular
84+ pnpm run test -- -- -t react
85+ pnpm run test -- -- -t react-ts
86+ pnpm run test -- -- -t vue-v3
8787```
8888
8989## Replace etalon
@@ -99,13 +99,13 @@ Modifying an application template directly is not recommended. Instead, generate
99993 . Run a script that updates templates for all frameworks:
100100
101101 ``` sh
102- npm run update-template
102+ pnpm run update-template
103103 ```
104104
105105 ... or a script that updates the template for an individual framework:
106106
107107 ` ` ` sh
108- npm run update-template -- -p angular
109- npm run update-template -- -p react-ts
110- npm run update-template -- -p vue-v3
108+ pnpm run update-template -- -p angular
109+ pnpm run update-template -- -p react-ts
110+ pnpm run update-template -- -p vue-v3
111111 ` ` `
0 commit comments