110 Commits

Author SHA1 Message Date
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
Juri Strumpflohner
efbb7c6b4c
feat(core): add spinner during node module install (#5593) 2021-05-21 10:33:42 -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
Emily Xiong
72ce35264f
fix(core): change legacy_peer_deps to npm env variable (#5541) 2021-05-04 16:02:12 -04:00
Emily Xiong
efd706ff5f
feat(gatsby): add style-jsx support for gatsby (#5300)
add style-jsx option for gatsby
add plugin to add _JSXStyle to global
2021-05-03 13:19:32 -04:00
Emily Xiong
84e387b238
feat(gatsby): add preset gatsby (#5485) 2021-04-29 17:53:20 -04:00
vsavkin
d72569a5e6 fix(core): emit erorr logs instead of retrying when creating a worksapce 2021-04-24 19:11:45 -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
Jason Jean
fb0411ee8f
fix(core): print error if there is an issue creating the sandbox during create (#5380) 2021-04-19 12:00:00 -04:00
katerina
2612268faa fix(core): take into account name argument in create-nx-workspace generator 2021-04-06 10:31:50 -04:00
Tasos Bekos
9cb23ddbbd feat(core): replace inquirer dependency with enquirer 2021-04-06 10:31:30 -04:00
Vivek
d1b09eaabd
cleanup(misc): make code more consistent and fix typos 2021-03-23 13:03:17 -04:00
vsavkin
e40c65194d feat(misc): add a spinner when creating a workspace 2021-03-15 10:25:14 -04:00
vsavkin
cad02e4399 feat(core): speed up and clean up create-nx-workspace 2021-03-11 15:56:00 -05:00
Vivek More
49ba90b81a cleanup(misc): use shorthand 2021-03-08 10:13:06 -05:00
Jonathan Cammisuli
bba26b08bd
feat(express): add express preset to create-nx-workspace (#4909) 2021-03-05 11:40:40 -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
b5bfbc9fae
fix(react): temporarily remove gatsby preset from create-nx-workspace (#4819) 2021-02-17 13:03:51 -05:00
Jack Hsu
51973b88e2 chore(gatsby): move gatsby plugin to main repo 2021-01-26 12:17:28 -05:00
Victor Savkin
a25e081a84 feat(core): remove angular devkit deps 2021-01-25 12:52:30 -05:00
Juri
958c302c17 docs(core): add packageManager option to workspace creation help 2021-01-19 08:40:52 -05:00
Tasos Bekos
9abdb78a4a feat(repo): run E2E tests on Windows (cmd) 2021-01-06 15:47:18 -05:00
Victor Savkin
93031143e3 feat(angular): switch default linter from eslint to tslint when creating a workspace 2021-01-05 12:23:29 -05:00
Tasos Bekos
6b02132e7b fix(core): convert workspace root path with forward slashes
Yarn was wrongly interpreting `nxWorkspaceRoot` when current working directory was ending in backslash, for example `E:\` in Windows. This commit makes sure that `nxWorkspaceRoot` parameter uses only forward slashes that work in all cases.

Closes #4363
2020-12-21 11:42:18 -05:00