133 Commits

Author SHA1 Message Date
Victor Savkin
f9ef42e8c2 cleanup(misc): update to cloud message 2022-09-06 15:31:01 -04:00
Jason Jean
8db5f1ac07
fix(misc): print new workspace directory and fix issues when creating workspaces with non-normalized name (#11853) 2022-09-02 21:28:56 +00:00
Victor Savkin
f89b68b796 feat(misc): a/b test different prompt messages 2022-09-01 16:05:29 -04:00
Victor Savkin
9b5f25af9c fix(core): do a recursive check to see if files should be restored 2022-09-01 10:20:33 -04:00
Victor Savkin
5a8214923f chore(core): collect basic static on workspace creation in ci vs dev 2022-08-31 13:33:34 -04:00
Miroslav Jonaš
15d83258fe
feat(core): move git commit from generators to create-nx-workspace (#11633)
* fix(core): move git commit to create-nx-workspace

* fix(core): add git init to create-nx-plugin
2022-08-18 18:40:46 -04:00
Miroslav Jonaš
36213b71fb
feat(core): support yarn berry in CNW (#11528) 2022-08-11 17:37:53 +00:00
Jason Jean
c21e6ebe78
feat(misc): autocomplete prompts (#11361) 2022-07-29 16:44:39 -04:00
Victor Savkin
7a945e2e44 cleanup(misc): update nx cloud message 2022-07-01 12:55:35 -04:00
Juri
80c5f328a9 fix(core): nx Cloud messaging on the wrkspace setup commands 2022-06-27 04:58:16 -07:00
Altan Stalker
8f082d293c
chore(misc): add installation source for packages that install nx cloud (#10784) 2022-06-23 19:13:41 -04:00
Victor Savkin
932404303a cleanup(core): use npm.json instead core.json as the preset name for npm workspaces 2022-06-06 15:10:29 -04:00
Victor Savkin
10e9992b36
fix(core): do not create project graph when creating a sandbox in create-nx-workspace 2022-06-01 09:51:15 -04:00
Jason Jean
04985be149
chore(repo): switch publishing to use lerna (#10293) 2022-05-20 00:35:47 +00:00
Benjamin Cabanes
17a11b6a83
docs(nxdev): update nx plugin doc links (#10266) 2022-05-12 10:56:41 -04:00
Miroslav Jonaš
c9e28a183e
chore(core): cleanup create-nx-workspace from obsolete code (#10174) 2022-05-05 15:31:19 -04:00
Miroslav Jonaš
1fb99fe541
chore(core): fix CI prompt message formatting (#10112) 2022-05-03 10:19:11 +00:00
Miroslav Jonaš
899e0caac8
feat(core): switch cnw ci option to be single-select (#10007)
* feat(core): switch cnw ci option to be single-select

* chore(repo): enforce cache renewal

* chore(repo): revert cache renewal

* fix(core): fix tests

* fix(core): fix enquirer limitation with falsy values
2022-05-02 16:01:34 +02:00
Jason Jean
3d563685d1
fix(core): fix having multiple versions of nx/devkit (#9998) 2022-04-26 14:39:18 -04:00
Jason Jean
4030d47244 fix(core): fix creating new workspaces with not normalized names 2022-04-22 21:15:52 +02:00
Miroslav Jonaš
ec0f4b4173
fix(core): handle failed CI workflows in CNW CLI (#9915) 2022-04-20 20:46:13 -04:00
Miroslav Jonaš
5fe8d84396
feat(core): add CI generation to create-nx-workspace (#9611) 2022-04-20 14:51:15 -04:00
Miroslav Jonas
31b647343e fix(core): make CNW preset property open for custom presets 2022-04-19 13:20:13 +02:00
Miroslav Jonaš
7c7e415fff
docs(core): remove obsolete nx cloud default value from docs (#9747) 2022-04-08 12:40:31 +01:00
Miroslav Jonaš
4b3486eade
feat(core): add colors to create-nx-workspace (#9705) 2022-04-06 22:32:26 +02:00
Miroslav Jonaš
9e06020575
feat(core): toggle additional prompts in CNW with a flag (#9546)
* feat(core): toggle additional prompts in CNW with a flag

* feat(repo): handle cli params with yargs

* feat(core): add docs generation

* chore(repo): add colors

* fix(core): migrate to yargs 17.x

* fix(core): update markup generation
2022-03-29 14:00:07 -04:00
Victor Savkin
fe846882aa
chore(repo): update repo to 13.10 (#9497) 2022-03-24 12:21:07 -04:00
Miroslav Jonaš
57df570149
fix(core): add missing CNW flags in help report (#9479) 2022-03-24 12:32:38 +01:00
Victor Savkin
6f038e7a4a feat(core): reorganize packges to consolidate all cli-related code in nx 2022-03-14 16:42:51 -04:00
Nicholas Cunningham
eaeb82657a
docs(web): add documentation for custom presets (#9028)
ISSUES CLOSED: #8559
2022-02-25 14:57:41 -05:00
Victor Savkin
e008caf9f9
feat(misc): change cloud prompt default 2022-02-07 20:09:40 -05:00
Benjamin Cabanes
a5a0340a13
chore(core): remove confusing cli description command (#8749) 2022-01-28 13:45:21 -05:00
Jack Hsu
f231cfc01b
feat(repo): move gatsby plugin to nx-labs repo (#8617) 2022-01-20 12:00:51 -05:00
Victor Savkin
9b947a5306 docs(misc): add more content to Nx and ... guides 2022-01-06 12:24:12 -05:00
Victor Savkin
20f731990c docs(misc): rework the top section of docs 2022-01-04 14:11:31 -05:00
Victor Savkin
9051ff2605 feat(core): add ts preset to create-nx-workspace 2021-12-17 21:57:15 -05:00
Nicholas Cunningham
18b3d61a1d
feat(core): Add support for versioning in the preset package name (#8146) 2021-12-14 10:07:57 -05:00
Nicholas Cunningham
3bedfd8039
feat(core): preset now supports external generators when creating a workspace. (#8084)
When you run create-nx-workspace --preset you can now pass in an npm package name.
This package will contain a generator named preset which is run after the workspace has been generated.
2021-12-10 15:44:20 -05:00
Craigory Coppola
cc2aa9feba
feat(core): show version number when generating a new workspace (#7570) 2021-12-02 17:20:39 -06:00
Miroslav Jonaš
99946a2bea
feat(core): print out directly simple create-nx-workspace exceptions (#7932)
* feat(core): print out directly simple create-nx-workspace exceptions

* feat(core): respect NX_VERBOSE_LOGGING when calling create-nx-workspace
2021-11-30 09:57:08 -05:00
Antoine Leblanc
a965f89d89
Update GitHub brand name usage (#7291)
* docs(misc): update github brand name usage

Relates to https://github.com/logos

* docs(nxdev): update github brand name usage

Relates to https://github.com/logos

* fix(misc): update github brand name usage

Relates to https://github.com/logos
2021-10-12 15:09:03 -04:00
Emily Xiong
387af0cf3f
feat(core): add react native to main repo (#6493) 2021-08-25 15:54:23 -04:00
Leosvel Pérez Espinosa
ff202d323c
cleanup(misc): rename oss preset to npm and update presets related docs (#6777) 2021-08-19 11:10:29 -07:00
Chau Tran
3bcfaf018d
feat(core): detect package manager used to invoke create-nx-(plugin|workspace) (#6749)
* feat(core): detect package manager used to invoke create-nx-(plugin|workspace)

When consumers create a new Workspace (or Plugin) using the create-nx-workspace (or
create-nx-plugin) generator, the package manager used to invoke the generator will be detected and
used as packageManager. For example: pnpx create-nx-workspace will use pnpm, yarn create
nx-workspace will use yarn. Explicit `--packageManager` flag will be priority over the detection.

* cleanup(core): reassign SELECTED_PM after each test run

* fix(core): augment args instead of hardcode --packageManager flag

* cleanup(core): use packageManagerLockFile instead of magic strings

* cleanup(core): fix typo in create-nx-workspace

* cleanup(core): ensure new workspace name for every test

* feat(core): detect package manager used to invoke create-nx-(plugin|workspace)

When consumers create a new Workspace (or Plugin) using the create-nx-workspace (or
create-nx-plugin) generator, the package manager used to invoke the generator will be detected and
used as packageManager. For example: pnpx create-nx-workspace will use pnpm, yarn create
nx-workspace will use yarn. Explicit `--packageManager` flag will be priority over the detection.

* cleanup(core): reassign SELECTED_PM after each test run

* fix(core): augment args instead of hardcode --packageManager flag

* cleanup(core): use packageManagerLockFile instead of magic strings

* cleanup(core): fix typo in create-nx-workspace

* cleanup(core): ensure new workspace name for every test

* fix(core): move detectInvokedPackageManager off of tao

Co-authored-by: Chau Tran <ctran@Chaus-MacBook-Pro.local>
2021-08-18 12:09:00 -04:00
Emily Xiong
f96c5371c0
fix(gatsby): remove npm_config_legacy_peer_deps (#6698) 2021-08-12 12:47:46 -04:00
Victor Savkin
1049c93dea
fix(misc): NxCloud activation link is not displayed (#6619) 2021-08-05 12:09:13 -04:00
Miroslav Jonaš
9326742442
fix(core): fix wrong create-nx-workspace tutorial link (#6428) 2021-07-22 09:31:10 +02:00
Leosvel Pérez Espinosa
9044a8f869
cleanup(misc): rename collection.json to generators.json (#6442) 2021-07-21 11:42:43 +01:00
Leosvel Pérez Espinosa
bbb0416cc2
fix(angular): remove Stylus from new Angular workspaces and apps (#6095) 2021-06-22 16:56:51 +01:00
Phillip Barta
fe97444d78
feat(core): migrate prettier to v2.3.1 (#5623) 2021-06-17 16:44:30 +02:00