* chore(core): use extrapolated ts type in create-nx-workspace & create-nx-plugin
* chore(core): use extrapolated ts type in create-nx-workspace & create-nx-plugin
* fix(core): adjust package manager list order
* 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>
* 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>