Victor Savkin
907ec27528
feat(schematics): switch to cli6
2018-05-06 19:12:02 -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
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
bc559575f5
feat(schematics): add support for workspace-specific schematics
2018-04-05 15:44:15 -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
2acf28c50d
fixes build
2018-03-30 19:20:35 -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
Victor Savkin
4e9d52a044
simplify build setup to use the main tsconfig.json file for tests
2018-03-28 11:21:52 -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
Thomas Skalnik
7b63de662e
feat(schematics): use npm-run-all to run build in parallel
2018-03-25 14:13:43 -04:00
FrozenPandaz
fc0bec9080
fix(schematics): fix e2e lint config in angular cli json
2018-03-25 10:56:36 -04:00
FrozenPandaz
c747a4a0a0
fix(nx): allow more types of arguments
2018-03-25 10:49:11 -04:00
mrmeku
4184bb2d13
Rebasing issues resolved
2018-03-20 08:38:03 -04:00
vsavkin
74d920a4cd
reformat the code using the new prettier config
2018-03-16 11:21:38 -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
vsavkin
56788ba3d1
feat(schematics): show warnings about importing lazy loadable libraries without forcing users configure them in tslint.json
2018-03-12 20:04:50 -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
da9310e9db
fix(schematics): fix create-nx-workspace to respect the --directory
2018-03-09 10:45:09 -05:00
vsavkin
eb42a4e34f
feat(bazel): set up the schematic collection and e2e test
2018-03-02 11:26:54 -05:00
vsavkin
feeaba1a4b
fix(schematics): fix format:write --libs-and-apps
2018-02-28 12:36:34 -05:00
vsavkin
2fb6259751
feat(schematics): add update, update:skip, and update:check commands
2018-02-27 11:36:38 -05:00
vsavkin
cb79dec084
feat(schematics): add skipInstall and skipGit options
2018-02-26 09:08:55 -05:00
vsavkin
acdeb1b71c
feat(schematics): switch to angular/cli 1.7
2018-02-25 17:13:56 -05:00
vsavkin
125852d7ec
test(schematics): add tests for create-nx-workspace
2018-02-04 18:14:40 -05:00
vsavkin
6756e197fb
remove an "fit"
2018-02-04 16:21:53 -05:00
vsavkin
8a3c182493
cleanup(schematics): clean up the output of nx-migrate
2018-02-01 11:24:28 -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
d7ba9fdc1b
feat(schematics): add nx-migrate:check and nx-migrate:skip scripts
2018-01-30 16:28:14 -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
e0a977b2d3
fix(build): build improvements
2018-01-18 17:08:37 -05:00
vsavkin
2c49c30295
fix(schematics): avoid relative paths to node modules
2018-01-16 19:27:27 -05:00
vsavkin
ddd8de3813
fix(schematics): copy the cli file when running the workspace schematic
2018-01-08 21:50:00 -05:00
vsavkin
912fc81708
fix(tslint): disallow importing apps
2018-01-05 10:49:04 -05:00
Justin Schwartzenberger
df5bd089b6
fix(schematics): update workspace to set $schema and app name
...
Also updates application to use angularCliSchema const so it is set in one place.
closes #167
2018-01-04 09:34:11 -05:00
vsavkin
5794a5d4f3
feat(schematics): add an option to format:check to "round up" to the closest lib/app
2018-01-03 11:13:56 -05:00
vsavkin
2a892b7a41
fix(schematics): fix format command to handle large number of files
2018-01-03 09:34:27 -05:00
vsavkin
826a0b1056
feat(schematics): add format:check and format:write commands
2018-01-02 15:51:44 -05:00
vsavkin
c836668541
fix(lint): only allow importing libs using the configured npm scope
2017-12-28 11:35:29 -05:00
vsavkin
e3feb8ac5e
fix(schematics): fix apps:affected to handle non-ts files
2017-12-21 11:39:42 -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
f91b5309bd
feat(schematics): replace install.sh with a more robust way of creating new workspaces
2017-12-17 11:29:49 -05:00
vsavkin
5b1b9436d0
remove a fit
2017-12-11 14:47:41 -05:00
vsavkin
550de7bb80
fix(schematics): ng build should only recompile the selected app
2017-12-11 14:07:11 -05:00
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