Skip to content

Commit c1b70de

Browse files
Jami LurockJami Lurock
authored andcommitted
update to use Angular 13 dependencies
1 parent be479ee commit c1b70de

File tree

9 files changed

+44136
-20708
lines changed

9 files changed

+44136
-20708
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ speed-measure-plugin*.json
3333
.history/*
3434

3535
# misc
36+
/.angular/cache
3637
/.sass-cache
3738
/connect.lock
3839
/coverage

angular.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"prefix": "lib",
1111
"architect": {
1212
"build": {
13-
"builder": "@angular-devkit/build-ng-packagr:build",
13+
"builder": "@angular-devkit/build-angular:ng-packagr",
1414
"options": {
1515
"tsConfig": "projects/playground/tsconfig.lib.json",
1616
"project": "projects/playground/ng-package.json"

examples/cli-example/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
!.vscode/extensions.json
2626

2727
# misc
28+
/.angular/cache
2829
/.sass-cache
2930
/connect.lock
3031
/coverage

examples/cli-example/README.md

Lines changed: 29 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,39 @@
44

55
Install dependencies:
66
```
7+
npm i
8+
```
9+
Build angular-playground package and link it globally
10+
```
11+
npm run clean
12+
npm run build
13+
npm link
14+
```
15+
16+
Install dependencies in example project
17+
```
718
cd examples/cli-example/
819
npm i
20+
npm link angular-playground
921
```
1022

11-
Run `npm run playground:build` to replace the installed angular-playground with the development version.
23+
Run the example App
24+
```
25+
npm run playground
26+
```
27+
#
28+
29+
To make changes to angular playground source code and see the change you must stop the playground
30+
from running and rebuild the angular-playground then run the example app again.
31+
#
32+
33+
Rebuild Playground
34+
```
35+
cd ../..
36+
npm run rebuild
37+
```
1238

13-
`npm run playground` accesses the local version of angular-playground, so changes
14-
within the CLI will require `npm run playground:build` to be run before changes will appear.
39+
Run the example App
1540
```
16-
npm run playground:build && npm run playground
41+
npm run playground
1742
```

0 commit comments

Comments
 (0)