85 Commits

Author SHA1 Message Date
Miroslav Jonaš
a9945e2946
chore(testing): fix broken nx-plugin e2e test (#6002) 2021-06-14 16:47:06 +02:00
Phillip Barta
817fc3c83b
cleanup(nx-plugin): use common json utils (#5942) 2021-06-14 11:03:35 +02:00
Craigory V Coppola
f9751786c6
feat(testing): support for Jest 27 (#5873)
- Sets default testEnvironment to web
- Updates node generators to specify testEnvironment: node
- Provides migrations to update existing jest.config.js files
- Bump angular-preset-jest to latest

ISSUES CLOSED: #5771
2021-06-11 13:25:57 -05:00
Phillip Barta
251b417a8a
feat(nx-plugin): migrate generators to @nrwl/devkit (#5744)
Co-authored-by: Jonathan Cammisuli <jon@cammisuli.ca>
2021-06-04 16:08:53 -04:00
Leosvel Pérez Espinosa
a6772c4346
fix(angular): update angular deps to use the latest minor versions (#5858) 2021-06-01 17:52:38 +01:00
Ben Callaghan
646bb72904
fix(nx-plugin): fix package json key for migration generator (#5731)
Update the key to match the value expected by the `nx migrate` command

Fixes #5730

Co-authored-by: Ben Callaghan <bcallaghan@selectbankcard.com>
2021-05-22 13:00:17 -04:00
vsavkin
319a90b6ab feat(web): add a plugin to coordinate webpack and nx builds 2021-05-19 16:12:02 -04:00
vsavkin
f82344d63a chore(repo): refine the tag line 2021-05-18 20:55:40 -04:00
vsavkin
af23cc5d7d feat(misc): change the nx tag line 2021-05-18 16:07:22 -04:00
Jason Jean
7352fd0c1e
feat(angular): update to angular 12 stable (#5643) 2021-05-12 19:30:23 -04:00
Leosvel Pérez Espinosa
678818a58b
feat(angular): upgrade Angular to v12.0.0-rc.3 (#5630)
* feat(angular): upgrade Angular to v12.0.0-rc.3

* feat(angular): target Nx v12.4.0-beta.0 for Angular v12.0.0-rc.0 upgrade

* fix(angular): use defaultConfiguration if no other configuration is passed

* cleanup(angular): sync migration folder name to target version

* fix(repo): creating custom schema flattener for docs

* chore(repo): amend yarn.lock

* feat(angular): update angular storybook to use webpack 5

* fix(angular): add legacy peer deps for angular+jest

* fix(angular): move migrations to 12.3.0-rc.0

Co-authored-by: Zack DeRose <zack.derose@gmail.com>
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-05-12 12:20:12 -04:00
Craigory V Coppola
c0d79baad5
fix(nx-plugin): plugins should not include spec files (#5566)
Glob pattern for assets previously picked up spec files.
#5563
2021-05-07 11:55:40 -04:00
Tasos Bekos
156e3c2c40 chore(repo): use jest-circus runner 2021-04-26 15:16:09 -04:00
Minijus L
357ecd09a4
fix(testing): update ts-jest to version 26.5.5 (#5405)
Update `jest.config.js` ts-jest section with lower-cased 'tsconfig' property as 'tsConfig' is to be deprecated in version 27.
2021-04-26 08:56:52 -04:00
Phillip Barta
c0ce1ce65e
cleanup(core): normalized usage of fs-extra and updated fs-extra to 9.1.0 (#5199)
* cleanup(core): normalized usage of fs-extra and updated fs-extra

* cleanup(misc): use fs over fs-extra when possible

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-04-22 12:52:52 -04:00
Phillip Barta
2dbb6ec341
cleanup(repo): updated dependency 'tmp' (#5340) 2021-04-14 23:57:57 -04:00
Bruno Baia
ab13bf488a
fix(nx-plugin): fix package name when generating generators (#5320) 2021-04-14 11:23:19 -04:00
Tasos Bekos
9cb23ddbbd feat(core): replace inquirer dependency with enquirer 2021-04-06 10:31:30 -04:00
Tasos Bekos
01e536c6eb fix(repo): documentation generation correclty handles deprecated 2021-03-31 21:03:10 -04:00
Vivek More 🧐
212fb00548 cleanup(misc): use more es6 features
- Single char alternation (e.g. a|b|c|d) in a RegExp can be simplified to use a character class ([abcd]) instead.
  This usually also provides slightly better matching performance.
- Character escapes that are replaceable with the unescaped character without a change in meaning. Inside the square brackets of a character class, many escapes are unnecessary that would be necessary outside of a character class. For example the regex [\.] is identical to [.]
- If several qualified expressions occur after the qualifier having been checked for nullable, they can be replaced with optional chaining
2021-03-24 20:11:32 -04:00
Vivek
2c72700526
feat(nx-plugin): default the import path to the npmPackageName (#4777)
ISSUES CLOSED: #4700
2021-03-23 13:19:57 -04:00
Vivek More
49ba90b81a cleanup(misc): use shorthand 2021-03-08 10:13:06 -05:00
Jason Jean
fc9caccffb
chore(repo): update nx to 11.5.0-beta.0 (#4957) 2021-03-05 19:57:26 -05:00
Vivek
ff5048e23c
cleanup(misc): misc cleanup
* cleanup(testing): simplify registering of collections

* cleanup(testing): remove unnecessary number from variable name

* cleanup(core): update error message

* cleanup(nx-plugin): use object destructuring in normalize-options.ts
2021-02-22 12:46:46 -05:00
Brandon
e4faaf1ef4
feat(angular): update Angular packages to 11.2.x release (#4788)
* feat(angular): update Angular packages to 11.2.x release

* chore(angular): fix storybook 5-6 default schematic unit test

* fix(angular): fix Angular Devkit discrepancies
2021-02-16 10:38:11 -05:00
Victor Savkin
285879c1e2 fix(misc): fix @nrwl/nx-plugin migrations 2021-02-06 14:35:51 -05:00
Victor Savkin
a25e081a84 feat(core): remove angular devkit deps 2021-01-25 12:52:30 -05:00
Tasos Bekos
96625c77fb fix(repo): fix dependenies/discrepancies causing e2e tests with PNPM to fail 2021-01-16 17:54:54 +02:00
Devin Shoemaker
f77cfc1151 fix(nx-plugin): fix executors typo in plugin template file 2021-01-11 09:15:58 -05:00
Victor Savkin
599923bc68 fix(misc): remov peer deps to make npm 7 install work
Closes #4436
2021-01-07 20:27:11 -05:00
Victor Savkin
e768ad4862 fix(misc): update the schema version for when creating executors 2020-12-22 11:32:22 -05:00
Victor Savkin
86b5c5c518 fix(core): support invoking nx from a subdirectory
Closes #4298
2020-12-17 21:25:30 -05:00
Jonathan Cammisuli
f35b14b97a
fix(nx-plugin): await generators in spec files (#4205) 2020-12-04 16:35:58 -05:00
victor savkin
a24fb961d8 feat(core): format workspace.json based on version field 2020-12-03 20:20:04 -05:00
Tasos Bekos
75ec167339 fix(nx-plugin): add missing dependencies 2020-12-03 14:13:58 -05:00
victor savkin
93ebc835dc docs(misc): clean up api docs 2020-12-02 10:51:43 -05:00
beeman
ca5d5860df
fix(nx-plugin): rename spec file in e2e project to .spec.ts (#4178) 2020-12-02 07:32:41 -05:00
victor savkin
8afc5c5bce feat(core): make older builders support new config formats 2020-12-01 15:46:00 -05:00
Tasos Bekos
6c1335ac83 feat(core): interpolated outputs & cache coverage folder 2020-12-01 13:49:43 -05:00
Tasos Bekos
1c3b215a9f cleanup(repo): enable missing dependencies check 2020-12-01 14:25:13 +02:00
Tasos Bekos
c6cb176218 cleanup(core): remove duplicate code about package manager 2020-12-01 12:43:23 +02:00
Jason Jean
b9791a3108
feat(core): upgrade to angular and angular devkit 11 (#4095) 2020-11-30 14:07:27 -05:00
victor savkin
48bcaf099d feat(core): update the migrate command to support @nrwl/devkit generators 2020-11-26 21:38:56 -05:00
victor savkin
234ca36385 cleanup(misc): clean up devkit 2020-11-26 10:19:13 -05:00
Jonathan Cammisuli
15213119b7
feat(nx-plugin): use @nrwl/devkit 2020-11-25 14:34:03 -05:00
Tine Kondo
b78240330f feat(testing): use the appropriate package manager to install dependencies in the e2e directory
Closes #3871
2020-11-09 16:13:14 -05:00
Sebastiandg7
7964319ff6 fix(nx-plugin): use plugin name in e2e tests for running schematic
replace the property name version with the plain version of the plugin name in the plugins e2e tests
in order to coincide with the generated schematic name

ISSUES CLOSED: #3933
2020-10-28 21:08:30 -04:00
Jason Jean
6c4aacf212
feat(repo): update to nx 10.3 (#3840) 2020-10-02 13:12:34 -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