@backstage/plugin-devtools-common 0.1.19-next.0 → 0.1.19-next.1
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 +8 -0
- package/dist/index.d.ts +14 -3
- package/dist/types.cjs.js +4 -5
- package/dist/types.cjs.js.map +1 -1
- package/dist/types.esm.js +4 -5
- package/dist/types.esm.js.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @backstage/plugin-devtools-common
|
|
2
2
|
|
|
3
|
+
## 0.1.19-next.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- b2bef92: Convert all enums to erasable-syntax compliant patterns
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @backstage/plugin-permission-common@0.9.3-next.1
|
|
10
|
+
|
|
3
11
|
## 0.1.19-next.0
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -29,9 +29,20 @@ type PackageDependency = {
|
|
|
29
29
|
versions: string;
|
|
30
30
|
};
|
|
31
31
|
/** @public */
|
|
32
|
-
declare
|
|
33
|
-
healthy
|
|
34
|
-
unhealthy
|
|
32
|
+
declare const ExternalDependencyStatus: {
|
|
33
|
+
readonly healthy: "Healthy";
|
|
34
|
+
readonly unhealthy: "Unhealthy";
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
type ExternalDependencyStatus = (typeof ExternalDependencyStatus)[keyof typeof ExternalDependencyStatus];
|
|
40
|
+
/**
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
declare namespace ExternalDependencyStatus {
|
|
44
|
+
type healthy = typeof ExternalDependencyStatus.healthy;
|
|
45
|
+
type unhealthy = typeof ExternalDependencyStatus.unhealthy;
|
|
35
46
|
}
|
|
36
47
|
/** @public */
|
|
37
48
|
type ConfigInfo = {
|
package/dist/types.cjs.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
})(ExternalDependencyStatus || {});
|
|
3
|
+
const ExternalDependencyStatus = {
|
|
4
|
+
healthy: "Healthy",
|
|
5
|
+
unhealthy: "Unhealthy"
|
|
6
|
+
};
|
|
8
7
|
|
|
9
8
|
exports.ExternalDependencyStatus = ExternalDependencyStatus;
|
|
10
9
|
//# sourceMappingURL=types.cjs.js.map
|
package/dist/types.cjs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.cjs.js","sources":["../src/types.ts"],"sourcesContent":["/*\n * Copyright 2022 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { JsonValue } from '@backstage/types';\n\n/** @public */\nexport type Endpoint = {\n name: string;\n type: string;\n target: string;\n};\n\n/** @public */\nexport type ExternalDependency = {\n name: string;\n type: string;\n target: string;\n status: string;\n error?: string;\n};\n\n/** @public */\nexport type DevToolsInfo = {\n operatingSystem: string;\n resourceUtilization: string;\n nodeJsVersion: string;\n backstageVersion: string;\n dependencies: PackageDependency[];\n};\n\n/** @public */\nexport type PackageDependency = {\n name: string;\n versions: string;\n};\n\n/** @public */\nexport
|
|
1
|
+
{"version":3,"file":"types.cjs.js","sources":["../src/types.ts"],"sourcesContent":["/*\n * Copyright 2022 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/* We want to maintain the same information as an enum, so we disable the redeclaration warning */\n/* eslint-disable @typescript-eslint/no-redeclare */\n\nimport { JsonValue } from '@backstage/types';\n\n/** @public */\nexport type Endpoint = {\n name: string;\n type: string;\n target: string;\n};\n\n/** @public */\nexport type ExternalDependency = {\n name: string;\n type: string;\n target: string;\n status: string;\n error?: string;\n};\n\n/** @public */\nexport type DevToolsInfo = {\n operatingSystem: string;\n resourceUtilization: string;\n nodeJsVersion: string;\n backstageVersion: string;\n dependencies: PackageDependency[];\n};\n\n/** @public */\nexport type PackageDependency = {\n name: string;\n versions: string;\n};\n\n/** @public */\nexport const ExternalDependencyStatus = {\n healthy: 'Healthy',\n unhealthy: 'Unhealthy',\n} as const;\n\n/**\n * @public\n */\nexport type ExternalDependencyStatus =\n (typeof ExternalDependencyStatus)[keyof typeof ExternalDependencyStatus];\n\n/**\n * @public\n */\nexport namespace ExternalDependencyStatus {\n export type healthy = typeof ExternalDependencyStatus.healthy;\n export type unhealthy = typeof ExternalDependencyStatus.unhealthy;\n}\n\n/** @public */\nexport type ConfigInfo = {\n config?: JsonValue;\n error?: ConfigError;\n};\n\n/** @public */\nexport type ConfigError = {\n name: string;\n message: string;\n messages?: string[];\n stack?: string;\n};\n"],"names":[],"mappings":";;AAoDO,MAAM,wBAAA,GAA2B;AAAA,EACtC,OAAA,EAAS,SAAA;AAAA,EACT,SAAA,EAAW;AACb;;;;"}
|
package/dist/types.esm.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
})(ExternalDependencyStatus || {});
|
|
1
|
+
const ExternalDependencyStatus = {
|
|
2
|
+
healthy: "Healthy",
|
|
3
|
+
unhealthy: "Unhealthy"
|
|
4
|
+
};
|
|
6
5
|
|
|
7
6
|
export { ExternalDependencyStatus };
|
|
8
7
|
//# sourceMappingURL=types.esm.js.map
|
package/dist/types.esm.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.esm.js","sources":["../src/types.ts"],"sourcesContent":["/*\n * Copyright 2022 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { JsonValue } from '@backstage/types';\n\n/** @public */\nexport type Endpoint = {\n name: string;\n type: string;\n target: string;\n};\n\n/** @public */\nexport type ExternalDependency = {\n name: string;\n type: string;\n target: string;\n status: string;\n error?: string;\n};\n\n/** @public */\nexport type DevToolsInfo = {\n operatingSystem: string;\n resourceUtilization: string;\n nodeJsVersion: string;\n backstageVersion: string;\n dependencies: PackageDependency[];\n};\n\n/** @public */\nexport type PackageDependency = {\n name: string;\n versions: string;\n};\n\n/** @public */\nexport
|
|
1
|
+
{"version":3,"file":"types.esm.js","sources":["../src/types.ts"],"sourcesContent":["/*\n * Copyright 2022 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/* We want to maintain the same information as an enum, so we disable the redeclaration warning */\n/* eslint-disable @typescript-eslint/no-redeclare */\n\nimport { JsonValue } from '@backstage/types';\n\n/** @public */\nexport type Endpoint = {\n name: string;\n type: string;\n target: string;\n};\n\n/** @public */\nexport type ExternalDependency = {\n name: string;\n type: string;\n target: string;\n status: string;\n error?: string;\n};\n\n/** @public */\nexport type DevToolsInfo = {\n operatingSystem: string;\n resourceUtilization: string;\n nodeJsVersion: string;\n backstageVersion: string;\n dependencies: PackageDependency[];\n};\n\n/** @public */\nexport type PackageDependency = {\n name: string;\n versions: string;\n};\n\n/** @public */\nexport const ExternalDependencyStatus = {\n healthy: 'Healthy',\n unhealthy: 'Unhealthy',\n} as const;\n\n/**\n * @public\n */\nexport type ExternalDependencyStatus =\n (typeof ExternalDependencyStatus)[keyof typeof ExternalDependencyStatus];\n\n/**\n * @public\n */\nexport namespace ExternalDependencyStatus {\n export type healthy = typeof ExternalDependencyStatus.healthy;\n export type unhealthy = typeof ExternalDependencyStatus.unhealthy;\n}\n\n/** @public */\nexport type ConfigInfo = {\n config?: JsonValue;\n error?: ConfigError;\n};\n\n/** @public */\nexport type ConfigError = {\n name: string;\n message: string;\n messages?: string[];\n stack?: string;\n};\n"],"names":[],"mappings":"AAoDO,MAAM,wBAAA,GAA2B;AAAA,EACtC,OAAA,EAAS,SAAA;AAAA,EACT,SAAA,EAAW;AACb;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-devtools-common",
|
|
3
|
-
"version": "0.1.19-next.
|
|
3
|
+
"version": "0.1.19-next.1",
|
|
4
4
|
"description": "Common functionalities for the devtools plugin",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "common-library",
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
"test": "backstage-cli package test"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@backstage/plugin-permission-common": "0.9.3-next.
|
|
42
|
+
"@backstage/plugin-permission-common": "0.9.3-next.1",
|
|
43
43
|
"@backstage/types": "1.2.2"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@backstage/cli": "0.34.5-next.
|
|
46
|
+
"@backstage/cli": "0.34.5-next.1"
|
|
47
47
|
},
|
|
48
48
|
"typesVersions": {
|
|
49
49
|
"*": {
|