466 Commits

Author SHA1 Message Date
Jason Jean
d9a800f5f2 fix(core): fix json diff and implicitJsonChanges part 2 2020-03-10 10:53:44 -04:00
Victor Savkin
dae258928c fix(core): provide better error messages when the target is incorrect 2020-03-10 10:07:30 -04:00
Victor Savkin
954abd68f8 fix(misc): export defaultTasksRunner as tasksRunnerV2 2020-03-09 13:23:12 -04:00
Victor Savkin
b780a1b585 feat(core): switch to use tasks-runner-v2 by default 2020-03-09 12:01:20 -04:00
Jason Jean
dbf6fd525d fix(core): fix json diff and implicitJsonChanges 2020-03-06 15:13:54 -05:00
Jack Hsu
fef54fae4b
feat(linter): improve support for mixed linters when using IDEs (#2620) 2020-03-06 15:12:35 -05:00
Wes Grimes
13302f099e fix(core): update nx list output spacing issue 2020-03-06 14:21:05 -05:00
Wes Grimes
2ae1e98408 feat(core): add community approved plugins to nx list command 2020-03-06 10:16:34 -05:00
Benjamin Cabanes
dd403ad1cc
docs(core): generate nx commands supports blacklist (#2611)
* docs(core): generate nx commands support blacklist

* docs(core): update documentation wording
2020-03-06 09:58:05 -05:00
Julien Saguet
df197cf194 fix(core): fix move schematic issues
Use slashes as path separator even when used on windows environments to avoid mis-identifying escaped characters in file path
Use slash as path separator even when used on windows to get a correct path in extends property
Fix an issue when renaming jest project name where substrings were replaced as well in the file
Fix an issue when renaming imports where substrings in imports where replaced too
2020-03-06 11:00:23 +00:00
Victor Savkin
b52e97c816 fix(repo): fix formatting 2020-03-05 17:32:45 -05:00
Victor Savkin
923f3541df fix(repo): fix ci 2020-03-04 21:18:45 -05:00
Victor Savkin
f0ca8394d5 fix(core): fix the ordering of unrelated tasks
Closes #2599
2020-03-04 17:26:44 -05:00
Victor Savkin
115a1abd75 fix(core): use default configuration when the provided one is not available 2020-03-04 16:31:19 -05:00
Jack Hsu
642d598086 fix(core): handle npm package deletion and whole file changes 2020-03-04 14:29:19 -05:00
Bucky Maler
e2e3412768 feat(misc): support formatting .mdx files 2020-03-04 14:25:47 -05:00
Jay Bell
a39587a350
feat(nest): implement nest lib schematic (#2540) 2020-03-02 11:20:45 -05:00
Victor Savkin
ff6b434548 feat(core): add ability to run targets against project's deps 2020-02-28 16:42:38 -05:00
Victor Savkin
bbf5738b19 feat(core): add runtimeCacheInputs to capture node version, os in the cache key 2020-02-28 15:51:27 -05:00
Jason Jean
c45ee2ab87 fix(misc): parse args for format command 2020-02-28 15:28:40 -05:00
Jason Jean
2145d36281 feat(core): update prettier to 1.19.1 2020-02-28 15:17:58 -05:00
Julien Saguet
dfb09179ee
fix(core): use file full path in git show (#2537)
Use file full path in git show to identify affected files to fix an issue when nx workspace is not at the root of git repository

Closes #2292
2020-02-28 13:44:25 -05:00
Mathias Remshardt
7aaa09bfff
cleanup(node): moves some schematic helper to shared workspace rules 2020-02-26 20:19:17 -05:00
Victor Savkin
65ac855536 feat(core): memoize project source hashing 2020-02-26 14:43:38 -05:00
Juri
2c7d6a101d fix(core): don't generate test related things in README when no unitTestRunner 2020-02-26 14:29:33 -05:00
Jeff Cross
180c990d34 fix(core): change mkdir logic to avoid race condition
The process of checking for directory existence then creating
A directory was causing race conditions when running scripts
In parallel. I inverted the logic to always try to
Create the directory without checking 1st, then handle any errors.
2020-02-26 14:26:44 -05:00
Victor Savkin
90879eb469 feat(core): add ability to skip cache 2020-02-25 16:38:43 -05:00
Victor Savkin
33e12754fe cleanup(core): improve the handling of edge cases determining task's outputs 2020-02-25 15:32:15 -05:00
Rares Matei
564ff5a642
docs(core): improve run-commands documentation (#2546) 2020-02-25 15:11:02 -05:00
Jimmy
06b0e7fe6e
fix(nx-plugin): ignoring Additional Files from Affected Commands (#2519)
* fix(nx-plugin): ignoring Additional Files from Affected Commands

ISSUES CLOSED: #2517
2020-02-22 17:06:10 -05:00
Jack Hsu
74716df4fc fix(core): improve performance of affected computation
- Uses a shared mutable state between project traversals so we don't create new objects unnecessarily
- Closes #2367
2020-02-21 16:12:57 -05:00
Victor Savkin
49168c10e3
feat(react): rework react buildable libraries to read deps from dist (#2513) 2020-02-20 11:00:13 -05:00
Juri
7723e941c0 docs(core): adjusts description on library schematics
right now "where the app is placed" is displayed which might be confusing given we generate a
library
2020-02-20 08:26:28 -05:00
Rares Matei
c04f8afeba
feat(core): "cwd" option for commands runner (#2501)
* feat(core): add cwd option to commands runner

* docs(core): add docs for new cwd option in commands runner

* cleanup(core): remove unecesarry import in test

* fix(core): fix failing unit test

* feat(core): allow additionalProperties for run commands

* docs(core): format docs for command runner
2020-02-20 11:21:13 +00:00
Rares Matei
eee8c18ebc
feat(core): specify a custom .env file for workspace:run-commands (#2505)
* feat(core): add envFile option to commands runner

* feat(core): add tests for dotenv functionality in command runner
2020-02-19 15:07:26 -05:00
Jack Hsu
f1599f5ad7
fix(core): mark all projects as affected when npm package is deleted (#2508) 2020-02-19 12:55:08 -05:00
x87
647a657827
fix(core): find the most qualifying project for a changed file (#2468)
* fix(core): find the most qualifying project for a changed file
2020-02-19 08:47:51 -05:00
Jason Jean
1d1063fb1a fix(core): recalculate dep-graph when root files are touched 2020-02-16 17:20:56 -05:00
Victor Savkin
a8f9e12fb6 fix(core): update ts eslint version to remove the warning 2020-02-16 12:50:12 -05:00
Victor Savkin
dd598e215d fix(core): update create-nx-workspace to perform unit testing and linting 2020-02-16 12:50:12 -05:00
Bradley Zeggelaar
4d8b38b7ce feat(core): adds host binding option to dep-graph command 2020-02-16 10:28:24 -05:00
Jack Hsu
a0a9180cec
fix(core): perform package.json update if one of the deps is missing (#2481)
* fix(core): perform package.json update if one of the deps is missing

* fix(core): add test for package.json update

Co-authored-by: Juri Strumpflohner <juri.strumpflohner@gmail.com>
2020-02-14 09:43:30 -05:00
Philip Fulcher
1719e04a5a fix(core): fix 'group by folder' checkbox, small style changes 2020-02-13 17:31:07 -05:00
Philip Fulcher
9f81564d7c feat(core): add better filtering to dep-graph visualization 2020-02-13 17:31:07 -05:00
Brandon Roberts
c4a35e7d16 fix(core): check semver before updating dependencies using migrations.json 2020-02-07 13:49:03 -05:00
Jason Jean
fd0b192161 feat(core): update to devkit 9.0.1 2020-02-07 13:47:54 -05:00
Jason Jean
35e3be2469 feat(angular): update to angular 9.0.0 2020-02-06 15:16:21 -05:00
Jason Jean
3c6d8c67f8
feat(angular): update angular to 9-rc.14 (#2437) 2020-02-06 13:01:04 -05:00
Jason Jean
be495c27ef fix(core): fix migration adding duplicate implicit dependencies 2020-02-04 15:14:18 -05:00
Victor Savkin
04a9c5edbb feat(core): minor cache improvements to improve dev ergonomics 2020-02-04 15:02:19 -05:00