2290 Commits

Author SHA1 Message Date
vsavkin
2eadc30f21 cleanup(misc): speed up requiring devkit 2021-04-04 11:11:16 -04:00
Tasos Bekos
d5b6d62481 cleanup(misc): replace lodash with lodash.template
No need to import whole `lodash` in our `@nrwl/workspace` bundle, although we use only the `template` function.
2021-04-03 21:45:29 -04:00
vsavkin
b78584325e Revert "fix(angular): prevent running ngcc with incremental builds (#5107)"
This reverts commit 6ad7c6037cc389ac64a540ac7a96c69d25e6adad.
2021-04-03 21:19:01 -04:00
Tasos Bekos
0bccf2ced6 feat(core): enable v8 compile cache for cli 2021-04-02 11:00:40 -04:00
Jason Jean
b5594b7674
fix(devkit): fix reading partial workspace layout (#5204) 2021-04-01 17:51:51 -04:00
Leosvel Pérez Espinosa
6ad7c6037c
fix(angular): prevent running ngcc with incremental builds (#5107) 2021-04-01 18:33:45 +02:00
Jack Hsu
c84bbb3c93
feat(react): add support for new jsx transform (#5131) 2021-04-01 13:46:12 +00:00
Tasos Bekos
711709059e feat(node): add CLI wrapper option for publishable libraries 2021-04-01 16:40:59 +03:00
Manfred Steyer
9d2290fea9 feat(angular): add buildTarget to webpack-browser builder
Before, the webpack-browser builder always directly scheduled @angular-devkit/build-angular:browser. Now, one can configure an
optional buildTarget that is scheduled instead. If this option is not used, the former behavior -- directly scheduling
@angular-devkit/build-angular:browser -- takes place.
2021-03-31 21:11:47 -04:00
kirjai
aefdf26a03 feat(nextjs): support next 10.1.2 2021-03-31 21:09:17 -04:00
Tasos Bekos
fedc32c6bd fix(node): apps use commonjs module 2021-03-31 21:03:52 -04:00
Tasos Bekos
01e536c6eb fix(repo): documentation generation correclty handles deprecated 2021-03-31 21:03:10 -04:00
James Henry
b4981324b5
fix(linter): convert tslint:disable comments as part of project conversion (#5188)
* fix(linter): convert tslint:disable comments as part of project conversion

* fix(linter): use dynamically loaded tslint-to-eslint-config

* fix(linter): restore unrelated snapshot

* chore(linter): use visitNotIgnoredFiles

* cleanup(linter): remove unused code

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-03-31 22:53:20 +00: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
Tobias M
42b3a145ec
fix(devkit): safely reference engineHost paths (#5121)
When engineHost paths are undefined then drop back to the tree root path

Closes #5120
2021-03-31 18:38:38 -04:00
Jason Jean
a300e7613d
fix(core): throw an error if implicit dependency is a string that is not '*' (#5176) 2021-03-31 18:08:56 -04:00
Jason Jean
03d16676ac
fix(misc): pass in specific copy of webpack (#5190) 2021-03-31 18:07:55 -04:00
Jason Jean
01967f89b1
fix(storybook): read package version from node_modules (#5187) 2021-03-31 19:37:28 +00:00
Kirils L
7ccee19000
fix(web): support isServer flag in babel (#5158) 2021-03-31 13:51:23 -04:00
vsavkin
5bfb5a4f8e cleanup(testing): remove log statement 2021-03-31 12:12:21 -04:00
vsavkin
ba1357d3d3 cleanup(core): remove unused code 2021-03-30 21:02:07 -04:00
Jack Hsu
f9c943827f
feat(gatsby): update to Gatsby v3 (#5170) 2021-03-30 12:48:09 -04:00
Jack Hsu
e2287867cd
feat(core): update typescript to 4.1 (#5116) 2021-03-30 08:38:40 -04:00
vsavkin
6024859990 chore(repo): clean up language 2021-03-29 12:26:01 -04:00
Philip Fulcher
dae0d62e22
feat(misc): add debugger panel to dep-graph client (#5143) 2021-03-29 08:56:23 -06:00
Juri Strumpflohner
ec2ebca40a
fix(storybook): linting react storybook files with eslint (#5146)
ISSUES CLOSED: #3867
2021-03-29 14:24:27 +03:00
Jack Hsu
ed94c4e1ec
docs(core): add nextjs app for new nx.dev website (#5133)
Co-authored-by: ben <contact@benjamincabanes.com>
2021-03-27 04:01:31 +00:00
Tasos Bekos
14b1df2173
cleanup(misc): deprecate showCircularDependencies option (#5135) 2021-03-26 15:12:21 -04:00
kirjai
feb31628e9 fix(angular): not install @ngrx/component-store if it's not installed already 2021-03-26 16:45:26 +00: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
Leosvel Pérez Espinosa
3cac30caf9
fix(core): normalize run-commands and run-script cwd handling (#5119) 2021-03-26 11:28:42 -04:00
Tasos Bekos
ead6dd8864
chore(repo): run e2e outside project directory on CI (#5037) 2021-03-26 11:19:31 -04:00
Phillip Barta
4dae7299bf
fix(misc): fixed a typo in nx not globally installed warning (#5126) 2021-03-26 11:08:34 -04:00
Noriyuki Shinpuku
d582875599
fix(linter): apply enforce-module-boundaries rule to import expressions (#5054)
ISSUES CLOSED: #3857
2021-03-26 08:27:25 -04:00
Artem Berezin
dedd2e49d6
fix(storybook): rename storybook dev server ssl param to https (#5096)
`ssl` don't work, because `https` is expected by storybook's dev-server

https://github.com/storybookjs/storybook/blob/next/lib/core-server/src/dev-server.ts#L40

Co-authored-by: juristr <juri.strumpflohner@gmail.com>
2021-03-26 11:22:52 +01:00
Jason Jean
9348eae236
feat(linter): update tslint-to-eslint-config to ^2.2.0 (#5117) 2021-03-25 13:03:15 -04:00
Jason Jean
24a5cb0b25
fix(linter): keep plugins other than typescript-eslint/tslint (#5111) 2021-03-25 11:30:12 -04:00
Tasos Bekos
47812d3352 fix(core): git hasher handles workspaces not only in root 2021-03-24 20:11:53 -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
Jason Jean
578455f032
fix(linter): remove unused parameter from convert-to-eslint-config (#5108) 2021-03-24 20:04:05 +00:00
Jason Jean
be600ef15e feat(linter): install tslint-to-eslint in a tmp dir 2021-03-24 15:16:18 -04:00
Jason Jean
eb2fa0fac0 fix(linter): remove tslint/config rule from converted eslint configs 2021-03-24 15:16:18 -04:00
vsavkin
9d36c5a5f0 fix(core): respect patterns when hashing implicit deps 2021-03-24 13:10:14 -04:00
Jack Hsu
3587492bb8
fix(nextjs): improve documentation for "nextConfig" option and provide better error messages (#5098) 2021-03-24 10:29:47 -04:00
Jason Jean
46e64fc188
fix(linter): always add eslint dependencies (#5095) 2021-03-23 20:41:53 +00:00
Kirils L
14888e50f4
fix(nextjs): leverage nextjs for loading svgs (#5060)
omit our own svg loading fallback, so that next.js webpack config is used instead
2021-03-23 15:14:09 -04:00
Jason Jean
6d7b9d5902 Revert "fix(devkit): omit identical file updates from actions preventing unnecessary installs (#5055)"
This reverts commit 754ccf2983ff3c02728f5253d4e1c075b6db7ae7.
2021-03-23 15:07:38 -04:00
vsavkin
b75180353a cleanup(core): remove dead code 2021-03-23 14:01:23 -04:00
Jason Jean
9acf8cbbf0
fix(angular): fix angular move merge conflict (#5094) 2021-03-23 17:22:41 +00:00