2989 Commits

Author SHA1 Message Date
Juri
0f08149021 fix(devkit): devkitTreeFromAngularDevkitTree exists function should also work on dirs
ISSUES CLOSED: #5318
2021-04-14 08:35:22 -04:00
Jason Jean
2c76dbe5e7
fix(repo): clear output before building packages again (#5342) 2021-04-13 17:18:56 -04:00
John Ockenden
71b2f16bc9
docs(angular): docs(angular): specify generator collection when migrating from karma to jest (#5291)
Unless the user set their default collection to be `@nrwl/jest`, the example commands given in the
documentation won't work
Change the documentation to explicitly specify the collection. This should
make a copy/pasted command work

ISSUES CLOSED: #5286
2021-04-13 15:42:18 -04:00
Craigory V Coppola
4b61d44615
fix(core): Wrap head + base arguments in quotes in execSyn (#5240)
On windows caret symbols are removed from command line args unless wrapped in double quotes, causing an error in this case.

Closes #4828.
2021-04-13 15:39:41 -04:00
Stuart Taylor
9180e9094c
fix(core): allow building of workspaces when hosted at / (#5252)
Building a project in the node:14-alpine docker image requires the workspace to be copied in
to directory other than /.
The proposed change allows workspaces to be hosted at / and not force the developer to create a directory inside a docker image just to build the project.

Co-authored-by: Stuart Taylor <stuart@chargifi.com>
2021-04-13 15:34:45 -04:00
Jason Jean
c464b7512a
feat(core): allow passing a path into read workspace config (#5337) 2021-04-13 15:11:00 -04:00
Phillip Barta
2c58e0337c
cleanup(repo): removed leftover angular dependencies (#5326)
removed tsickle, codelyzer and @ngtools/webpack
2021-04-13 13:44:36 -04:00
Jack Hsu
a51d19ff8b
fix(react): generate apps/libs using Emotion CSS with valid .babelrc files (#5336) 2021-04-13 12:04:31 -04:00
Kirils L
159bc9986b
fix(nextjs): remove isServer flag from web babel preset (#5322) 2021-04-12 15:50:46 -04:00
Phillip Barta
0e99ffca2f
cleanup(repo): replaced deprecated opn package with open (#5236) 2021-04-12 15:42:22 -04:00
James Henry
bff5d431c9
feat(core): add --ignoreExistingTsLintConfig option to lint conversion generators (#5127)
* feat(core): add --discardExistingLintConfig option to lint conversion generators

* fixup! feat(core): add --discardExistingLintConfig option to lint conversion generators

* chore(core): address PR feedback

* fix(linter): properly store defualts for converting tslint to eslint

* fix(linter): fix tests for set defaults

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-04-12 15:40:48 -04:00
Philip Fulcher
d8d643a1e3
fix(misc): fix grouping problem in dep-graph client (#5279) 2021-04-12 09:17:42 -06:00
Rares Matei
6c4155dac6
feat(storybook): configure Cypress directory (#5314) 2021-04-12 14:06:51 +02:00
vsavkin
34ff155872 chore(repo): update stale bot schedule 2021-04-11 13:44:34 -04:00
vsavkin
239421532f Release 12.0.1 2021-04-10 21:31:11 -04:00
vsavkin
e3bb9eec29 chore(repo): update to nx 12 2021-04-10 21:30:27 -04:00
vsavkin
e377a41dec fix(linter): fix enforce-module-boundaries rule to return when no project graph is present 2021-04-10 21:17:17 -04:00
vsavkin
fe546c0de7 docs(testing): fix docs on how to debug jest tests 2021-04-10 21:17:17 -04:00
vsavkin
908103e713 fix(react): fix malformed babelrc 2021-04-10 21:17:17 -04:00
Benjamin Cabanes
76723b5ce6
feat(nxdev): setup tailwindcss jit (#5301) 2021-04-09 20:18:21 -04:00
Jack Hsu
8ad94fa434
chore(nextjs): unskip e2e tests (#5282) 2021-04-08 13:23:12 -04:00
Jason Jean
4dd50d4595 Release 12.0.0 2021-04-08 12:48:12 -04:00
Jason Jean
a01ea8ce25
docs(devkit): initial project graph plugin guide (#5281) 2021-04-08 12:38:49 -04:00
Leosvel Pérez Espinosa
95cdeaed06 fix(angular): resolve @angular/cli version mismatch causing data persistence typing to be broken 2021-04-08 10:36:54 -04:00
Jack Hsu
3634283118
fix(gatsby): update our gatsby-cli to v3 (#5276) 2021-04-08 07:34:51 -07:00
Jack Hsu
4bcd25ec01
docs(core): cleanup nx.dev layout (#5272) 2021-04-08 13:07:48 +00:00
Juri Strumpflohner
c580bbec2e
fix(web): emit event to which upstream executors can listen to (e.g. Cypress) (#5273) 2021-04-08 08:50:00 -04:00
Jack Hsu
402129ea19
chore(repo): remove unnecessary babel packages from root package.json (#5270) 2021-04-08 03:25:31 +00:00
Jason Jean
a608748388
feat(core): add plugins for project-graph analysis wip (#5255) 2021-04-07 16:21:52 -04:00
vsavkin
aa846b8c17 fix(core): target project locator should ignore nested node modules 2021-04-07 14:12:14 -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
Jack Hsu
a647e19303
feat(react): use "@babel/plugin-transform-runtime" so babel helpers can be reused (#5257) 2021-04-07 06:08:12 +00:00
Jack Hsu
20fea36058
feat(linter): use recommended react hooks eslint config (#5258) 2021-04-07 02:52:10 +00:00
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