9605 Commits

Author SHA1 Message Date
Kirils L
ffc69d41b4
feat(nextjs): add option to disable svgr (#5200) 2021-04-06 22:40:52 -04:00
vsavkin
51714ee693 Release 12.0.0-rc.1 2021-04-06 20:40:10 -04:00
katerina
379d48f1f9 feat(react): remove @types/react-redux package and migrator for older projects
ISSUES CLOSED: #5149
2021-04-06 20:21:40 -04:00
vsavkin
b5efa6bfee feat(core): hash only relevant parts of global config files 2021-04-06 20:20:47 -04:00
Jack Hsu
76bc890f34
feat(nextjs): update Next.js to 10.1.3 (#5254) 2021-04-06 14:28:39 -04:00
Jack Hsu
908b5431a2
feat(gatsby): update to Gatsby 3.2.1 (#5253) 2021-04-06 14:13:16 -04:00
Jason Jean
bfb194843f
feat(core): remove readFile argument from createProjectGraph (#5206)
* feat(core): deprecate creating a project graph from a host

* feat(core): remove readFile argument from createProjectGraph
2021-04-06 13:44:09 -04:00
Leosvel Pérez Espinosa
4dac0a2122 cleanup(core): copy from cache only when needed 2021-04-06 12:18:10 -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
katerina
2612268faa fix(core): take into account name argument in create-nx-workspace generator 2021-04-06 10:31:50 -04:00
Tasos Bekos
9cb23ddbbd feat(core): replace inquirer dependency with enquirer 2021-04-06 10:31:30 -04:00
Leosvel Pérez Espinosa
bba3f0ee3f fix(angular): fix eslint component/directive selector prefix 2021-04-06 10:30:58 -04:00
Tasos Bekos
9869139294 chore(repo): pin PNPM version for e2e tests
PNPM@6.0.0 has been released with a few breaking changes, making our e2e tests to fail. Unitl we properly upgrade, we should use PNPM@5.
2021-04-06 13:22:22 +03:00
Leosvel Pérez Espinosa
ad5628557c fix(angular): prevent running ngcc with incremental builds 2021-04-05 13:25:31 -04:00
James Henry
cc3e50e4d9 chore(angular): update @angular-eslint dependencies to latest 2021-04-05 13:25:20 -04:00
divlo
fdaf93beee fix(nx-plugin): broken link to @nx-tools/nx-docker 2021-04-05 09:40:05 -04:00
Tasos Bekos
82c66bd190 chore(repo): e2e on windows use the same Node version
Latest `jest-worker` intalled via `next` has dropped support for old Node versions, causing our E2E on Windows to fail, with the following message:
`error jest-worker@27.0.0-next.5: The engine "node" is incompatible with this module. Expected version "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0". Got "12.11.1"`.
This commits uses NVM to align the Node version of Windows machine with the one we use in Linux.
2021-04-05 09:39:36 -04:00
vsavkin
15ccae0b58 cleanup(core): optimize hasher 2021-04-05 07:35:26 -04:00
vsavkin
1a918d7e6b feat(misc): add a convenince command to connect to nx cloud 2021-04-04 20:14:57 -04:00
vsavkin
59e6d399ae cleanup(misc): speed up requiring commands 2021-04-04 20:14:57 -04:00
puku0x
b1d9363bd9 fix(linter): add import source type check for literals
ISSUES CLOSED: #5224
2021-04-04 12:54:54 -04:00
Michael Mazzone
b676e158ba docs(angular): mention in the docs that @nrwl/angular:webpack-browser requires nx 10.4 or later
mention in the docs that @nrwl/angular:webpack-browser requires nx 10.4 or later

ISSUES CLOSED: #5074
2021-04-04 12:53:05 -04:00
Jason Jean
3f4825846c feat(core): use smart affected for new workspaces 2021-04-04 11:49:19 -04:00
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
Tasos Bekos
aaa049fb4f chore(repo): fix e2e for npm@7 2021-04-03 21:43:21 -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
Isaac Mann
de1401965a
docs(nxdev): rewrite getting started section (#5139)
* docs(nxdev): rewrite getting started section

* docs(nxdev): revisions

* docs(nxdev): update features section

* docs(nxdev): updates

Co-authored-by: Isaac Mann <isaacplmann+git@gmail.com>
2021-04-01 15:12:52 -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
Sebastiandg7
f00b0db1c7 chore(core): nx plugin submission @trafilea/nx-shopify 2021-03-31 21:03:30 -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
Isaac Mann
a1432aad18
docs(nxdev): update plugin video link (#5132)
Co-authored-by: Isaac Mann <isaacplmann+git@gmail.com>
2021-03-31 12:02:13 -04:00
vsavkin
ba1357d3d3 cleanup(core): remove unused code 2021-03-30 21:02:07 -04:00