1145 Commits

Author SHA1 Message Date
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
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
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
13280b5282 fix(angular): always append ngcc postinstall script 2020-06-10 16:34:35 -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
Jason Jean
bbf3fe07b6
feat(angular): update angularjs to 1.7.9 (#2947) 2020-05-05 19:10:38 -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
Juri Strumpflohner
a47c24c05f
feat(react): improve storybook schematics (#2831) 2020-04-27 18:47:23 +02:00
Juri Strumpflohner
d9baf7daba
docs: add link to nxcloud when generating a new react/angular a… (#2819)
* docs(angular): add link to nxcloud in generated app

* docs(react): add link to nxcloud in generated app
2020-04-11 22:13:00 +02:00
Brandon
9f0fdac4b5
fix(angular): remove prod tsconfig for non-publishable lib (#2816)
Closes #2765
2020-04-09 10:33:17 -05:00
Jason Jean
efae1694cc
cleanup(misc): refactor how installs are added during schematics (#2788) 2020-04-02 12:41:08 -04:00
Jason Jean
3a8748a872
fix(angular): extend angular version range to anything higher t… (#2785) 2020-04-01 17:16:09 -04:00
Brandon Roberts
49d8ce1297 feat(angular): update Angular libraries to version 9.1.0 2020-03-31 11:25:30 -04:00
Jonathan Cammisuli
0ad6f91ff8 feat(testing): update Jest and its dependencies to v25 2020-03-29 11:31:20 -04:00
Jason Jean
09c4654ae9 fix(misc): add formatting to all migrations 2020-03-29 11:30:59 -04:00
Jason Jean
aeb0bdcb4e feat(core): enable caching by default 2020-03-26 17:14:17 -04:00