426 Commits

Author SHA1 Message Date
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
vsavkin
78f27abe6c feat(node): do not override main and typings 2021-04-24 19:11:45 -04:00
vsavkin
aef1b1783c feat(repo): switch to using dependsOn for the relationship between build and build-base 2021-04-23 10:11:31 -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
48bf60c17d
cleanup(repo): removed unused dependecies from @nrwl/web migration in #2004 (#5344) 2021-04-15 00:14:27 -04:00
vsavkin
38c111ba06 chore(repo): update to nx 12 2021-04-07 12:31:23 -04:00
Tasos Bekos
e065a70511 feat(node): package should validate main entry option 2021-04-07 10:20:57 -04:00
Tasos Bekos
72b5e01021 cleanup(node): fix unit tests 2021-04-06 19:08:51 +03:00
Tasos Bekos
59eca00728 feat(node): support webpackConfig as array 2021-04-06 18:31:38 +03:00
Tasos Bekos
711709059e feat(node): add CLI wrapper option for publishable libraries 2021-04-01 16:40:59 +03:00
Tasos Bekos
fedc32c6bd fix(node): apps use commonjs module 2021-03-31 21:03:52 -04:00
Tasos Bekos
f807a04e77
feat(node): support --simpleModuleName on library generation (#5153)
Closes #3822
2021-03-31 18:50:22 -04:00
Tasos Bekos
cf7639fcbc
feat(node): support deleteOutputPath for package builder (#5154) 2021-03-31 18:46:50 -04:00
Jason Jean
03d16676ac
fix(misc): pass in specific copy of webpack (#5190) 2021-03-31 18:07:55 -04:00
Tasos Bekos
14b1df2173
cleanup(misc): deprecate showCircularDependencies option (#5135) 2021-03-26 15:12:21 -04:00
Tasos Bekos
e3aaf65c88
fix(node): early assets copy to "respect" updates on package.json (#5114)
If `package.json` is "accidentally" copied with assets, it overwrites the existing updated `package.json` resulting in loss of entry points and buildable dependencies. This commit makes sure that any update to `package.json` happens after asset copying.
2021-03-26 11:33:14 -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
d1b09eaabd
cleanup(misc): make code more consistent and fix typos 2021-03-23 13:03:17 -04:00
Tasos Bekos
82799042db
fix(node): fix unreachable code on library generation (#5080) 2021-03-22 11:18:42 -04:00
James Henry
00dec221e2
feat(linter): convert-tslint-to-eslint generators (#4943)
* feat(linter): convert-tslint-to-eslint generators

* fix(core): remove generators in collection for ng and nest

* fix(core): update tao to support mixed generators and schematics

* fix(core): update tao to support mixed generators and schematics

* fix(core): address some PR feedback

* fix(core): fix snapshots after syncing up with master

* feat(core): store user preference for removeTSLintIfNoMoreTSLintTargets

* fix(linter): unit tests

* feat(core): apply root tslint.json conversion to root .eslintrc.json
2021-03-19 13:41:13 -04:00
kirjai
9d863a7073 fix(nextjs): include peer dependencies in built package.json 2021-03-15 10:29:33 -04:00
Jason Jean
d4629be208
feat(node): migrate @nrwl/node builders to devkit (#5012) 2021-03-12 23:06:32 +00:00
Jason Jean
4df3b66152
feat(node): migrate @nrwl/node schematics to devkit (#4958) 2021-03-11 19:18:22 +00:00
Jack Hsu
ddec362a5a
fix(nextjs): update babel setup to better support next apps (#4944)
* fix(nextjs): update babel setup to better support next apps

* fix(testing): remove babel-jest.config.json used in jest.config.js

- Fix `@nrwl/web/babel` to support Jest as well
2021-03-09 21:32:36 +00: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
James Henry
48c7c7b6a3
fix(core): always use project level tsconfigs with eslint (#4657)
* chore(core): increase coverage of eslint config file contents

* fix(core): always use project level tsconfigs with eslint

* chore(core): enhance depcheck to ignore type only imports

* chore(linter): migration always-use-project-level-tsconfigs-with-eslint

* fix(core): snapshots

* feat(core): thin wrapper around tseslint parser

* fix(core): depcheck for eslint-plugin-nx

* fix(core): revert wrapped parser

* fix(linter): add tsconfig root dir to allow for normalized paths for project configs

* fix(linter): move migration to 11.5.0

* fix(linter): add dependency on to @nrwl/workspace

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-03-05 11:48:18 -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
a25e081a84 feat(core): remove angular devkit deps 2021-01-25 12:52:30 -05:00
mehrad-rafigh
252c64995a fix(node): support multiple node apps with single frontend
ISSUES CLOSED: #4215
2021-01-11 16:07:31 +02:00
Curtis Hughes
21bd952b26
fix(node): use proper watch value with the node:execute executor (#4083) 2021-01-08 15:20:45 -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
jaybell
32f8f8cf3b feat(core): add strict as an option to workspace, nest and node lib schematics 2021-01-06 17:11:27 -05:00
James Henry
cbb1972a91 fix(core): respect js option when setting eslint patterns 2021-01-05 11:01:49 -05:00
Tasos Bekos
21697c2bf3 fix(node): make package.json entries OS independent
Closes #4390
2020-12-23 15:52:39 -05:00
Isaac Mann
35015dd891 cleanup(docs): update terminology for docs related to nx/devkit 2020-12-06 13:52:08 -05:00
Victor Savkin
8224a1029e feat(core): switch default config to v2 2020-12-06 13:29:40 -05:00
Juri
e1055fcca8 fix(node): check whether deps have been built when using incremental build 2020-12-04 14:11:07 -05:00
Juri
ea59892b11 fix(node): set buildLibFromSource to true by default
Incremental build is for large monorepos and should be enabled manually
2020-12-04 14:10:46 -05:00
victor savkin
a24fb961d8 feat(core): format workspace.json based on version field 2020-12-03 20:20:04 -05:00
victor savkin
93ebc835dc docs(misc): clean up api docs 2020-12-02 10:51:43 -05:00
victor savkin
baa8c23d0f feat(misc): make all generators public 2020-12-02 10:51:43 -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
Jonathan Cammisuli
2ec6848dd3 feat(node): add generatePackageJson option to build executor 2020-11-30 19:59:45 -05:00
Jason Jean
b9791a3108
feat(core): upgrade to angular and angular devkit 11 (#4095) 2020-11-30 14:07:27 -05:00
victor savkin
234ca36385 cleanup(misc): clean up devkit 2020-11-26 10:19:13 -05:00
Victor Savkin
2824794a92 feat(core): clean up the language to use word executor 2020-11-24 09:49:52 -05:00