69 Commits

Author SHA1 Message Date
--get
e7e9fac7d9 feat(schematics): update prettier to 1.15 and format html 2018-11-18 14:47:11 -05:00
--get
f8ac8e1569 feat(schematics): add generic affected 2018-11-12 14:30:25 -05:00
--get
1d1315ab4f fix(schematics): update ng packagr for ng7 migration 2018-11-07 14:25:34 -05:00
--get
cf158c940e fix(schematics): fix ng test --watch 2018-11-07 14:19:36 -05:00
ben
f73c1b57a8 build(package): use latest jasmine marble version
This update the package to use the latest jasmin marbles version. Avoiding peer dependency warnings.

fix #793 #804
2018-10-25 12:18:15 -04:00
--get
67c4bdf4af feat(schematics): upgrade to angular 7 2018-10-24 09:42:31 -04:00
--get
9714a97f3c feat(schematics): update cli to 6.2.4 2018-10-03 20:02:02 -04:00
--get
c9d3f97b9f feat(schematics): update @angular/cli to 6.2.3 and ngrx 6.1.0 2018-09-28 13:14:45 -04:00
--get
4ed154d11d fix(schematics): update jest-preset-angular to 6.0.1 2018-09-21 06:55:54 -04:00
--get
e608211f46 fix(schematics): fix migration version 2018-08-29 08:08:03 -04:00
Jason Jean
0a1423a732 fix(schematics): support migrating projects with root != name from 1.7 2018-08-20 11:39:27 -04:00
Jason Jean
84636913d7 fix(schematics): update version in legacy migration to 6.2.0 2018-08-13 20:12:05 -04:00
Jason Jean
edba67f728 fix(schematics): update other @angular framework packages when updating 2018-08-13 16:10:57 -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
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
Jason Jean
4a587e392d feat(schematics): create global karma conf 2018-07-20 12:00:05 -04:00
Jason Jean
0ad61c7acb feat(schematics): deprecate nx update 2018-06-14 12:02:29 -04:00
Victor Savkin
72f546acda fix(schematics): update migration script to update to Nx 6.1.0 2018-06-14 11:09:18 -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
Jason Jean
d2350c4e86 feat(schematics): fail gracefully and warn when project is missing a format npm script 2018-06-07 20:40:14 -04:00
Jason Jean
e18f94e566 feat(schematics) add migration to add affected:lint npm script 2018-06-02 18:36:33 -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
1d4a0ef189 fix(schematics): revert the change prohibiting libs deep importing themselves 2018-05-22 12:29:36 -04:00
Victor Savkin
d917ad09e1 fix(schematics): fix the update script to point to the right version of @nrwl/nx 2018-05-22 10:02:46 -04:00
Victor Savkin
6c81127eea cleanup: fix formatting 2018-05-21 10:44:17 -04:00
Victor Savkin
7650950abd fix(schematic): make the migration to 6.0.0 more flexible 2018-05-18 14:15:05 -04:00
Jason Jean
31b1150229 fix(schematics): use migrate-only flag to skip installation during upgrade 2018-05-18 12:36:07 -04:00
Jason Jean
cd5ae4a1ea fix(schematics) fix update metadata in package.json and fix migration 2018-05-16 21:07:07 -04:00
Jason Jean
8de81d6c16 feat(schematics): Add ability to ng update from Nx 1.x 2018-05-16 08:17:19 -04:00
Victor Savkin
907ec27528 feat(schematics): switch to cli6 2018-05-06 19:12:02 -04:00
Victor Savkin
c18baf01ca fix(schematic): add a migration to add tsconfig.tools.json 2018-04-24 12:03:17 -04:00
mrmeku
08896fd195 feat(schematics): Generate --help for every CLI function.
This PR introduces the yargs package as our CLI command handler.
We build up commands using yargs to take advantage of its built
in --help flag formatter.
2018-04-12 21:49:59 -04:00
Victor Savkin
2a377fe643 fix(schematics): ignore errors when the tools directory already exists 2018-04-07 07:45:37 -04:00
Nitin Vericherla
49525efe3e feat(nx): support to generate visualization graph
`npm run dep-graph` outputs a visual dependency graph
2018-04-06 20:51:02 -04:00
Victor Savkin
42cd861b55 feat(schematics): add a migration adding the tools directory 2018-04-05 21:09:35 -04:00
Victor Savkin
50295eaadb cleanup(schematics): use relative imports 2018-04-05 21:09:13 -04:00
Victor Savkin
bc559575f5 feat(schematics): add support for workspace-specific schematics 2018-04-05 15:44:15 -04:00
Victor Savkin
ce553b732e feat(schematics): add lint checks ensuring the integrity of the workspace 2018-03-29 13:26:40 -04:00
FrozenPandaz
edac12c859 refactor: add rule for no unused locals and cleanup 2018-03-27 19:46:56 -04:00
FrozenPandaz
9cc8259190 refactor(schematics): add method for updating and reading json 2018-03-27 10:48:12 -04:00
vsavkin
9a40686bcc formatting 2018-03-25 15:43:17 -04:00
FrozenPandaz
8fd05f3e45 feat(schematics): add migration for karma app check 2018-03-25 10:55:20 -04:00
vsavkin
fcec9dc1c0 reformat code with printWidth=80 2018-03-16 15:38:28 -04:00
vsavkin
cc49f366fa fix(schemtics): restruct the folder structure to avoid releasing the shared package 2018-03-13 19:50:58 -04:00
vsavkin
2842cb9c38 feat(schematics): add support for tagged libs 2018-03-13 16:03:51 -04:00
James Henry
56a6611575 feat(schematics): Allow users to set prettier config, add relevant migration 2018-03-11 14:34:40 -04:00
vsavkin
eb42a4e34f feat(bazel): set up the schematic collection and e2e test 2018-03-02 11:26:54 -05:00
vsavkin
f6083ceb5d fix(schematics): update migration to upgrade the version of http to 5.2.7 2018-03-01 13:56:41 -05:00