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
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
Jason Jean
a300e7613d
fix(core): throw an error if implicit dependency is a string that is not '*' ( #5176 )
2021-03-31 18:08:56 -04:00
Jason Jean
03d16676ac
fix(misc): pass in specific copy of webpack ( #5190 )
2021-03-31 18:07:55 -04:00
Jack Hsu
e2287867cd
feat(core): update typescript to 4.1 ( #5116 )
2021-03-30 08:38:40 -04:00
vsavkin
6024859990
chore(repo): clean up language
2021-03-29 12:26:01 -04:00
Philip Fulcher
dae0d62e22
feat(misc): add debugger panel to dep-graph client ( #5143 )
2021-03-29 08:56:23 -06:00
Jack Hsu
ed94c4e1ec
docs(core): add nextjs app for new nx.dev website ( #5133 )
...
Co-authored-by: ben <contact@benjamincabanes.com>
2021-03-27 04:01:31 +00:00
Leosvel Pérez Espinosa
3cac30caf9
fix(core): normalize run-commands and run-script cwd handling ( #5119 )
2021-03-26 11:28:42 -04:00
Tasos Bekos
ead6dd8864
chore(repo): run e2e outside project directory on CI ( #5037 )
2021-03-26 11:19:31 -04:00
Tasos Bekos
47812d3352
fix(core): git hasher handles workspaces not only in root
2021-03-24 20:11:53 -04:00
Vivek More 🧐
212fb00548
cleanup(misc): use more es6 features
...
- Single char alternation (e.g. a|b|c|d) in a RegExp can be simplified to use a character class ([abcd]) instead.
This usually also provides slightly better matching performance.
- Character escapes that are replaceable with the unescaped character without a change in meaning. Inside the square brackets of a character class, many escapes are unnecessary that would be necessary outside of a character class. For example the regex [\.] is identical to [.]
- If several qualified expressions occur after the qualifier having been checked for nullable, they can be replaced with optional chaining
2021-03-24 20:11:32 -04:00
vsavkin
9d36c5a5f0
fix(core): respect patterns when hashing implicit deps
2021-03-24 13:10:14 -04:00
Jason Jean
46e64fc188
fix(linter): always add eslint dependencies ( #5095 )
2021-03-23 20:41:53 +00:00
vsavkin
b75180353a
cleanup(core): remove dead code
2021-03-23 14:01:23 -04:00
Jason Jean
9acf8cbbf0
fix(angular): fix angular move merge conflict ( #5094 )
2021-03-23 17:22:41 +00:00
Vivek
d1b09eaabd
cleanup(misc): make code more consistent and fix typos
2021-03-23 13:03:17 -04:00
Jason Jean
1918e62625
Revert "fix(angular): fix angular move merge conflict ( #5088 )"
...
This reverts commit e6ec5f914232f81e5393d4d528b35d77f7528582.
2021-03-23 11:51:30 -04:00
Jason Jean
e6ec5f9142
fix(angular): fix angular move merge conflict ( #5088 )
2021-03-22 21:40:57 +00:00
Juri Strumpflohner
2ac10d9952
fix(storybook): changes in Storybook server options path in v6.2 ( #5072 )
...
ISSUES CLOSED : #4747
2021-03-22 14:28:17 +02:00
James Henry
00dec221e2
feat(linter): convert-tslint-to-eslint generators ( #4943 )
...
* feat(linter): convert-tslint-to-eslint generators
* fix(core): remove generators in collection for ng and nest
* fix(core): update tao to support mixed generators and schematics
* fix(core): update tao to support mixed generators and schematics
* fix(core): address some PR feedback
* fix(core): fix snapshots after syncing up with master
* feat(core): store user preference for removeTSLintIfNoMoreTSLintTargets
* fix(linter): unit tests
* feat(core): apply root tslint.json conversion to root .eslintrc.json
2021-03-19 13:41:13 -04:00
Tasos Bekos
4f95d4e7ec
fix(core): git hasher identifies deleted files
...
Closes #4201
2021-03-15 20:47:13 -04:00
Tasos Bekos
26a383912a
fix(core): git hashing handles "unusual" pathname characters
...
See: https://git-scm.com/docs/git-status#_pathname_format_notes_and_z
2021-03-15 10:30:54 -04:00
kirjai
9d863a7073
fix(nextjs): include peer dependencies in built package.json
2021-03-15 10:29:33 -04:00
johannesf95
71d9f86762
fix(core): fix project dependency resolution for relative imports on windows ( #5009 )
...
* fix(core): fix project dependency resolution for relative imports on windows
Replaced `join` with `posix.join` to fix comparison with root of projects for relative import paths on windows
Closes #5002
* fix(core): project dependency resolution for relative imports on windows
fixed format
2021-03-12 13:07:36 -05:00
Gustavo Perdomo
17dd93362c
chore(core): update @types/node version to 14.14.33
2021-03-12 09:15:39 -05: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
Jack Hsu
ddec362a5a
fix(nextjs): update babel setup to better support next apps ( #4944 )
...
* fix(nextjs): update babel setup to better support next apps
* fix(testing): remove babel-jest.config.json used in jest.config.js
- Fix `@nrwl/web/babel` to support Jest as well
2021-03-09 21:32:36 +00:00
Vivek More
49ba90b81a
cleanup(misc): use shorthand
2021-03-08 10:13:06 -05:00
duncan
f160583d5c
feat(core): allow excluding imports using a special ignore comment called nx-import-ignore
...
Placing a comment called nx-import-ignore above an import will exclude it from being used in the creation of the project dependency graph. This allows bypassing the circular dependency linting rule whenever needed.
2021-03-06 13:07:05 -05:00