What this PR does / why we need it:
This PR allows users to set feature flags via cli args when scaffolding a plugin. This makes it much easier for users when scaffolding as they don't need to scaffold, create or change the cprc json file, then run @grafana/create-plugin update to update the configs. It also makes it easier for developers to test or add new features behind flags.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Use the below canary release with flags such as --bundleGrafanaUI and/or --no-useReactRouterV6 to test locally.
📦 Published PR as canary version: Canary Versions
:sparkles: Test out this PR locally via:
```bash
npm install @grafana/create-plugin@4.15.0-canary.984.6a79d7c.0
# or
yarn add @grafana/create-plugin@4.15.0-canary.984.6a79d7c.0
```
Hello! 👋 This repository uses Auto for releasing packages using PR labels.
✨ This PR can be merged and will trigger a new minor release.
NOTE: When merging a PR with the release label please avoid merging another PR. For further information see here.
What this PR does / why we need it: This PR allows users to set feature flags via cli args when scaffolding a plugin. This makes it much easier for users when scaffolding as they don't need to scaffold, create or change the
cprc json
file, then run@grafana/create-plugin update
to update the configs. It also makes it easier for developers to test or add new features behind flags.Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Use the below canary release with flags such as
--bundleGrafanaUI
and/or--no-useReactRouterV6
to test locally.📦 Published PR as canary version:
Canary Versions
:sparkles: Test out this PR locally via: ```bash npm install @grafana/create-plugin@4.15.0-canary.984.6a79d7c.0 # or yarn add @grafana/create-plugin@4.15.0-canary.984.6a79d7c.0 ```