@backstage/plugin-devtools-common 0.1.3-next.0 → 0.1.4-next.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 +18 -0
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @backstage/plugin-devtools-common
|
|
2
2
|
|
|
3
|
+
## 0.1.4-next.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 12e644aa4eef: Show resource utilization in `DevTools` plugin
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @backstage/plugin-permission-common@0.7.8-next.0
|
|
10
|
+
- @backstage/types@1.1.0
|
|
11
|
+
|
|
12
|
+
## 0.1.3
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- 12a8c94eda8d: Add package repository and homepage metadata
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
- @backstage/types@1.1.0
|
|
19
|
+
- @backstage/plugin-permission-common@0.7.7
|
|
20
|
+
|
|
3
21
|
## 0.1.3-next.0
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/dist/index.cjs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs.js","sources":["../src/types.ts","../src/permissions.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 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 enum ExternalDependencyStatus {\n healthy = 'Healthy',\n unhealthy = '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","/*\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 { createPermission } from '@backstage/plugin-permission-common';\n\n/**\n * @public\n */\nexport const devToolsAdministerPermission = createPermission({\n name: 'devtools.administer',\n attributes: { action: 'read' },\n});\n\n/**\n * @public\n */\nexport const devToolsInfoReadPermission = createPermission({\n name: 'devtools.info',\n attributes: { action: 'read' },\n});\n\n/**\n * @public\n */\nexport const devToolsConfigReadPermission = createPermission({\n name: 'devtools.config',\n attributes: { action: 'read' },\n});\n\n/**\n * @public\n */\nexport const devToolsExternalDependenciesReadPermission = createPermission({\n name: 'devtools.external-dependencies',\n attributes: { action: 'read' },\n});\n\n/**\n * List of all Devtools permissions\n *\n * @public\n */\nexport const devToolsPermissions = [\n devToolsAdministerPermission,\n devToolsInfoReadPermission,\n devToolsConfigReadPermission,\n devToolsExternalDependenciesReadPermission,\n];\n"],"names":["ExternalDependencyStatus","createPermission"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"index.cjs.js","sources":["../src/types.ts","../src/permissions.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 enum ExternalDependencyStatus {\n healthy = 'Healthy',\n unhealthy = '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","/*\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 { createPermission } from '@backstage/plugin-permission-common';\n\n/**\n * @public\n */\nexport const devToolsAdministerPermission = createPermission({\n name: 'devtools.administer',\n attributes: { action: 'read' },\n});\n\n/**\n * @public\n */\nexport const devToolsInfoReadPermission = createPermission({\n name: 'devtools.info',\n attributes: { action: 'read' },\n});\n\n/**\n * @public\n */\nexport const devToolsConfigReadPermission = createPermission({\n name: 'devtools.config',\n attributes: { action: 'read' },\n});\n\n/**\n * @public\n */\nexport const devToolsExternalDependenciesReadPermission = createPermission({\n name: 'devtools.external-dependencies',\n attributes: { action: 'read' },\n});\n\n/**\n * List of all Devtools permissions\n *\n * @public\n */\nexport const devToolsPermissions = [\n devToolsAdministerPermission,\n devToolsInfoReadPermission,\n devToolsConfigReadPermission,\n devToolsExternalDependenciesReadPermission,\n];\n"],"names":["ExternalDependencyStatus","createPermission"],"mappings":";;;;;;AAkDY,IAAA,wBAAA,qBAAAA,yBAAL,KAAA;AACL,EAAAA,0BAAA,SAAU,CAAA,GAAA,SAAA,CAAA;AACV,EAAAA,0BAAA,WAAY,CAAA,GAAA,WAAA,CAAA;AAFF,EAAAA,OAAAA,yBAAAA,CAAAA;AAAA,CAAA,EAAA,wBAAA,IAAA,EAAA;;AC7BL,MAAM,+BAA+BC,uCAAiB,CAAA;AAAA,EAC3D,IAAM,EAAA,qBAAA;AAAA,EACN,UAAA,EAAY,EAAE,MAAA,EAAQ,MAAO,EAAA;AAC/B,CAAC,EAAA;AAKM,MAAM,6BAA6BA,uCAAiB,CAAA;AAAA,EACzD,IAAM,EAAA,eAAA;AAAA,EACN,UAAA,EAAY,EAAE,MAAA,EAAQ,MAAO,EAAA;AAC/B,CAAC,EAAA;AAKM,MAAM,+BAA+BA,uCAAiB,CAAA;AAAA,EAC3D,IAAM,EAAA,iBAAA;AAAA,EACN,UAAA,EAAY,EAAE,MAAA,EAAQ,MAAO,EAAA;AAC/B,CAAC,EAAA;AAKM,MAAM,6CAA6CA,uCAAiB,CAAA;AAAA,EACzE,IAAM,EAAA,gCAAA;AAAA,EACN,UAAA,EAAY,EAAE,MAAA,EAAQ,MAAO,EAAA;AAC/B,CAAC,EAAA;AAOM,MAAM,mBAAsB,GAAA;AAAA,EACjC,4BAAA;AAAA,EACA,0BAAA;AAAA,EACA,4BAAA;AAAA,EACA,0CAAA;AACF;;;;;;;;;"}
|
package/dist/index.d.ts
CHANGED
package/dist/index.esm.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm.js","sources":["../src/types.ts","../src/permissions.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 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 enum ExternalDependencyStatus {\n healthy = 'Healthy',\n unhealthy = '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","/*\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 { createPermission } from '@backstage/plugin-permission-common';\n\n/**\n * @public\n */\nexport const devToolsAdministerPermission = createPermission({\n name: 'devtools.administer',\n attributes: { action: 'read' },\n});\n\n/**\n * @public\n */\nexport const devToolsInfoReadPermission = createPermission({\n name: 'devtools.info',\n attributes: { action: 'read' },\n});\n\n/**\n * @public\n */\nexport const devToolsConfigReadPermission = createPermission({\n name: 'devtools.config',\n attributes: { action: 'read' },\n});\n\n/**\n * @public\n */\nexport const devToolsExternalDependenciesReadPermission = createPermission({\n name: 'devtools.external-dependencies',\n attributes: { action: 'read' },\n});\n\n/**\n * List of all Devtools permissions\n *\n * @public\n */\nexport const devToolsPermissions = [\n devToolsAdministerPermission,\n devToolsInfoReadPermission,\n devToolsConfigReadPermission,\n devToolsExternalDependenciesReadPermission,\n];\n"],"names":["ExternalDependencyStatus"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"index.esm.js","sources":["../src/types.ts","../src/permissions.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 enum ExternalDependencyStatus {\n healthy = 'Healthy',\n unhealthy = '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","/*\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 { createPermission } from '@backstage/plugin-permission-common';\n\n/**\n * @public\n */\nexport const devToolsAdministerPermission = createPermission({\n name: 'devtools.administer',\n attributes: { action: 'read' },\n});\n\n/**\n * @public\n */\nexport const devToolsInfoReadPermission = createPermission({\n name: 'devtools.info',\n attributes: { action: 'read' },\n});\n\n/**\n * @public\n */\nexport const devToolsConfigReadPermission = createPermission({\n name: 'devtools.config',\n attributes: { action: 'read' },\n});\n\n/**\n * @public\n */\nexport const devToolsExternalDependenciesReadPermission = createPermission({\n name: 'devtools.external-dependencies',\n attributes: { action: 'read' },\n});\n\n/**\n * List of all Devtools permissions\n *\n * @public\n */\nexport const devToolsPermissions = [\n devToolsAdministerPermission,\n devToolsInfoReadPermission,\n devToolsConfigReadPermission,\n devToolsExternalDependenciesReadPermission,\n];\n"],"names":["ExternalDependencyStatus"],"mappings":";;AAkDY,IAAA,wBAAA,qBAAAA,yBAAL,KAAA;AACL,EAAAA,0BAAA,SAAU,CAAA,GAAA,SAAA,CAAA;AACV,EAAAA,0BAAA,WAAY,CAAA,GAAA,WAAA,CAAA;AAFF,EAAAA,OAAAA,yBAAAA,CAAAA;AAAA,CAAA,EAAA,wBAAA,IAAA,EAAA;;AC7BL,MAAM,+BAA+B,gBAAiB,CAAA;AAAA,EAC3D,IAAM,EAAA,qBAAA;AAAA,EACN,UAAA,EAAY,EAAE,MAAA,EAAQ,MAAO,EAAA;AAC/B,CAAC,EAAA;AAKM,MAAM,6BAA6B,gBAAiB,CAAA;AAAA,EACzD,IAAM,EAAA,eAAA;AAAA,EACN,UAAA,EAAY,EAAE,MAAA,EAAQ,MAAO,EAAA;AAC/B,CAAC,EAAA;AAKM,MAAM,+BAA+B,gBAAiB,CAAA;AAAA,EAC3D,IAAM,EAAA,iBAAA;AAAA,EACN,UAAA,EAAY,EAAE,MAAA,EAAQ,MAAO,EAAA;AAC/B,CAAC,EAAA;AAKM,MAAM,6CAA6C,gBAAiB,CAAA;AAAA,EACzE,IAAM,EAAA,gCAAA;AAAA,EACN,UAAA,EAAY,EAAE,MAAA,EAAQ,MAAO,EAAA;AAC/B,CAAC,EAAA;AAOM,MAAM,mBAAsB,GAAA;AAAA,EACjC,4BAAA;AAAA,EACA,0BAAA;AAAA,EACA,4BAAA;AAAA,EACA,0CAAA;AACF;;;;"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-devtools-common",
|
|
3
3
|
"description": "Common functionalities for the devtools plugin",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.4-next.0",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
"postpack": "backstage-cli package postpack"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@backstage/plugin-permission-common": "^0.7.
|
|
32
|
+
"@backstage/plugin-permission-common": "^0.7.8-next.0",
|
|
33
33
|
"@backstage/types": "^1.1.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@backstage/cli": "^0.22.
|
|
36
|
+
"@backstage/cli": "^0.22.13-next.1"
|
|
37
37
|
},
|
|
38
38
|
"files": [
|
|
39
39
|
"dist"
|