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
{{ message }}
This repository was archived by the owner on Sep 16, 2018. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+13-8Lines changed: 13 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ npm install && npm run link
10
10
11
11
### Test schematic changes against this repositories Angular CLI test-app
12
12
13
-
Schematic changes will be applied to the test app in the `./test-app` directory
13
+
When running locally, schematic changes will be applied to the test app in the `./test-app` directory. The test-app is a bare CLI app and serves no other purpose than for testing schematics changes.
14
14
15
15
Compile the typescript in watch mode in one shell:
16
16
@@ -30,14 +30,14 @@ npm run clean:launch
30
30
31
31
### Test schematics against a local project
32
32
33
-
- run `npm run build` to compile the schematic
34
-
-in another shell, cd into the repo and run `npm link ../PATH_TO_THIS_PROJECT`
35
-
- this will link the projects so that the schematic command runs from you're local filesystem
36
-
- in the repo you want to run the schematic against, run `ng g add-jest:add-jest`
33
+
- run `npm run build` to compile the schematic in watch mode
34
+
-open another shell, cd into the local repo you want to run the schematic against, and run `npm link ../PATH_TO_THIS_PROJECT`
35
+
- this will symlink the projects so that the Jest schematic command runs from you're local filesystem
36
+
- in the local repo you want to run the schematic against, run `ng g add-jest:add-jest`
37
37
38
38
### Dev tips
39
39
40
-
while developing, comment out the following line to avoid npm installing dependencies
40
+
For faster developing, find and comment out the following line to avoid npm installing dependencies
41
41
42
42
```ts
43
43
context.addTask(newNodePackageInstallTask());
@@ -67,9 +67,9 @@ npm run build:once
67
67
68
68
## Testing
69
69
70
-
### Test changes to local `/test-app` project
70
+
### Test local test-app for regressions
71
71
72
-
Run a series of standard tests to ensure things continue to function as expected in the test-app
72
+
Run a series of standard tests to ensure the `./test-app` continues to function normally
0 commit comments