804 Commits

Author SHA1 Message Date
Zachary DeRose
65b2edf69d
feat(testing): adding getJestProjects() utility for root jest.config.js file (#5425) 2021-04-28 15:45:33 -04:00
Leosvel Pérez Espinosa
bc3ee3e13e
feat(core): add --buildable support to workspace lib (#5449) 2021-04-27 13:58:51 +01:00
Leosvel Pérez Espinosa
b388c1ed81
cleanup(core): copy from cache only when needed (#5464) 2021-04-27 12:02:06 +01:00
vsavkin
85ceb3c790 fix(core): propagate sigterm and other signals correctly 2021-04-26 20:50:30 -04:00
Phillip Barta
1686583ede feat(core): replace lodash.template with a custom interpolation function 2021-04-26 15:16:53 -04:00
Tasos Bekos
156e3c2c40 chore(repo): use jest-circus runner 2021-04-26 15:16:09 -04:00
Jason Jean
57cff5d0d1
fix(core): do not report on tasks when being run within an Nx command (#5466) 2021-04-26 13:57:02 -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
c41968648a fix(misc): handle empty project graph in the tslint version of the enforce module bounaries check 2021-04-24 19:11:45 -04:00
Jason Jean
ef1649efe4 fix(core): do not remove version from overrides 2021-04-24 11:00:49 -04:00
Jason Jean
bc7af1d4a3
fix(core): error when an invalid target/configuration is passed (#5447) 2021-04-23 18:10:54 +00:00
Jason Jean
ae5722eb50
fix(core): fix invalid performance mark (#5444) 2021-04-23 13:48:10 -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
Ravi Rajpurohit
bc9eaedb41
feat(repo): replace tslint with eslint in recommended extensions (#5280)
* feat(repo): feat(repo): replace tslint with eslint in recommended extensions

* feat(linter): recommand eslint extension when creating a project with eslint
2021-04-22 10:34:39 -04:00
Jason Jean
030f5ebeac fix(core): report based on projects and tasks 2021-04-22 10:16:22 -04:00
Vivek
4a5345363b
docs(misc): update READMEs to have alt on <img> tags (#5306) 2021-04-22 13:36:00 +00:00
Jason Jean
8f7d959364
fix(core): override root config target dependencies instead of merge (#5424) 2021-04-21 18:29:44 -04:00
vsavkin
05f2f94543 Revert "cleanup(core): copy from cache only when needed"
This reverts commit c4967fa462d79e05f1c0eb536e02f5fe5e1abd88.
2021-04-21 15:09:19 -04:00
Jason Jean
7c7db36160
feat(core): allow defining target dependencies across all projects (#5406) 2021-04-21 12:16:24 -04:00
Jack Hsu
a7d8e2a735
feat(nextjs): add incremental build support to Next.js apps (#5360) 2021-04-20 12:01:27 -04:00
Jason Jean
7358420068
feat(core): allow defining target deps (#5376)
feat(core): add an ability for targets to depend on other targets
2021-04-19 20:32:46 -04:00
Leosvel Pérez Espinosa
c4967fa462 cleanup(core): copy from cache only when needed 2021-04-19 16:14:19 -04:00
Phillip Barta
6bd6e1485f
feat(core): added package manager union type (#5378)
cleanup(misc): add package manager union type
2021-04-19 15:24:02 -04:00
vsavkin
60de1f123d cleanup(core): clean up topological sorting of tasks 2021-04-17 11:34:24 -04:00
Phillip Barta
edf0734657 chore(repo): updated dependency 'strip-json-comments' 2021-04-16 08:44:21 -04:00
Jason Jean
d007d37fb4
fix(devkit): add env variable to disable project graph cache (#5297) 2021-04-15 10:29:33 -04:00
Jason Jean
949cf31ed7
fix(core): throw an error if generating a new workspace into a non-empty directory (#5296) 2021-04-15 00:11:03 -04:00
Phillip Barta
2dbb6ec341
cleanup(repo): updated dependency 'tmp' (#5340) 2021-04-14 23:57:57 -04:00
vsavkin
f89cf4a14b feat(core): cache task failures 2021-04-14 14:49:46 -04:00
Jason Jean
2319dc36dc Revert "cleanup(core): copy from cache only when needed"
This reverts commit 4dac0a21228977379e5d794343390181e8e84759.
2021-04-14 13:20:31 -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
Jason Jean
c464b7512a
feat(core): allow passing a path into read workspace config (#5337) 2021-04-13 15:11:00 -04:00
Phillip Barta
0e99ffca2f
cleanup(repo): replaced deprecated opn package with open (#5236) 2021-04-12 15:42:22 -04:00
Philip Fulcher
d8d643a1e3
fix(misc): fix grouping problem in dep-graph client (#5279) 2021-04-12 09:17:42 -06: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
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
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
vsavkin
b5efa6bfee feat(core): hash only relevant parts of global config files 2021-04-06 20:20:47 -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
9cb23ddbbd feat(core): replace inquirer dependency with enquirer 2021-04-06 10:31:30 -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
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