25 Commits

Author SHA1 Message Date
Victor Savkin
03992c7de1 feat(nx): switch defaults to jest, cypress, and nest 2019-02-13 10:35:32 -05:00
Jason Jean
52f90b9702
feat(schematics): add vscode extension recommendations (#1023) 2019-01-31 14:19:41 -05:00
Jason Jean
16df9e2bba feat(schematics): update to AngularCLI 7.2.1 2019-01-19 10:27:26 -05:00
--get
f8ac8e1569 feat(schematics): add generic affected 2018-11-12 14:30:25 -05:00
--get
47d99d49ba fix(schematics): fix tslint rules for ngadd 2018-10-24 09:42:49 -04:00
--get
67c4bdf4af feat(schematics): upgrade to angular 7 2018-10-24 09:42:31 -04:00
skydever
cd43c6d9ba fix(schematics): check type of tsConfig lint entry (ng-add) 2018-10-22 11:15:53 -04:00
--get
9a60c697e8 fix(schematics): handle complex asset options in ng-add 2018-10-18 14:01:35 -04:00
Jason Jean
b5550d367c fix(schematics): set versions consistent with cli 6.1.2 2018-08-04 08:37:43 -04:00
Jason Jean
205e7ad7ef feat(schematics): support @angular/cli@6.1.1 2018-08-02 13:39:19 -04:00
swseverance
e1984fa40e fix(schematics): update devDependencies (#637)
* Move @ngrx/store-devtools and ngrx-store-freeze' to devDependencies
2018-07-22 12:30:31 -05:00
Thomas Burleson
04e99b06ae fix(schematics): ngrx schematics should generate enhanced ngrx files
@nrwl/schematics no longer uses the @ngrx/schematics to generate NgRx feature files.
*  `ngrx/files/__directory__` templates are used
*  Templates replicate the simple outputs generated from @ngrx/schematics:feature
*  Templates add significant Nx enhancements.

The following standard files will be scaffolded:
* `<feature>.actions.ts`
* `<feature>.effects.ts` + `<feature>.effects.spec.ts`
* `<feature>.reducer.ts` + `<feature>.reducer.spec.ts`

The following new files will also be scaffolded:
* `<feature>.selectors.ts` +  `<feature>.selectors.spec.ts`

Changes include:

* Change the action/enums to generate a trio of enums for each *feature*: `Load<Feature>`, `<Feature>Loaded`, and `<Feature>LoadError`
* Add code generators for `<feature>.selectors.ts`
* Add code generators for unit and integration testing `*.spec.ts` files
* Update the public barrel [`index.ts`] when adding ngrx to a library
* Use `StoreModule.forFeature()` when adding ngrx feature (without using the `--root` option)
* Use the Effect to respond tp `load<Feature>$` and dispatch `<Feature>Loaded` or `<Feature>LoadError`
* Update the Action to export `<feature>Actions` map of all action classes
* fix `ng-add.test.ts` tests for latest Angular CLI scaffolding
* fix `application.spec.ts` expect fails

Fixes #472,  Fixes #618,  Fixes #317,  Fixes #561, Refs #380.
2018-07-21 21:13:48 -04:00
Jonathan Cammisuli
4916c7ce88 test(schematics): update ng-add e2e tests to check for new 'affected:libs' property 2018-07-09 11:27:47 -04:00
Jason Jean
0ad61c7acb feat(schematics): deprecate nx update 2018-06-14 12:02:29 -04:00
Victor Savkin
f00ff2c7d2 feat(schematics): add nx.json to the default list of implicit deps 2018-06-11 10:26:08 -04:00
Jason Jean
caa5274fad feat(schematics) add migration for implicitDependencies 2018-06-09 12:54:33 -04:00
Victor Savkin
55b7386b99 fix(schematics): remove fit 2018-06-07 20:55:21 -04:00
Jason Jean
1ec9af56fd fix(schematics): add rxjs-compat during ng-add 2018-06-02 18:23:06 -04:00
Jason Jean
dd0a93251a fix(schematics): allow projects without e2e configurations and report more useful errors during add and update 2018-06-02 18:22:51 -04:00
Victor Savkin
aeb0d8eb83 feat(schematics): add lint:affected 2018-05-31 16:53:28 -04:00
Victor Savkin
40671bfc9b chore: disable broken test 2018-05-31 16:53:07 -04:00
Jason Jean
dd04b95b96 fix(schematics) add NxModule during ng add 2018-05-31 15:43:32 -04:00
Jason Jean
7af36a4f3c feat(schematics) support adding nx to platform-server workspaces 2018-05-30 20:30:00 -04:00
Jason Jean
2c1bda7ce1 fix(schematics) fix package json inconsistencies when using ng add 2018-05-29 09:45:51 -04:00
Jason Jean
39eb6d38e7 feat(schematics): working v6 ng add 2018-05-09 09:24:06 -04:00