@red-hat-developer-hub/extensions-cli 0.17.0 → 0.18.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
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @red-hat-developer-hub/extensions-cli
|
|
2
2
|
|
|
3
|
+
## 0.18.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 763507e: Removed the Plugin Certification Program. The `CERTIFIED_BY` annotation, certification badges, certified filter, and all related UI, translations, and metadata have been removed from the Extensions Catalog.
|
|
8
|
+
- 53a5d1d: bump to 1.51.1
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies [763507e]
|
|
13
|
+
- Updated dependencies [53a5d1d]
|
|
14
|
+
- @red-hat-developer-hub/backstage-plugin-extensions-common@0.18.0
|
|
15
|
+
|
|
16
|
+
## 0.17.1
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- @red-hat-developer-hub/backstage-plugin-extensions-common@0.17.1
|
|
21
|
+
|
|
3
22
|
## 0.17.0
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
|
@@ -119,7 +119,6 @@ var index = async ({
|
|
|
119
119
|
support: (p) => p?.spec?.support,
|
|
120
120
|
publisher: (p) => p?.spec?.publisher,
|
|
121
121
|
highlights: (p) => (p?.spec?.highlights || []).join(", "),
|
|
122
|
-
"certified-by": (p) => p?.metadata?.annotations?.["extensions.backstage.io/certified-by"],
|
|
123
122
|
"verified-by": (p) => p?.metadata?.annotations?.["extensions.backstage.io/verified-by"],
|
|
124
123
|
"pre-installed": (p) => p?.metadata?.annotations?.["extensions.backstage.io/pre-installed"],
|
|
125
124
|
packages: (p) => (p?.spec?.packages || []).join(", "),
|
|
@@ -107,7 +107,7 @@ var index = async (opts) => {
|
|
|
107
107
|
kind: backstagePluginExtensionsCommon.ExtensionsKind.Package,
|
|
108
108
|
metadata: {
|
|
109
109
|
name: entityName(packageJSON.name),
|
|
110
|
-
namespace: namespace ??
|
|
110
|
+
namespace: namespace ?? void 0,
|
|
111
111
|
title: packageName,
|
|
112
112
|
links,
|
|
113
113
|
annotations: {
|
|
@@ -181,7 +181,7 @@ function entityName(str) {
|
|
|
181
181
|
}
|
|
182
182
|
function guessPackageFromDependencies(pkgname, dependencies) {
|
|
183
183
|
if (!dependencies) {
|
|
184
|
-
return
|
|
184
|
+
return void 0;
|
|
185
185
|
}
|
|
186
186
|
if (Object.keys(dependencies).length === 1) {
|
|
187
187
|
return Object.keys(dependencies)[0];
|
|
@@ -192,20 +192,20 @@ function guessPackageFromDependencies(pkgname, dependencies) {
|
|
|
192
192
|
return dep;
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
|
-
return
|
|
195
|
+
return void 0;
|
|
196
196
|
}
|
|
197
197
|
function getScope(pkgname) {
|
|
198
198
|
if (pkgname.startsWith("@")) {
|
|
199
199
|
return pkgname.split("/")[0].substring(1);
|
|
200
200
|
}
|
|
201
|
-
return
|
|
201
|
+
return void 0;
|
|
202
202
|
}
|
|
203
203
|
function getModuleName(pkgname) {
|
|
204
204
|
const parts = pkgname.split("-module-");
|
|
205
205
|
if (parts.length > 1) {
|
|
206
206
|
return parts[1];
|
|
207
207
|
}
|
|
208
|
-
return
|
|
208
|
+
return void 0;
|
|
209
209
|
}
|
|
210
210
|
|
|
211
211
|
exports.default = index;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@red-hat-developer-hub/extensions-cli",
|
|
3
3
|
"description": "CLI for the Extensions",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.18.0",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "cli"
|
|
7
7
|
},
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
"dist/**/*.js"
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@backstage/catalog-model": "^1.
|
|
33
|
-
"@backstage/cli": "^0.36.
|
|
34
|
-
"@backstage/errors": "^1.
|
|
32
|
+
"@backstage/catalog-model": "^1.9.0",
|
|
33
|
+
"@backstage/cli": "^0.36.2",
|
|
34
|
+
"@backstage/errors": "^1.3.1",
|
|
35
35
|
"@backstage/types": "^1.2.2",
|
|
36
|
-
"@red-hat-developer-hub/backstage-plugin-extensions-common": "^0.
|
|
36
|
+
"@red-hat-developer-hub/backstage-plugin-extensions-common": "^0.18.0",
|
|
37
37
|
"chalk": "^4.1.2",
|
|
38
38
|
"commander": "^12.0.0",
|
|
39
39
|
"fs-extra": "^11.2.0",
|