45 Commits

Author SHA1 Message Date
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
vsavkin
45fda44e90 fix(schematics): fixed the switch-to-cli17 migration to handle the case when the CLI file isn't present 2018-02-28 10:36:46 -05:00
vsavkin
2fb6259751 feat(schematics): add update, update:skip, and update:check commands 2018-02-27 11:36:38 -05:00
vsavkin
acdeb1b71c feat(schematics): switch to angular/cli 1.7 2018-02-25 17:13:56 -05:00
vsavkin
93a6b4e94b fix(schematics): add a post install script that run nx-migrate:check 2018-01-31 09:35:22 -05:00
vsavkin
4903e8f1ec add @angular-devkit/schematics and @schematics/angular as dev dependencies 2018-01-30 20:29:11 -05:00
vsavkin
d7ba9fdc1b feat(schematics): add nx-migrate:check and nx-migrate:skip scripts 2018-01-30 16:28:14 -05:00
vsavkin
3f37983775 fix(schematics): add an explicit dependency on @angular-devkit/core 2018-01-22 09:47:33 -05:00
vsavkin
7bfd4eb08d fix(schematics): add a migration to update test.js 2018-01-21 17:25:49 -05:00
vsavkin
172c18dc9b feat(schematics): switch to angular 5.2 and cli 1.6.5 2018-01-21 14:23:08 -05:00
vsavkin
847a249980 feat(schematics): add a migration updating the version of prettier 2018-01-20 18:07:10 -05:00
vsavkin
2c49c30295 fix(schematics): avoid relative paths to node modules 2018-01-16 19:27:27 -05:00
vsavkin
826a0b1056 feat(schematics): add format:check and format:write commands 2018-01-02 15:51:44 -05:00
vsavkin
a398ec3166 fix(schematics): a typo in a migration 2017-12-19 17:10:36 -05:00
vsavkin
428762664a feat(schematics): add support for building and testing only the apps affected by a PR 2017-12-19 17:00:57 -05:00
vsavkin
ac53e9a624 fix(schematics): "ng test" should not compile e2e tests 2017-12-13 14:04:33 -05:00
vsavkin
6ff203e877 feat(schematics): add a migration upgrading 0.3.0 workspaces to 0.4.0 2017-12-11 16:27:32 -05:00
vsavkin
013a828d1e feat(schematics): add support for generating apps and libs in nested dirs 2017-12-05 16:23:26 -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