488 Commits

Author SHA1 Message Date
vsavkin
ecfd5cca21 fix(schematics): nested apps generation 2017-12-06 17:49:29 -05:00
vsavkin
013a828d1e feat(schematics): add support for generating apps and libs in nested dirs 2017-12-05 16:23:26 -05:00
Andrew Kemp
fa5d5bcace fix PR comment
removing code from index.ts as it's handled in the schema.json
2017-12-05 09:48:08 -05:00
Andrew Kemp
a2d0265266 feat(schematics): Customing naming of state folder
Adding ability to customize the name of the folder generated by `ng g ngrx`. Adds `--directory=directoryName` flag. Usage example: `ng g ngrx myState --directory=myState --module=libs/myFeature/myFeature.module.ts`
2017-12-05 09:48:08 -05:00
Joel Aufgang
996143cf60 refactor(schematics): eliminated single letter variable names in effects template
renamed a=>action, d=>dataPersistence
2017-12-04 16:01:31 -05:00
James Henry
e7fd6b1e04 fix(schematics): only begin converting to workspace once files have been checked 2017-12-04 14:49:40 -05:00
Emilio Martinez-Cordero
b3f67351fe feat(schematics): add allow option to whitelist deep imports
Adds an `allow` option to the `nx-enforce-module-boundaries` rule.

This option allows users to provide a specific set of library deep imports that should be whitelisted. Values need to be to be absolute library import paths, e.g., `@npmScope/library/subdirectory`. This option does not affect relative imports.
2017-12-03 15:30:57 -05:00
vsavkin
d6e66b9931 feat(schematics): add nx-migrate command 2017-12-01 11:37:13 -05:00
vsavkin
048448eba2 refactor(schematics): add all schematics into the collection dir 2017-12-01 11:37:13 -05:00
vsavkin
808f433fc5 build(schematics): run npm install only once 2017-11-27 18:21:13 -05:00
vsavkin
cc2277e91b feat(schematics): upgrade the version of prettier 2017-11-27 18:20:47 -05:00
vsavkin
11e6c055ba fix(schematics): always use / when creating full path
Closes #109
2017-11-26 20:07:37 -05:00
vsavkin
7fd7594e67 feat(schematics): adds a schema file to allow custom properties that the default CLI distribution does not support
Closes #118
2017-11-26 12:52:23 -05:00
Chai Wei Jian
2ba910aa9a fix(schematics): import StoreRouterConnectingModule
Closes #108
2017-11-26 10:19:03 -05:00
vsavkin
c9759cc442 fix(schematics): use fetch instead of optimistic update in the generated effect
Closes #100
2017-11-17 17:48:35 -05:00
vsavkin
d7fc5b5605 fix(schematics): --routing should add RouterTestingModule in app.component.spec.ts
Closes #95
2017-11-17 16:04:54 -05:00
Lars Gyrup Brink Nielsen
058c8995f3 docs(schematics): fix wording
build with -> built with.
2017-11-17 12:32:36 -05:00
vsavkin
409bfff878 feat(schematics): add --routing to the lib schematic 2017-11-13 15:17:42 -05:00
vsavkin
68797f5061 feat(schematics): switch to angular 5 2017-11-02 21:35:13 -04:00
vsavkin
c09ba7995a fix(schematics): add a new line when updating json file 2017-10-31 11:31:55 -04:00
vsavkin
cb57b1b156 updated publish and release scripts to work with "latest" and "next" 2017-10-22 16:30:47 -04:00
vsavkin
32ac8e589b remove unnecessary peer deps 2017-10-22 16:30:12 -04:00
vsavkin
a3e8bfdbfe bump up versions 2017-10-22 15:26:54 -04:00
vsavkin
a6045246c1 fix(schematics): update the NgRx schematic to generate correct root config
Closes #67
2017-10-22 14:58:23 -04:00
vsavkin
6fc60ebb0c fix(schematics): do not delete existing scrips when running ng generate workspace
Closes #65
2017-10-22 14:05:00 -04:00
vsavkin
7219c8af71 feat(schematics): implement downgradeModule schematic 2017-10-19 11:38:21 -04:00
vsavkin
05bd42434a feat(schematics): switch to angular 5.0 2017-10-18 15:02:52 -04:00
vsavkin
d16db1a311 test(schematics): add a test verifying that the ngrx schematics throws when no module given 2017-10-16 11:28:50 -04:00
vsavkin
2c408cc8f8 refactor: rewrite all e2e tests not requiring execution as unit tests 2017-10-16 11:19:39 -04:00
vsavkin
e6598c2275 switch to pulling deps from npm 2017-10-12 10:14:32 -04:00
Stephen Cavaliere
6f33d77969 fix(schematics): provide <router-outlet> in app.component.html
In the AngularCLI schematics, the equivalent to `ng g app` (`ng new`) provides a basic router outlet in the AppComponent's template when given the `--routing` flag. This provides parity to that feature.
2017-10-11 16:13:39 -04:00
slawojstanislawski
0414e04cb1 (fix)schematics: double qoutes around the glob pattern
Fixes 'no matching patterns' error during format script execution.
2017-10-11 16:12:53 -04:00
vsavkin
a43fbaeb9a switch to prettier 2017-10-07 12:09:45 -04:00
vsavkin
c3b4a8fae5 feat(schematics): wire up formatting after ng generate 2017-10-06 11:53:20 -04:00
vsavkin
94baa9479f fix(schematics): revert to using angular 4.4.4 2017-10-06 11:31:48 -04:00
vsavkin
bfcaaeafb7 feat(schematics): add a nice app.component.html 2017-10-06 10:06:25 -04:00
vsavkin
b511092ba0 fix(schematics): fix e2e tests 2017-10-06 09:12:44 -04:00
vsavkin
a2e5fdde7e feat(schematics): add Nx logo to the generated readme 2017-10-05 21:25:50 -04:00
Justin Schwartzenberger
ce4c380d45 fix(schematics): add extends for Angular schematics 2017-10-05 21:12:02 -04:00
vsavkin
ce08948bb2 fix(schematics): add better error messages to upgrade-shell 2017-10-05 21:09:45 -04:00
vsavkin
04545116f0 fix(schematics): also apply toFileName in the app and lib schematics 2017-10-05 20:46:56 -04:00
vsavkin
38f1acae14 fix(schematics): fix the usage of DataPersistence in the generated effect 2017-10-05 15:29:01 -04:00
vsavkin
73443c6696 cleanup(schematics): cleaned up lib versions 2017-10-05 10:59:22 -04:00
vsavkin
148049f3e2 feat(schematics): sort apps by type and name 2017-10-05 10:28:48 -04:00
vsavkin
eb9f7b2436 fix(schematics): set the approot folder to '' 2017-10-05 10:11:56 -04:00
vsavkin
83bcce183d fix(schematics): adjust tslint config to work well with clang-formatter 2017-10-05 10:11:45 -04:00
vsavkin
8c5564b235 fix(schematics): adds clang-format config 2017-10-05 09:35:25 -04:00
vsavkin
5d16ca7438 fix(schematics): minor fixes 2017-10-05 09:34:44 -04:00
vsavkin
dee9bb8759 fix(schematics): set appRoot of libs to '' 2017-10-04 15:43:49 -04:00
vsavkin
c0097c2c0a feat(schematics): make convert-to-workspace ng generate friendly 2017-10-04 11:51:04 -04:00