-
-
Notifications
You must be signed in to change notification settings - Fork 194
Closed
Description
Is your feature request related to a problem? Please describe.
Currently when switching between yarn workspace enabled projects to npm bound workspaces we need to switch the cli package-manager properly.
Describe the solution you'd like
Instead the cli should look for:
import { NativeScriptConfig } from '@nativescript/core';
export default {
id: 'org.nativescript.app',
android: {
v8Flags: '--expose_gc',
markingMode: 'none',
},
appPath: 'src',
// New CLI properties
cli: {
packageManager: 'yarn',
}
} as NativeScriptConfig;
To determine it's package-manager settings when running/building projects.
Describe alternatives you've considered
Possibly using .nsrc
however the nativescript.config is perfect place to manage this option.
Additional context
Pains when switching between yarn enabled project workspaces to plugin workspaces you have to be sure cli package-manager is set right.
Metadata
Metadata
Assignees
Labels
No labels