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
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
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
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
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
mrmeku
c81fe9ef21
Isolate packages from one another
2018-03-20 08:38:03 -04:00
mrmeku
6a21906fdd
Combine link and link-spec scripts
2018-03-20 08:38:03 -04:00
mrmeku
4184bb2d13
Rebasing issues resolved
2018-03-20 08:38:03 -04:00
vsavkin
de138bb26c
fix(schematics): fixed the absolute import check
2018-03-19 13:50:19 -04:00
vsavkin
fcec9dc1c0
reformat code with printWidth=80
2018-03-16 15:38:28 -04:00
vsavkin
93ecf24bda
feat(schematics): cache the dependency graph to speed up "ng lint"
2018-03-16 12:54:01 -04:00
vsavkin
dba3ce4df3
fix(schematics): update the .angular-cli.json schema
2018-03-15 11:25:25 -04:00
Thomas Skalnik
53175f925e
feat(schematics): add lint check for circular deps
2018-03-14 09:47:04 -04:00
Thomas Skalnik
4f052bb3e6
fix(schematics): win compatibility
2018-03-14 09:47:04 -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
Thomas Skalnik
e87faf5b15
fix(schematics): lint rule win compatibility, collision of lib names
2018-03-11 15:01:12 -04:00
James Henry
56a6611575
feat(schematics): Allow users to set prettier config, add relevant migration
2018-03-11 14:34:40 -04:00