File tree Expand file tree Collapse file tree 3 files changed +16
-3
lines changed Expand file tree Collapse file tree 3 files changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -59,25 +59,38 @@ Install dependencies for angular-playground:
5959npm i
6060```
6161
62+ Build angular-playground package and link it globally
63+ ```
64+ npm run clean
65+ npm run build
66+ npm link
67+ ```
68+
6269Then install dependencies for the example-app:
6370```
6471cd ./examples/cli-example/
6572npm i
73+ npm link angular-playground
6674```
6775### Running the example app
6876From `./examples/cli-example`:
6977```
70- npm run playground:build && npm run playground
78+ npm run playground
7179```
7280
7381From this point you can work on the Playground and make changes to the source code. You will need to stop the Playground
7482from running and build the app again (run `npm run restage` from the source code root after your changes). Then run `npm run playground`
7583in the example app root folder again to see the changes you made to the source code in action.
7684
85+ Rebuild Playground
7786```
7887Ctrl-C (stop playground)
7988cd ../../
80- npm run restage
89+ npm run rebuild
90+ ```
91+
92+ Run the example App
93+ ```
8194cd examples/cli-example/
8295npm run playground
8396```
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ from running and rebuild the angular-playground then run the example app again.
3232
3333Rebuild Playground
3434```
35+ Ctrl-C (stop playground)
3536cd ../..
3637npm run rebuild
3738```
Original file line number Diff line number Diff line change 1313 "playground:prod" : " angular-playground --build" ,
1414 "playground:prod-service-worker" : " angular-playground --build-with-service-worker" ,
1515 "playground:check-errors" : " angular-playground --check-errors" ,
16- "playground:build" : " (cd ../../ && sh ./scripts/build.sh)" ,
1716 "verify-sandboxes" : " angular-playground --config .angular-playground/angular-playground.json --check-errors --report-path ./result.xml --report-type xml" ,
1817 "check-snapshots" : " angular-playground --config .angular-playground/angular-playground.json --check-visual-regressions --visual-regression-mock-date 1577865600000" ,
1918 "update-snapshots" : " angular-playground --config .angular-playground/angular-playground.json --check-visual-regressions --update-snapshots --path-to-sandboxes app/feature1" ,
You can’t perform that action at this time.
0 commit comments