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
Victor Savkin
fba3b24958
bump up version to 0.11.0
2018-04-06 20:54:25 -04:00
Victor Savkin
8874831c13
update changelog
2018-04-06 20:54:14 -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
871129e33d
update changelog
2018-04-05 21:12:07 -04:00
Victor Savkin
50ae8989e9
bump up version number
2018-04-05 21:12:01 -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
mrmeku
0c2b01bda6
fix(bazel): Extend ngrx and angular schematics ( #401 )
...
Workspace names can now be anything where before it was hardcoded
to be "proj"
2018-04-05 15:49:47 -06: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
Victor Savkin
dee3f115b7
bump up version
2018-04-03 15:33:24 -04:00
Victor Savkin
779c3d9d80
update changelog
2018-04-03 15:33:16 -04: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
Jonas Janz
bd50643d60
docs(nx): fix typo in CONTIRBUTING.md
...
fixing a small typo in the CONTRIBUTING.md
2018-04-03 15:17:46 -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
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
Thomas Skalnik
fff9659c3a
feat(lint): extend circular dependency check
2018-03-29 13:05:27 -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
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
FrozenPandaz
edac12c859
refactor: add rule for no unused locals and cleanup
2018-03-27 19:46:56 -04:00
Mark Phippard
113b51bd33
feat(schematics): affected support for uncommitted changes
...
Extended the syntax for affected so that it can get the
list of files from either locally staged changes or all
modified but unstaged files. Syntax is:
nx affected apps staged
nx affected apps unstaged
This could enable developer to more easily run a subset
of tests locally before committing.
Related to #201
2018-03-27 11:14:11 -04:00
FrozenPandaz
cd8a0feb24
fix(schematics): add dependency for npm-run-all
2018-03-27 10:56:05 -04:00
FrozenPandaz
9cc8259190
refactor(schematics): add method for updating and reading json
2018-03-27 10:48:12 -04:00
vsavkin
c1ca7df014
feat(schematics): add an option to pass a custom module name when creating libs
2018-03-26 09:30:45 -04:00
Noel MACE
2746f0399d
feat(schematics): add a usage information option to create-nx-workspace
...
`create-nx-workspace --help` shows usage information (commande,
description and options) and exit
2018-03-26 09:24:55 -04:00
vsavkin
9a40686bcc
formatting
2018-03-25 15:43:17 -04:00
vsavkin
fba74f66bc
enable format check
2018-03-25 15:43:17 -04:00
vsavkin
d416c580b5
feat(schematics): enhance nxEnforceModuleBoundaries check to support projects tagged with multiple tags
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
vsavkin
e313fecc14
fix(bazel): add @nrwl/bazel as a dev dependency
2018-03-25 14:03:03 -04:00
Thomas Skalnik
809bdd4c27
fix(schematics): add appRoot.path for filesystem reads/writes
2018-03-25 11:34:48 -04:00
Benjamin Kindle
8beae9fa3d
fix(schematics): handle undefined rulesDirectory
...
avoid error `cannot read property 'push' of undefined`
2018-03-25 10:58:02 -04:00
FrozenPandaz
87d8592a70
fix(nx): fix formatting for paths with space
2018-03-25 10:57:04 -04:00
FrozenPandaz
fc0bec9080
fix(schematics): fix e2e lint config in angular cli json
2018-03-25 10:56:36 -04:00
FrozenPandaz
476688b885
chore: gitignore and remove log files
2018-03-25 10:55:44 -04:00
FrozenPandaz
8fd05f3e45
feat(schematics): add migration for karma app check
2018-03-25 10:55:20 -04:00
FrozenPandaz
c747a4a0a0
fix(nx): allow more types of arguments
2018-03-25 10:49:11 -04:00
Thomas Burleson
d84ee891aa
Update CONTRIBUTING.md
2018-03-22 11:09:34 -05:00
Thomas Burleson
86ff6ba2e3
Update CONTRIBUTING.md
2018-03-22 11:09:17 -05:00