227 Commits

Author SHA1 Message Date
Jason Jean
702f15845e
fix(core): clean up tmp directories during migrate (#5971) 2021-06-11 19:46:14 -04:00
Jonathan Cammisuli
5b2e594b62
feat(core): sort projects in nx.json, workspace.json, and tsconfig.base.json (#5945)
* feat(core): sort projects in nx.json, workspace.json, and tsconfig.base.json

* fix(core): catch errors when trying to format

* chore(core): use existing sort util - rename new sort util to match (will soon be merged)

* fix(core): only sort workspace.projects if they have projects

* fix(core): remove sort from old format-files

* fix(core): noop catches rather and outputting an error message

* chore(core): revert format-files utils
2021-06-11 17:54:29 -04:00
Jason Jean
2c533ace36
fix(core): fix aliased args parsing (#5973) 2021-06-11 16:46:55 -04:00
Miroslav Jonaš
6ca30d86be
fix(repo): fix flaky cross-os new line check (#5938) 2021-06-09 16:32:27 +02:00
Phillip Barta
a2c2d94050
feat(core): first step to common JSON behavior and common fileutils (#5859) 2021-06-09 12:45:16 +02:00
Leosvel Pérez Espinosa
d3992e9453
fix(core): override isDirectory in wrapped angular schematics host (#5869) 2021-06-03 14:00:45 +01:00
Leosvel Pérez Espinosa
329bb25404
feat(core): warn when deprecated options are used in generators and executors (#5845) 2021-06-01 21:45:06 -04:00
Leosvel Pérez Espinosa
87cae06392
fix(core): list files from the tree in the ngcli-adapter (#5860) 2021-06-01 18:16:44 -04:00
Leosvel Pérez Espinosa
7a10cb4361
fix(angular): add workaround to prevent process from exiting early when building (#5807) 2021-05-27 16:13:30 +01:00
vsavkin
f82344d63a chore(repo): refine the tag line 2021-05-18 20:55:40 -04:00
vsavkin
af23cc5d7d feat(misc): change the nx tag line 2021-05-18 16:07:22 -04:00
vsavkin
fe0dec1f99 fix(angular): adjust the adapter to work with angular 12 2021-05-18 11:07:11 -04:00
Phillip Barta
52e3083a19
feat(core): added encoding param in Tree.read() (#5668)
feat(core): added encoding param in Tree.read()
2021-05-17 21:03:04 -04:00
Emily Xiong
84db07c60e
feat(gatsby): update gatsby to 3.5.0 (#5516) 2021-05-13 14:02:35 -04:00
Leosvel Pérez Espinosa
678818a58b
feat(angular): upgrade Angular to v12.0.0-rc.3 (#5630)
* feat(angular): upgrade Angular to v12.0.0-rc.3

* feat(angular): target Nx v12.4.0-beta.0 for Angular v12.0.0-rc.0 upgrade

* fix(angular): use defaultConfiguration if no other configuration is passed

* cleanup(angular): sync migration folder name to target version

* fix(repo): creating custom schema flattener for docs

* chore(repo): amend yarn.lock

* feat(angular): update angular storybook to use webpack 5

* fix(angular): add legacy peer deps for angular+jest

* fix(angular): move migrations to 12.3.0-rc.0

Co-authored-by: Zack DeRose <zack.derose@gmail.com>
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-05-12 12:20:12 -04:00
Victor Savkin
67e78dc051
feat(core): add support for custom hashers 2021-05-11 11:17:57 -04:00
Emily Xiong
72ce35264f
fix(core): change legacy_peer_deps to npm env variable (#5541) 2021-05-04 16:02:12 -04:00
Jason Jean
c7ce8d2b28
fix(core): consistently process args with yargs-parser instead of minimist (#5488) 2021-04-30 19:08:59 -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
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
Phillip Barta
86387de99a
cleanup(core): refactored @nrwl/tao to improve code quality (#5412)
cleanup(core): clean up "fs" usage in @nrwl/tao
2021-04-21 12:47:42 -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
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
Phillip Barta
edf0734657 chore(repo): updated dependency 'strip-json-comments' 2021-04-16 08:44:21 -04:00
Phillip Barta
2dbb6ec341
cleanup(repo): updated dependency 'tmp' (#5340) 2021-04-14 23:57:57 -04:00
Jason Jean
a608748388
feat(core): add plugins for project-graph analysis wip (#5255) 2021-04-07 16:21:52 -04:00
vsavkin
38c111ba06 chore(repo): update to nx 12 2021-04-07 12:31:23 -04:00
Tasos Bekos
9cb23ddbbd feat(core): replace inquirer dependency with enquirer 2021-04-06 10:31:30 -04:00
vsavkin
1a918d7e6b feat(misc): add a convenince command to connect to nx cloud 2021-04-04 20:14:57 -04:00
vsavkin
2eadc30f21 cleanup(misc): speed up requiring devkit 2021-04-04 11:11:16 -04:00
vsavkin
ba1357d3d3 cleanup(core): remove unused code 2021-03-30 21:02:07 -04:00
vsavkin
6024859990 chore(repo): clean up language 2021-03-29 12:26:01 -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
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
Jason Jean
dafdfded95
fix(core): fix prompts for enums (#5036) 2021-03-17 14:29:35 -04:00
Jason Jean
d44b5c8dc2
fix(core): fix typo in error for improper targets (#4995) 2021-03-10 15:54:57 -05:00
Jason Jean
61fda0c66e
fix(core): throw an error when running default projects with improper targets (#4994) 2021-03-10 20:17:28 +00:00
Jason Jean
0b7e057a0c
fix(core): use proper command for removing a dependency via yarn (#4980) 2021-03-09 23:31:36 +00:00
Vivek More
49ba90b81a cleanup(misc): use shorthand 2021-03-08 10:13:06 -05:00
Jason Jean
fc9caccffb
chore(repo): update nx to 11.5.0-beta.0 (#4957) 2021-03-05 19:57:26 -05:00
Jason Jean
70a892cb93
fix(devkit): support partially defining generators in schematics and generators (#4951) 2021-03-05 16:01:02 -05:00
Tasos Bekos
d2bac514ac
fix(core): fix creating workspace on Windows for npm@7 (#4926) 2021-03-01 15:08:42 -05:00
Jason Jean
befd9dcf43
fix(devkit): migrate devkit to the latest version during migrate (#4898) 2021-02-25 17:29:27 +00:00
Jason Jean
54b6461c6c
feat(react): migrate gatsby builders to devkit (#4864) 2021-02-23 17:42:13 -05:00
vsavkin
3157293752 fix(core): support unit testing of nx generators invoking wrapped schematics 2021-02-23 12:08:25 -05:00