1524 Commits

Author SHA1 Message Date
Craigory V Coppola
2e36b20841
fix(node): no output for package executor watch mode (#6440)
Signed-off-by: AgentEnder <craigorycoppola@gmail.com>
2021-07-20 18:35:16 -04:00
Juri Strumpflohner
18c368173c
fix(core): path comparison across OS for getProjectNameFromDirPath (#6433)
ISSUES CLOSED: #6406
2021-07-20 22:17:16 +02:00
James Henry
f76a33f5bb
chore(core): add readCachedProjectGraph and deprecate previous utility (#6385)
* chore(core): add readCachedProjectGraph and deprecate previous utility

* chore(core): whitespace

* chore(core): explicitly use type ProjectGraphCache

* chore(core): fix typo
2021-07-20 11:44:48 -04:00
Jason Jean
253fd683f9
fix(core): ensure overrides are not parsed as head and base for affected (#6424) 2021-07-20 11:01:52 -04:00
Craigory V Coppola
a7220261c0
fix(misc): move generator should support project.json files (#6402) 2021-07-19 14:26:48 -04:00
vsavkin
0e52c43665 feat(core): store file deps and only reanalyze changed files 2021-07-16 20:21:45 -04:00
Jason Jean
7de111c25b
feat(core): update typescript to 4.3 (#6397) 2021-07-16 17:29:03 -04:00
Jason Jean
cd868a8a0d
fix(misc): remove import of webpack-dev-server (#6396) 2021-07-16 14:40:18 -04:00
vsavkin
f86a07367a feat(core): improve project graph creation not to invalidate nxdeps when global config change 2021-07-15 14:12:38 -04:00
Jason Jean
5ee362ad3d
fix(core): end tasks after cache is written (#6381) 2021-07-15 17:09:20 +00:00
Craigory V Coppola
84b40c8b85
fix(misc): @nrwl/workspace:rm generator should work with standalone configs (#6348)
* fix(devkit): removeProjectConfiguration should remove path for project.json from workspace.json

When using standalone config files, removing a project's config should also remove its entry in the
workspace file.

* fix(misc): @nrwl/workspace:rm should work with standalone config files

When using standalone config files, removing a project's config should also remove its entry in
the
workspace file.
2021-07-15 10:36:48 -04:00
James Henry
87e6d9dc77 chore(core): refactor createProjectGraph to be async, deprecate sync usage 2021-07-14 14:58:16 -04:00
Martin Gansler
fe7ab82d91
feat(core): add the target project name to the environment variables (#5886) 2021-07-14 11:47:26 -04:00
Daniel
8aee6cbc57
fix(core): make sanitizePath cross-platform (#6308) 2021-07-10 12:15:31 -06:00
Zachary DeRose
41234db93b
fix(testing): fixing migration and interop with move generator (#6323)
* fix(testing): fixing move tests and functionality

* fix(testing): fixing migration to no-op if getJestProjects() is already being used

* fix(misc): rming console.log statements
2021-07-09 23:22:55 +00:00
Zachary DeRose
2524fdbc3d
feat(testing): Using getJestProjects() out of the box (#5900)
* feat(testing): updating nx to use getJestProjects() itself

* feat(testing): using getJestProjects() for new workspaces

* feat(testing): accomodating for getJestConfig() when adding new project

* feat(testing): migration for updating the base jest.config.js

* testing...

* fix(testing): fixing formatting in tests and bumping to next version

* fix(testing): fixing broken tests

* fix(testing): fixing test for jest init

* fix(testing): removing unnecessary test in jest project

* fix(testing): updating remove generator to work with jest utility fn

* fix(testing): fixing line break on package.json

* fix(testing): fixing import statement

* fix(testing): using AST to update the jest config contents

* fix(testing): fixing snapshot tests

* fix(testing): fixing describe to 12.6

* fix(testing): adding back in import statement to jest.config.js

* fix(testing): updating generated docs
2021-07-09 16:32:01 -04:00
Jason Jean
033579712f
fix(core): include dependencies of projects which do not have a target (#6309) 2021-07-09 16:30:15 -04:00
Jason Jean
d35d03e55e
chore(repo): update nx to 12.6.0-beta.0 (#6266) 2021-07-09 18:44:59 +00:00
Katerina Skroumpelou
cfff767b12
fix(core): update root jest config with move generator (#6313)
ISSUES CLOSED: #6303
2021-07-09 09:30:09 -04:00
Craigory V Coppola
23e21d0995
fix(core): project.json split should be remembered if all projects utilize it (#6180) 2021-07-08 23:35:57 +00:00
Craigory V Coppola
1d1dd49210
fix(node): assets should be copied when building with --watch (#5863) 2021-07-08 17:21:35 -04:00
Craigory V Coppola
442e4fc6a1
chore(repo): convert to project json format (#6286) 2021-07-08 11:36:35 -04:00
Jason Jean
549e18b234
fix(core): fix distributed task execution hash conflicts between run and cache (#6289) 2021-07-07 20:32:10 -04:00
Altan Stalker
a4e0452a80
fix(core): add @nrwl/nx-cloud to report package list (#6279) 2021-07-06 19:51:48 -04:00
Jason Jean
4c20634937
Revert "fix(core): include dependencies of projects which do not have a target (#6245)" (#6270)
This reverts commit cbc0160953d48778e9dbfe01ef5c5f5e247d2b37.
2021-07-06 14:25:51 -04:00
Jason Jean
f534d97a2b
fix(core): safely handle when tasksRunnerOptions are not defined (#6252) 2021-07-06 10:55:43 -04:00
Jason Jean
1f2a48e36d
fix(core): have batch process inherit stdio (#6250) 2021-07-05 21:43:52 +00:00
Miroslav Jonaš
8ab463e386
cleanup(core): replace deprecated usage of appRootPath (#6241)
* cleanup(core): replace deprecated usage of appRootPath

* cleanup(core): revert migration changes
2021-07-05 15:51:19 -04:00
Jason Jean
ae2b7ef5dd
fix(core): print count of tasks (#6248) 2021-07-05 15:48:19 -04:00
Jason Jean
cbc0160953
fix(core): include dependencies of projects which do not have a target (#6245) 2021-07-05 11:53:59 -04:00
vsavkin
c17fb12ee6 fix(misc): dep graph should not remove deps 2021-07-04 20:12:12 -04:00
vsavkin
148ff1c185 fix(core): fix fallback for npm scripts 2021-07-03 21:08:44 -04:00
Leosvel Pérez Espinosa
195e6bade5
cleanup(misc): rename builders.json to executors.json (#6230) 2021-07-02 15:59:34 +01:00
Miroslav Jonaš
b5b36239ed
chore(core): remove reference to parse json with comments (#6226)
* chore(core): remove reference to parse json with comments

* chore(core): revert appRootPath
2021-07-02 16:35:39 +02:00
Kirils L
e7a1cd2c91
fix(core): make missing output check more comprehensive (#6204) 2021-07-01 16:00:24 -04:00
Craigory V Coppola
95051acf14
fix(core): convert-to-nx-project should not prompt for project when --all is passed (#6179) 2021-06-30 10:54:22 -04:00
James Henry
f5058a1baf
fix(core): affected base and head logs (#6164) 2021-06-30 10:51:41 -04:00
Katerina Skroumpelou
6ded4b1f58
docs(nxdev): bad formatting in migrate docs (#6166) 2021-06-29 09:50:09 -04:00
Jack Hsu
369da3ee78
feat(web): add support for webpack 5 (#5892) 2021-06-29 08:41:01 -04:00
Craigory V Coppola
1914da758b
cleanup(core): helpful project json messaging (#6158) 2021-06-28 15:51:51 -04:00
Jason Jean
8ac7519ada feat(core): introduce batch executors 2021-06-28 14:46:53 -04:00
Craigory V Coppola
7c7191a2f9
docs(core): docs for project.json files + associated generator (#6107)
Signed-off-by: AgentEnder <craigorycoppola@gmail.com>
2021-06-28 10:20:11 -04:00
Benjamin Cabanes
914983a0d2
docs(core): nx-dev community link update (#6150) 2021-06-28 08:22:31 -04:00
Philip Fulcher
a29c11ac54
fix(misc): correct url parsing for dep-graph server (#6139) 2021-06-25 22:43:40 +00:00
Jason Jean
4f7191e154 chore(repo): update nx to 12.5.0-beta.5 2021-06-25 17:08:37 -04:00
Phillip Barta
5e6cf9646b feat(devkit): reexport package manager methods in devkit 2021-06-25 17:07:35 -04:00
Juri
bcdf5a75c8 feat(nextjs): add improved createGlobPatternsForDependencies utility useful for Tailwind CSS purging 2021-06-25 15:54:56 -04:00
Craigory V Coppola
0a151035e8
cleanup(core): collection.json points to invalid id (#6119) 2021-06-24 15:29:13 -06:00
Craigory V Coppola
d3ba0caf7c
cleanup(core): misc cleanup for project.json files (#6112) 2021-06-24 10:16:00 -04:00
Juri
0d3409fbf2 feat(core): add hint for --verbose flag in case of task exec error 2021-06-24 09:23:13 -04:00