488 Commits

Author SHA1 Message Date
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
vsavkin
b17b186186 fix(schematics): dasherize the state folder
Closes #272
2018-03-09 22:10:14 -05:00
vsavkin
da9310e9db fix(schematics): fix create-nx-workspace to respect the --directory 2018-03-09 10:45:09 -05:00
Thomas Burleson
e21caa0143 fix(schematics): add store-freeze support
Add support for `ngrx-store-freeze` to root modules.

Refs #174.
2018-03-09 09:49:58 -05:00
Michael Warneke
04f8e2fd46 feat(schematics): let nrwl schematics extend from angular schematics
#266
2018-03-09 09:46:43 -05:00
FallenRiteMonk
37cabafb35 fix protractor.conf.js schema 2018-03-09 09:46:08 -05: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
feeaba1a4b fix(schematics): fix format:write --libs-and-apps 2018-02-28 12:36:34 -05:00
vsavkin
b3ca2ee006 fix(schematics): set the latestMigration property correctly 2018-02-28 10:49:36 -05:00
vsavkin
24063f0246 cleanup(schematics): remove the version property 2018-02-28 10:49:12 -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
58e99ab04d fix(schematics): change format to default to format-all when no patterns are detected 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
e8ee7a2d3a feat(schematics): update the application schematics not to run the formatter 2018-02-26 11:27:45 -05:00
vsavkin
cb79dec084 feat(schematics): add skipInstall and skipGit options 2018-02-26 09:08:55 -05:00
vsavkin
e7481a790f refactor(schematics): use schematic context to format the generated code 2018-02-25 18:48:23 -05:00
vsavkin
acdeb1b71c feat(schematics): switch to angular/cli 1.7 2018-02-25 17:13:56 -05:00
Noeri Huisman
545f2ff139 fix(schematics): base projectPath on the full path instead of the current working directory of the process
The `nxEnforceModuleBoundariesRule` based the projectPath on `process.cwd()` which won't work in case the linter is run from any other directory.
This change uses the `app-root-path` library for determining the root folder, independent of the cwd.
2018-02-19 10:46:16 -05:00
Emilio
9128fa8be1 fix(schematics): ammend command in script errors 2018-02-19 10:42:05 -05:00
vsavkin
70f7b608e7 fix(schematics): fix enforceModuleBoundaries check to properly detect incorrect relative imports 2018-02-18 15:27:00 -05:00
vsavkin
222efe2f26 feat(schematics): change generate effect tests to use toBeObservable 2018-02-13 20:52:26 -05:00