1125 Commits

Author SHA1 Message Date
James Henry
bd92a12c33
feat(angular): eslint config including template linting (#3988)
* feat(angular): eslint config including template linting

* feat(angular): migration add-template-support-and-presets

* feat(angular): add support for component and directive prefix in lint config

* fix(angular): tests

* fix(angular): e2e tests

* fix(angular): update to latest and make updates

* fix(angular): update to latest and make updates

* fix(angular): lockfile

* fix(angular): update to latest and make updates

* fix(angular): bump angular-eslint

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2020-11-25 13:55:22 -05:00
Jay Bell
090350bb5d
feat(angular): allow for ivy to be enable for buildable libraries (#4058) 2020-11-20 13:58:58 -06:00
Juri
db7c3e6bbf fix(angular): install angular packages when generating a new lib
#2652

ISSUES CLOSED: #2652
2020-11-13 15:58:39 -05:00
Juri
1fcea9718b feat(angular): browser builder with incremental build support 2020-11-12 20:49:38 -05:00
Juri
3d7c230cac fix(angular): update karma, jasmine & protractor deps 2020-11-12 08:29:50 -05:00
Christian Jensen
da4fe07c47
fix(angular): handle delimited name in NgRx templates (#3955) 2020-10-30 10:01:34 -05:00
Juri Strumpflohner
0892fa2b32
feat(angular): improve incremental build speed (#3854) 2020-10-30 10:23:34 -04:00
Tasos Bekos
463d2cb9e0
fix(repo): add missing tslib dependency in generated applications (#3858) 2020-10-23 17:09:35 -04:00
Guilherme Siquinelli
56203591b6
fix(angular): angular library was not checking to see if an import path exists (#3888)
loading child paths into an angular library was not checking to see if an import path exists, so it
generated the wrong path.
the unit tests of the angular package are working. I generated a local
release with verdaccio after the correction and generated the right children path.
2020-10-16 17:32:10 -04:00
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