63 Commits

Author SHA1 Message Date
vsavkin
0e52c43665 feat(core): store file deps and only reanalyze changed files 2021-07-16 20:21:45 -04:00
Kirils L
651b0d1f95
feat(core): migrations can add packages as dev dependencies (#6287) 2021-07-09 11:08:41 -04:00
Jason Jean
3093fd16fa fix(core): do not migrate nrwl packages that are not installed 2021-06-28 00:48:07 -04:00
Phillip Barta
5e6cf9646b feat(devkit): reexport package manager methods in devkit 2021-06-25 17:07:35 -04:00
Jason Jean
632d2f72ae fix(core): catch errors when cleaning up tmp dir during migrate 2021-06-25 16:48:42 -04:00
Phillip Barta
fe97444d78
feat(core): migrate prettier to v2.3.1 (#5623) 2021-06-17 16:44:30 +02:00
Jason Jean
702f15845e
fix(core): clean up tmp directories during migrate (#5971) 2021-06-11 19:46:14 -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
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
Jason Jean
c7ce8d2b28
fix(core): consistently process args with yargs-parser instead of minimist (#5488) 2021-04-30 19:08:59 -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
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
vsavkin
1a918d7e6b feat(misc): add a convenince command to connect to nx cloud 2021-04-04 20:14:57 -04:00
Vivek
d1b09eaabd
cleanup(misc): make code more consistent and fix typos 2021-03-23 13:03:17 -04:00
Jason Jean
befd9dcf43
fix(devkit): migrate devkit to the latest version during migrate (#4898) 2021-02-25 17:29:27 +00:00
Victor Savkin
683d6f4e19 fix(core): use tmp folder for migrate instead of npx 2021-01-12 20:37:40 -05:00
Victor Savkin
d54189166f fix(core): update the list command for pnpm 2021-01-12 13:00:29 -05:00
Victor Savkin
1167e65bf8 feat(core): improve ergonomics of the migrate command 2021-01-12 11:58:29 -05:00
Jason Jean
e4734bb879
fix(core): filter generators that don't have a version for migrations (#4267) 2020-12-11 18:27:46 -05:00
Victor Savkin
0c8ca53c16 fix(core): fix nx 11 migration leaving empty schematics folder 2020-12-09 20:31:31 -05:00
Victor Savkin
5ba84a13cd fix(core): add a workaround to handle a bug in node 12 2020-12-08 11:11:22 -05:00
Jason Jean
f168af12d5 feat(angular): add migrations for angular 11 2020-12-05 13:40:47 -05:00
victor savkin
ae397d2d10 cleanup(core): remove all deps on angular-devkit from tao 2020-12-02 19:59:16 -05:00
Tasos Bekos
c6cb176218 cleanup(core): remove duplicate code about package manager 2020-12-01 12:43:23 +02:00
Tasos Bekos
724b9b1f03 fix(core): migrate will tolerate backslashes in package names
When migrate command is invoked in Windows, there is a chance that
package names will contain backslashes due to an unexpected conversion.
Since package names can only contain only URL-friendly characters, ie
no backslashes, we try to fix it, by converting them back to forward slashes.
2020-11-27 12:56:35 -05:00
victor savkin
48bcaf099d feat(core): update the migrate command to support @nrwl/devkit generators 2020-11-26 21:38:56 -05:00
Victor Savkin
96c3b2effc cleanup(core): update the error message when migration fails 2020-11-18 10:29:54 -05:00
Victor Savkin
e8aec6fd69 fix(core): migration should fetch packages using cwd instead of prefix 2020-11-18 10:00:39 -05:00
Victor Savkin
de9ac7860e Revert "fix(core): remove nx-cloud from the list of core deps used by migrate"
This reverts commit e15fbaf4828e4c256569ac93d6c1d234e352579a.
2020-11-09 13:06:03 -05:00
Victor Savkin
e15fbaf482 fix(core): remove nx-cloud from the list of core deps used by migrate 2020-11-09 11:57:11 -05:00
Tasos Bekos
131aa1badd
fix(core): use preferred installer on migrate (#3764)
ISSUES CLOSED: #2695
2020-10-23 17:09:44 -04:00
Jason Jean
a7f2670d49
fix(core): add @nrwl/cli to the list of migrated dependencies (#3927) 2020-10-23 15:28:26 -04:00
Jason Jean
f0bb232935 fix(core): migrate to latest version of @nrwl/nx-cloud 2020-09-29 12:05:04 -04:00
Tasos Bekos
6c7b3060b2 cleanup(core): avoid referencing node_modules 2020-09-21 12:37:15 -04:00
Devin Shoemaker
34a66f332a feat(core): add nx-cloud to list of default packages to be migrated
`nx-cloud` is currently not migrated with the nx migrate latest command. Including this in the list of default packages will result in more expected behavior with less maintenance for the end-user.
2020-09-09 14:02:14 -04:00
Tasos Bekos
8938256f55 fix(core): don't alter trailing newlines from package.json during migration
ISSUES CLOSED: #3628
2020-09-01 13:08:30 -04:00
Jo Hanna Pearce
675000d7a6 feat(core): add lint target to tao and fix lint errors 2020-07-09 22:16:35 -04:00
Jason Jean
a7b7af2dfe
feat(core): switch over to angular 10 (#3056)
* feat(core): switch over to devkit 10-rc.0

* feat(core): implement solution tsconfigs wip

* feat(angular): add angular migrations

* fix(angular): modify angularjs tests
2020-07-07 17:02:06 -04:00
Victor Savkin
d0cbc35efa feat(repo): build nx with nx 2020-06-03 16:25:25 -04:00
Jason Jean
e06822da7e
chore(repo): update prettier to v2 (#2934)
this is just for the repo, and not the workspace

Co-authored-by: Rares Matei <matei.rar@gmail.com>
2020-04-29 01:09:37 -04:00
Jo Hanna Pearce
5b1047e9c3 feat(core): improved console output for nx migrate 2020-04-27 10:32:49 +01:00
Juri Strumpflohner
866e631df2
fix(core): adjust nx migrate log (#2814) 2020-04-08 17:24:23 -04:00
Devin Shoemaker
8299c456cf
feat(core): add nx-plugin to list of default packages to be migrated (#2782)
nx-plugin is currently not migrated with the `nx migrate latest` command. Including this in the list of default packages will result in more expected behavior with less maintenance for the end user.
2020-04-03 14:28:03 -04:00
Jason Jean
e5e0e312d1 fix(misc): fix nx migrate to execute run-schematic tasks 2020-02-04 15:18:58 -05:00
Jason Jean
b6e6b3f1c3
Revert "Revert "feat(core): update to next version of angular deps"" (#2264)
This reverts commit f816fc424d4b0d850e0a49d0ed8e4a30ddca308c.
2020-01-31 13:08:50 -05:00
Juri
27c6afc95b fix(core): register node package install executor
Without this registration npm installs won't work with the Nx migrate command
2020-01-26 11:04:08 -05:00
Victor Savkin
9c8e09ab2d feat(core): make migrate command more permissive and add docs 2020-01-18 12:00:25 -05:00
Victor Savkin
3940a1f885 fix(core): migrate should parse versions that don't follow semver 2020-01-16 14:58:49 -05:00