65 Commits

Author SHA1 Message Date
Victor Savkin
5d53661139 fix(repo): update the repo to nx 10 2020-07-16 16:18:00 -04:00
Jason Jean
a7b7af2dfe
feat(core): switch over to angular 10 (#3056)
* feat(core): switch over to devkit 10-rc.0

* feat(core): implement solution tsconfigs wip

* feat(angular): add angular migrations

* fix(angular): modify angularjs tests
2020-07-07 17:02:06 -04:00
Victor Savkin
0111d87575 feat(repo): have separate readmes for all plugins 2020-06-14 23:33:05 -04:00
Victor Savkin
e71ceba4ce feat(repo): run e2e tests using nx 2020-06-07 23:31:38 -04:00
Victor Savkin
d0cbc35efa feat(repo): build nx with nx 2020-06-03 16:25:25 -04:00
Jason Jean
e06822da7e
chore(repo): update prettier to v2 (#2934)
this is just for the repo, and not the workspace

Co-authored-by: Rares Matei <matei.rar@gmail.com>
2020-04-29 01:09:37 -04:00
Brandon Roberts
49d8ce1297 feat(angular): update Angular libraries to version 9.1.0 2020-03-31 11:25:30 -04:00
Mathias Remshardt
7aaa09bfff
cleanup(node): moves some schematic helper to shared workspace rules 2020-02-26 20:19:17 -05:00
Jason Jean
e5db43f92b fix(misc): loosen dependencies for angular dependencies 2020-02-16 09:59:11 -05:00
Jason Jean
fd0b192161 feat(core): update to devkit 9.0.1 2020-02-07 13:47:54 -05:00
Jason Jean
b6e6b3f1c3
Revert "Revert "feat(core): update to next version of angular deps"" (#2264)
This reverts commit f816fc424d4b0d850e0a49d0ed8e4a30ddca308c.
2020-01-31 13:08:50 -05:00
Victor Savkin
8749c18f91 cleanup(core): extract "core" folder from "command-line" 2019-12-16 16:04:35 -05:00
Jason Jean
e56dadc09a feat(bazel): generate all target rules 2019-12-14 12:57:05 -05:00
Jason Jean
bf4728a035 fix(bazel): move dependencies to srcs file_group 2019-12-14 12:57:05 -05:00
Jason Jean
b84aca5d8c feat(bazel): add init for bazel (#2135) 2019-12-14 12:57:05 -05:00
Jason Jean
2e2167d9f3 feat(bazel): re-introduce @nrwl/bazel 2019-12-14 12:57:05 -05:00
mrmeku
b8ee3ba478 feat(nx): remove @nrwl/bazel package 2019-04-28 15:07:08 -04:00
ben
5bc181cb3e chore(libs): update nx logo for workspace 2019-03-11 11:03:07 -04:00
Jason Jean
d537476b0c enhancement(schematics): optimize formatting during codegen 2019-01-03 14:18:20 -05:00
ben
9c10fa7db2 build(package.json): run prettier before commit
This adds a hook to the git command to run prettier on the staged files, before committing. Prettier
has now more broad and general rules with excluded folder and more files to correct.
2018-08-23 09:59:04 -04:00
ben
f2cea959b1 chore(schematics): remove console.log 2018-08-21 07:10:30 -04:00
Jason Jean
b97d30536e build: copy license from root into each dist 2018-08-20 11:39:49 -04:00
Jason Jean
205e7ad7ef feat(schematics): support @angular/cli@6.1.1 2018-08-02 13:39:19 -04:00
Thomas Burleson
04e99b06ae fix(schematics): ngrx schematics should generate enhanced ngrx files
@nrwl/schematics no longer uses the @ngrx/schematics to generate NgRx feature files.
*  `ngrx/files/__directory__` templates are used
*  Templates replicate the simple outputs generated from @ngrx/schematics:feature
*  Templates add significant Nx enhancements.

The following standard files will be scaffolded:
* `<feature>.actions.ts`
* `<feature>.effects.ts` + `<feature>.effects.spec.ts`
* `<feature>.reducer.ts` + `<feature>.reducer.spec.ts`

The following new files will also be scaffolded:
* `<feature>.selectors.ts` +  `<feature>.selectors.spec.ts`

Changes include:

* Change the action/enums to generate a trio of enums for each *feature*: `Load<Feature>`, `<Feature>Loaded`, and `<Feature>LoadError`
* Add code generators for `<feature>.selectors.ts`
* Add code generators for unit and integration testing `*.spec.ts` files
* Update the public barrel [`index.ts`] when adding ngrx to a library
* Use `StoreModule.forFeature()` when adding ngrx feature (without using the `--root` option)
* Use the Effect to respond tp `load<Feature>$` and dispatch `<Feature>Loaded` or `<Feature>LoadError`
* Update the Action to export `<feature>Actions` map of all action classes
* fix `ng-add.test.ts` tests for latest Angular CLI scaffolding
* fix `application.spec.ts` expect fails

Fixes #472,  Fixes #618,  Fixes #317,  Fixes #561, Refs #380.
2018-07-21 21:13:48 -04:00
Jason Jean
d2350c4e86 feat(schematics): fail gracefully and warn when project is missing a format npm script 2018-06-07 20:40:14 -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
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
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
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
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
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
vsavkin
e313fecc14 fix(bazel): add @nrwl/bazel as a dev dependency 2018-03-25 14:03:03 -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
4184bb2d13 Rebasing issues resolved 2018-03-20 08:38:03 -04:00
vsavkin
fcec9dc1c0 reformat code with printWidth=80 2018-03-16 15:38:28 -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
eb42a4e34f feat(bazel): set up the schematic collection and e2e test 2018-03-02 11:26:54 -05:00
Justin Schwartzenberger
b46eb1c699 fix(schematics): remove default prop for viewEncapsulation option flag
Also adds specs for confirming use with no flag and with flag
2017-12-14 09:23:25 -05:00
vsavkin
a43fbaeb9a switch to prettier 2017-10-07 12:09:45 -04:00
vsavkin
8e91e120d9 chore: temporary disable e2e tests 2017-10-03 14:06:26 -04:00
vsavkin
3c61ffb001 fix(schematics): paths to collection 2017-09-30 16:46:57 -04:00
vsavkin
18f59fb553 feat(bazel): enable worker mode for the angular compiler 2017-09-27 11:37:19 -04:00
vsavkin
fa2bc2a7c3 fix(bazel): turn on colors 2017-09-27 11:37:08 -04:00