1466 Commits

Author SHA1 Message Date
Jason Jean
6c4aacf212
feat(repo): update to nx 10.3 (#3840) 2020-10-02 13:12:34 -04:00
Victor Savkin
c25628a4f6
feat(misc): add linter flag to create-nx-workspace (#3826)
* feat(misc): add linter flag to create-nx-workspace

* fix(core): prompt linter when preset is angular or angular-nest

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2020-09-30 12:11:37 -04:00
Brian
3f436fc6d0
feat(core): add flag to set dependant libs in either peerDependencies or dependencies (#3078)
* feat(core): add flag to set dependant libs in either peerDependencies or dependencies

* fix(core): mark new property as optional

* feat(core): add migration for new option

* Update migrations.json

Co-authored-by: Jonathan Cammisuli <jon@cammisuli.ca>
2020-09-30 10:36:35 -04:00
James Henry
e22f9370f5
feat(linter): new eslint builder (#3834)
* feat(linter): new eslint builder

* chore(linter): move migration to linter, add implementation

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2020-09-29 20:52:10 -04:00
Jason Jean
232fd9f30b
feat(core): update to typescript 4 (#3814) 2020-09-29 18:53:22 -04:00
Jason Jean
6885507567
fix(angular): add tsconfig.editor.json to catch misc files" (#3810) 2020-09-28 13:23:56 -04:00
Katerina Skroumpelou
5da9e668fd
feat(storybook): add support for Storybook v6
Co-authored-by: Katerina Skroumpelou <katerina@fileas.local>
Co-authored-by: Juri <juri.strumpflohner@gmail.com>
2020-09-28 15:57:10 +02:00
Webber Wang
9efa305b62
feat(storybook): storybook config projectType application (#2382) (#3611)
* feat(storybook): storybook config projectType application

* docs(storybook): update auto-generated docs

* feat(storybook): supporting projectType application for storybook

feat(storybook): supporting projectType application for storybook

* fix(storybook): change build asset glob pattern

fix(storybook): change build asset glob pattern

Co-authored-by: Webber Wang <webber@codelabstudios.com>
2020-09-24 17:33:24 +03:00
Jonathan Cammisuli
e6e2dc67aa
feat(testing): add projects into jest config (#3766)
* feat(testing): add projects into jest config

* chore(testing): update unit tests and fix presets with spreading a default

* chore(testing): fix node e2e

* chore(testing): review comment changes
2020-09-23 02:20:10 -04:00
Mehrad Rafigh
d07ab51b4d feat(angular): update jest-preset-angular library to v8.3.1 2020-09-15 11:17:03 -04:00
Juri Strumpflohner
929f2f4b9d
fix(angular): properly generate storybook stories across barrel files (#3662)
Previously stories haven't been generated properly when
barrel files had been used to import
components in
Angular modules

ISSUES CLOSED: 2813
2020-09-15 14:25:11 +03:00
Jo Hanna Pearce
001b6ee8cc fix(misc): updates the mv schematic to cope with libs created with --importPath
ISSUES CLOSED: #3476
2020-09-14 13:36:46 -04:00
Peter B Smith
78576e7c89
fix(angular): replace addAll with setAll in ngrx schematic (#3699)
Closes #3698
2020-09-09 13:59:46 -05:00
Victor Savkin
2c1d99e066 fix(angular): use @schematics/angular when setting style defaults 2020-09-03 20:49:53 -04:00
Mehrad Rafigh
270433fd35
feat(angular): update NgRx libraries to version 10.0.0 (#3543)
Fixes: #3542
2020-08-31 13:28:47 -05:00
Mehrad Rafigh
f54935734d
fix(angular): respect useDataPersistence flag when creating ngrx effects (#3537)
useDataPersistence only worker for the creator syntax. This PR will add the ability to use the
classes syntax without nrwls datapersistence

Closes: #2448
2020-08-26 10:20:40 -05:00
Tasos Bekos
00036d8618
cleanup(angular): fix storybook configuration snapshot order (#3598) 2020-08-25 13:54:00 +02:00
Jason Jean
d796731c97
fix(angular): generate storybook configuration with proper linter (#3580) 2020-08-21 11:55:24 -04:00
Jonathan Cammisuli
7dbf48a11e
chore(repo): update to 10.1.0-beta (#3561) 2020-08-19 13:06:12 -04:00
Jonathan Cammisuli
2569b0270d
feat(testing): update jest to v26 (#3449) 2020-08-14 14:54:01 -04:00
Ashley Hunter
10911e25c2
feat(angular): add an option to add strict type checking (#3465)
* feat(angular): add an option to add strict type checking

Adding support for strict type checking to Angular application and library generate schematics.

E.g.

`nx generate application myapp --strict`
`nx generate lib mylib --strict`

Closes #3383.

Performs the following configuration changes:

- Enables strict mode in TypeScript, as well as other strictness flags recommended by the TypeScript team. Specifically, forceConsistentCasingInFileNames, noImplicitReturns, noFallthroughCasesInSwitch.

- Turns on strict Angular compiler flags strictTemplates and strictInjectionParameters

These match the flags used in the standard CLI strict mode.

* cleanup(misc): updating import path

Co-authored-by: Ashley Hunter <ashley.hunter@hotmail.co.uk>
2020-08-12 18:15:59 -05:00
Victor Savkin
aff592b930 feat(angular): add an option to use eslint 2020-08-06 22:08:16 -04:00
Juri
1c4efa213f fix(core): accidental removal of libsDir(host) 2020-08-05 23:02:18 -04:00
Jo Hanna Pearce
53b69272eb
fix(misc): add regex pattern to schematics to prevent empty app/lib creation (#3396)
ISSUES CLOSED: #2924
2020-07-31 10:44:31 -04:00
Jonathan Cammisuli
8509ded7e4
fix(angular): update tsconfig.lib.json to have "include" (#3389) 2020-07-23 11:23:34 -04:00
Juri Strumpflohner
ed0a9a7405
fix: generated tsconfig path mapping for publishable libs (when generated in nested folders) (#2840)
fix(core): require importPath for publishable libs
2020-07-22 12:39:44 -04:00
Katerina Skroumpelou
39a34a9836
fix(storybook): prevent from failing when no components declared (#3369)
ISSUES CLOSED: #2613
2020-07-20 22:41:29 +02:00
Victor Savkin
5d53661139 fix(repo): update the repo to nx 10 2020-07-16 16:18:00 -04:00
Jason Jean
d755f61756
fix(angular): use isObservable to prevent errors due to rxjs version mismatch (#3331) 2020-07-13 19:20:31 -04:00
Brandon
a593573623
fix(angular): check for spec files when generating a library (#3323)
Closes #3286
2020-07-13 15:41:17 -05:00
Christian Jensen
63701b008e
fix(angular): correct typo in NgRx reducer template (#3266) 2020-07-13 10:45:54 -05: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
Jason Jean
0ab2fc7875
fix(repo): register local collections for unit tests (#3207) 2020-06-20 03:01:03 -04:00
Victor Savkin
1e593a2b07 fix(misc): minor format changes in readmes 2020-06-15 10:27:07 -04:00
Victor Savkin
0111d87575 feat(repo): have separate readmes for all plugins 2020-06-14 23:33:05 -04:00
Victor Savkin
13280b5282 fix(angular): always append ngcc postinstall script 2020-06-10 16:34:35 -04:00
Victor Savkin
e71ceba4ce feat(repo): run e2e tests using nx 2020-06-07 23:31:38 -04:00
Rares Matei
5a59f090fe
fix(linter): fix exclude pattern for tslint and eslint schematics (#3113) 2020-06-05 16:04:53 -04:00
Jo Hanna Pearce
319f7d0f26 feat(angular): add addModuleSpec flag to library schematic + refactor 2020-06-03 16:46:42 -04:00
Victor Savkin
d0cbc35efa feat(repo): build nx with nx 2020-06-03 16:25:25 -04:00
Victor Savkin
2a3116f2e6 feat(misc): add an option not to update package.json files when building libs 2020-06-03 12:55:37 -04:00
Jack Hsu
d593153a33
feat(react): refactored babel support so options are more easily customized (#3089)
This reverts commit 7679df22f5b90d085b5f32f2135d828036ee5aa7.
2020-05-29 02:09:47 -04:00
Victor Savkin
690be207be fix(misc): several misc fixes 2020-05-28 15:02:06 -04:00
Victor Savkin
7679df22f5 Revert "feat(react): refactored babel support so options are more easily customized (#3058)"
This reverts commit 0e036272cbe156fe9750a2f2bc6498a08cf7f457.
2020-05-28 13:11:56 -04:00
Jack Hsu
0e036272cb
feat(react): refactored babel support so options are more easily customized (#3058) 2020-05-26 09:16:36 -04:00
Victor Savkin
a95cba3144 feat(core): support different workspace layouts 2020-05-17 16:39:14 -04:00
Devin Shoemaker
0a70e46b6b
cleanup(core): export setDefaultCollection from @nrwl/workspace (#2970) 2020-05-09 12:12:40 -04:00
Adam L Barrett
515cc37ec6
Use local-registry for E2E tests (#2821) 2020-05-09 12:05:17 -04:00
Jonathan Cammisuli
4095d21d20
feat(core): add npm dependencies to package.json for publishable libs (#2879) 2020-05-08 13:54:00 -04:00
Brandon
5eca6d5187
feat(angular): update NgRx libraries to 9.1.0 (#2929)
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2020-05-05 19:16:18 -04:00