@salesforce/sf-plugins-core 1.9.0 → 1.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [1.10.0](https://github.com/salesforcecli/sf-plugins-core/compare/v1.9.0...v1.10.0) (2022-03-31)
6
+
7
+ ### Features
8
+
9
+ - warn users when using a beta command ([2cf26f2](https://github.com/salesforcecli/sf-plugins-core/commit/2cf26f2d363a40b0739f082bfe4aedd62fd4531f))
10
+
5
11
  ## [1.9.0](https://github.com/salesforcecli/sf-plugins-core/compare/v1.8.1...v1.9.0) (2022-03-24)
6
12
 
7
13
  ### Features
package/lib/sfCommand.js CHANGED
@@ -140,6 +140,9 @@ class SfCommand extends core_1.Command {
140
140
  if (this.statics.requiresProject) {
141
141
  this.project = await this.assignProject();
142
142
  }
143
+ if (this.statics.state === 'beta') {
144
+ this.warn(messages.getMessage('warning.CommandInBeta'));
145
+ }
143
146
  this.lifecycle.onWarning(async (warning) => {
144
147
  this.warn(warning);
145
148
  });
@@ -73,3 +73,7 @@ Info:
73
73
  # actions.tryThis
74
74
 
75
75
  Try this:
76
+
77
+ # warning.CommandInBeta
78
+
79
+ This command is currently in beta. Any aspect of this command can change without advanced notice. Don't use beta commands in your scripts.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/sf-plugins-core",
3
- "version": "1.9.0",
3
+ "version": "1.10.0",
4
4
  "description": "Utils for writing deploy and retrieve plugins",
5
5
  "main": "lib/exported",
6
6
  "types": "lib/exported.d.ts",