488 Commits

Author SHA1 Message Date
Jason Jean
8de81d6c16 feat(schematics): Add ability to ng update from Nx 1.x 2018-05-16 08:17:19 -04:00
Bram Borggreve
f78889e072 fix(schematics): use right command to get help on ng new 2018-05-15 10:15:56 -04:00
Victor Savkin
375496ac68 fix(schematics): default to workspace npm scope as the default prefix when creating apps and libs 2018-05-15 09:10:44 -04:00
Victor Savkin
3a2d27ac20 fix(schematics): fix tests 2018-05-13 20:12:59 -04:00
Victor Savkin
8ad06584fc fix(schematics): filter all nx specific args when running affected:e2e 2018-05-13 20:12:59 -04:00
Victor Savkin
59d3be1404 fix(schematics): remove an incorrect comment 2018-05-13 20:12:59 -04:00
Victor Savkin
b77ad0e479 fix(schematics): fix e2e tests 2018-05-13 20:12:59 -04:00
Victor Savkin
bf03bcb1e4 fix(schematics): update the dep graph calculator to use root instead of names 2018-05-13 20:12:59 -04:00
Victor Savkin
b8e7e061f7 fix(schematics): update link to nx logo 2018-05-13 20:12:59 -04:00
Victor Savkin
56a593308f fix(schematics): read npmScope from nx.json 2018-05-13 20:12:59 -04:00
Victor Savkin
f511525fa1 switch back to NgRx 5.2.0 2018-05-13 20:12:59 -04:00
Victor Savkin
41f3ef48b4 cleanup(schematics): mark the directory property as visible 2018-05-10 12:44:14 -04:00
Victor Savkin
61795217e3 cleanup(schematics): delete an unused file 2018-05-10 12:43:12 -04:00
Jason Jean
39eb6d38e7 feat(schematics): working v6 ng add 2018-05-09 09:24:06 -04:00
Victor Savkin
af0c7acc4f feat(schematics): change upgrade-module and downgrade-module schematics to work with CLI6 2018-05-08 12:35:42 -04:00
--get
7c330163bd feat(schematics): add exclude option for affected 2018-05-08 10:30:39 -04:00
--get
9a1e6c0849 fix(schematics): filter nx specific flags from being passed to ng cli 2018-05-08 10:30:39 -04:00
David Herges
f746d7d4ed fix(schematic): add cosmiconfig to npm package dependencies 2018-05-08 10:06:31 -04:00
David Herges
937e2a3ec4 fix(schematics): add fs-extra to dependencies of npm package 2018-05-08 10:05:04 -04:00
Victor Savkin
b9db0b2927 fix(schematics): add missing dependencies to create-nx-workspace 2018-05-07 11:23:42 -04:00
Victor Savkin
7610663d1e fix(schematics): the library schematic should use the correct npm scope 2018-05-07 11:23:42 -04:00
Victor Savkin
fd5149d762 feat(schematics): add affected:test 2018-05-07 10:30:55 -04:00
Victor Savkin
907ec27528 feat(schematics): switch to cli6 2018-05-06 19:12:02 -04:00
Victor Savkin
e40503c7e3 cleanup(schematics): remove an unused dependency 2018-04-26 10:53:36 -04:00
Victor Savkin
30de0b9d4d fix(schematics): do not use npm-run-all when parallel is set ot false 2018-04-26 10:13:33 -04:00
--get
c3ea765493 fix(schematics) use property name in ngrx reducer spec 2018-04-24 17:43:36 -04:00
Victor Savkin
c18baf01ca fix(schematic): add a migration to add tsconfig.tools.json 2018-04-24 12:03:17 -04:00
FrozenPandaz
e748e81254 fix(schematics): add nxmodule forroot if not existing when generating ngrx for root 2018-04-17 09:03:34 -04:00
Nitin Vericherla
6aa67020bf fix(nx): remove strict check for "file" option for dep-graph
Allow defaults to be used when running `npm run dep-graph`
2018-04-17 09:02:08 -04:00
Maxim Kropotov
aa1ff78c0e fix(schematics): don't leak file descriptor in shared.ts/mtime
leak breaks IDE-TSLint integration. Fixes #403
2018-04-15 19:13:19 -04:00
Nitin Vericherla
8ca8548886 fix(nx): dep-graph visual style for affected lib 2018-04-15 19:10:21 -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
16a3e0ffa6 feat(schematics): adds support for --base and --head to affected:* 2018-04-12 19:25:17 -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
mrmeku
eca52599d9
feat(bazel): Add correct dependencies to package.json (#405)
* feat(bazel): Add correct dependencies to package.json

Only allow valid Bazel workspace names to avoid confusion
2018-04-06 13:42:13 -06: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
Torgeir Helgevold
ed79d5e961 fix(bazel): add exlude
s
2018-04-04 15:06:09 -07:00
Austin M. Matherne
8482177b73 fix(schematics): match ng lib and update versions
Update the Angular lib version (5.2.6 > 5.2.7) to match the
version specified by migration 20180225-switch-to-cli17 (5.2.7)
2018-04-03 15:20:20 -04:00
FrozenPandaz
0e11fffdf0 refactor(schematics): rename ast json methods more explicitly 2018-04-03 15:18:41 -04:00
Victor Savkin
d44edf939d fix(schematics): patch index.js instead of ng 2018-04-03 13:48:38 -04:00
Victor Savkin
c72452637e fix(schematics): fixed regressions after ngrx refactoring
- StoreRouterConnectingModule should only be included if the router is used
- onlyEmptyRoot should not generate files
2018-04-03 13:22:32 -04:00
FrozenPandaz
5a26f241b1 feat(schematics): add ability to create bazel workspace 2018-04-02 19:32:29 -04:00
Thomas Burleson
4edc8e6c8b feat(schematics): use @ngrx/schematics
* ngrx collection now extends @ngrx/schematics
* modify the nrwl `ngrx` schematic to use `@ngrx/schematics` to generate the initial source for actions, reducers, and effects
* modify the generated source to conform to Nx standards
* generate init and interface files
* remove template files for action, effect, and reducer scaffolding
* modify collection to extend `@ngrx/schematics` so the ngrx commands are also easily accessible
* inject dataloaded enums into action class
* configure nx workspace devDep on @ngrx/schematics version
* override ngrx effects.spec.ts with nx templated version

fixes #174.
2018-03-30 19:47:29 -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
fea4f48dec fix(schematics): update karma conf with app check 2018-03-29 13:08:00 -04:00
Thomas Skalnik
fff9659c3a feat(lint): extend circular dependency check 2018-03-29 13:05:27 -04:00
Mark Phippard
6394f9e1ed fix(schematics): Correct docstring for affected
Followup to 113b51b. Update the docstring change to
match the final option that was decided upon in the
PR. The option is --uncommitted or --untracked not
the original proposal of staged or unstaged.
2018-03-27 20:25:02 -04:00