114 Commits

Author SHA1 Message Date
vsavkin
9791fd4ca2 fix(core): displayed commands do not wrap strings into quotes correctly 2021-06-02 13:22:32 -04:00
vsavkin
75cd7d9006 cleanup(core): clean up hash details 2021-05-19 14:26:02 -04:00
Phillip Barta
053d488801 cleanup(core): removed reexport of devkit types in workspace 2021-05-19 13:42:03 -04:00
vsavkin
0bd6deaa65 fix(core): misc fixes to make the task orchestration logic work with the existing nx cloud package 2021-05-12 08:11:53 -04:00
Victor Savkin
67e78dc051
feat(core): add support for custom hashers 2021-05-11 11:17:57 -04:00
Naoyoshi Aikawa
c9e79ab84e
feat(core): support .env.local (#5491)
* feat(core): support .env.local

* fix(core): fix e2e tests for env variables

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-05-04 16:30:03 -04:00
Phillip Barta
cc69d90ba6 cleanup(core): cleanup usage of flat 2021-05-04 16:01:11 -04:00
Jason Jean
89dec9afcd fix(core): cleanup output of task results 2021-04-30 20:35:46 -04:00
vsavkin
ecf83c4dae fix(core): cache diff does not handle projects with no files 2021-04-30 16:11:57 -04:00
vsavkin
d767261fea fix(nextjs): default to build target for incremental serve
feat(core): support exclude with run-many
2021-04-29 15:57:26 -04: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
Jason Jean
bc7af1d4a3
fix(core): error when an invalid target/configuration is passed (#5447) 2021-04-23 18:10:54 +00: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
Jason Jean
030f5ebeac fix(core): report based on projects and tasks 2021-04-22 10:16:22 -04: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
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
vsavkin
60de1f123d cleanup(core): clean up topological sorting of tasks 2021-04-17 11:34:24 -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
Leosvel Pérez Espinosa
4dac0a2122 cleanup(core): copy from cache only when needed 2021-04-06 12:18:10 -04:00
vsavkin
59e6d399ae cleanup(misc): speed up requiring commands 2021-04-04 20:14:57 -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
vsavkin
b75180353a cleanup(core): remove dead code 2021-03-23 14:01:23 -04:00
Vivek
d1b09eaabd
cleanup(misc): make code more consistent and fix typos 2021-03-23 13:03:17 -04:00
Gustavo Perdomo
242a542429 chore(core): update dotenv version to 8.2.0 2021-03-11 15:58:26 -05:00
Victor Savkin
b977f42f67
fix(core): optimize task orderer to handle large graphs (#4992) 2021-03-10 17:36:05 +00:00
Vivek More
49ba90b81a cleanup(misc): use shorthand 2021-03-08 10:13:06 -05:00
vsavkin
d651eab4fe fix(core): output gets printed twice when using pipe capture 2021-02-11 16:14:49 -05:00
vsavkin
1a75fd4859 feat(core): default outputs to both prepare and build targets 2021-02-11 16:14:49 -05:00
Victor Savkin
14f4fcce53 feat(core): add public and build to the list of implicit cached folders for build 2021-01-31 13:51:34 -05:00
Victor Savkin
429fb22260 feat(core): default to running npm scripts when no targets are defined 2021-01-28 18:52:16 -05:00
Victor Savkin
a25e081a84 feat(core): remove angular devkit deps 2021-01-25 12:52:30 -05:00
Victor Savkin
a1c4d94ea6 fix(core): support setting parallel in nx.json
Closes #4542
2021-01-17 20:00:56 -05:00
Yannick Galatol
2d3d7218a2 feat(core): provide the task hash as env var 2021-01-05 12:05:09 -05:00
Victor Savkin
ce877bb8ad fix(core): store nx results and nx deps in the configured cache directory 2020-12-19 20:50:53 -05:00
Victor Savkin
3fe666a57e fix(core): resolve aliases before reading defaults 2020-12-15 22:08:43 -05:00
Victor Savkin
1c22f7fa71 fix(core): throw when invalid config is provided for initiating project 2020-12-15 22:08:43 -05:00
Jason Jean
36282e1354 fix(core): support local builders and generators 2020-12-15 20:58:40 -05:00
Tasos Bekos
056f4eb20e fix(core): handle commit object argument when creating workspace 2020-12-06 13:39:19 -05:00
Tasos Bekos
6c1335ac83 feat(core): interpolated outputs & cache coverage folder 2020-12-01 13:49:43 -05:00
Victor Savkin
2824794a92 feat(core): clean up the language to use word executor 2020-11-24 09:49:52 -05:00