Merge branch 'master' of github.com:backstage/backstage into RoadieHQ-5identity-api-client-interface

This commit is contained in:
Brian Fletcher
2022-09-01 10:51:52 +01:00
245 changed files with 65219 additions and 190669 deletions
+3 -4
View File
@@ -4,7 +4,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.cjs.js",
@@ -39,16 +38,16 @@
"@backstage/plugin-search-common": "^1.0.1-next.0",
"luxon": "^3.0.0",
"marked": "^4.0.14",
"winston": "^3.2.1",
"node-fetch": "^2.6.5",
"winston": "^3.2.1",
"yn": "^4.0.0"
},
"devDependencies": {
"@backstage/cli": "^0.19.0-next.1",
"@types/marked": "^4.0.0",
"@types/supertest": "^2.0.8",
"supertest": "^6.1.3",
"msw": "^0.45.0"
"msw": "^0.46.0",
"supertest": "^6.1.3"
},
"files": [
"dist"
-1
View File
@@ -5,7 +5,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.cjs.js",
+2 -2
View File
@@ -34,7 +34,7 @@
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "4.0.0-alpha.57",
"git-url-parse": "^12.0.0",
"git-url-parse": "^13.0.0",
"octokit": "^2.0.0",
"react-markdown": "^8.0.0",
"react-use": "^17.2.4",
@@ -56,7 +56,7 @@
"@types/jest": "*",
"@types/node": "*",
"cross-fetch": "^3.1.5",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"files": [
"dist"
+2 -2
View File
@@ -25,8 +25,8 @@
"@backstage/backend-common": "^0.15.1-next.1",
"@backstage/config": "^1.0.1",
"@types/express": "*",
"express-promise-router": "^4.1.0",
"express": "^4.17.1",
"express-promise-router": "^4.1.0",
"http-proxy-middleware": "^2.0.0",
"winston": "^3.2.1",
"yn": "^4.0.0"
@@ -35,7 +35,7 @@
"@backstage/cli": "^0.19.0-next.1",
"@types/http-proxy-middleware": "^0.19.3",
"@types/supertest": "^2.0.8",
"msw": "^0.45.0",
"msw": "^0.46.0",
"supertest": "^6.1.6"
},
"files": [
+1 -1
View File
@@ -52,7 +52,7 @@
"@types/node": "^16.11.26",
"@types/object-hash": "^2.2.1",
"cross-fetch": "^3.1.5",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"files": [
"dist"
+1 -2
View File
@@ -5,7 +5,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.esm.js",
@@ -50,7 +49,7 @@
"@types/jest": "^26.0.7",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"files": [
"dist"
+1 -2
View File
@@ -4,7 +4,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.esm.js",
@@ -48,7 +47,7 @@
"@types/jest": "^26.0.7",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"files": [
"dist",
+1 -1
View File
@@ -45,7 +45,7 @@
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/node": "^16.11.26",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"files": [
"dist",
+1 -1
View File
@@ -68,7 +68,7 @@
"@types/node": "^16.11.26",
"@types/swagger-ui-react": "^4.1.1",
"cross-fetch": "^3.1.5",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"files": [
"dist"
+3 -3
View File
@@ -22,6 +22,7 @@
"postpack": "backstage-cli package postpack"
},
"dependencies": {
"@apollo/explorer": "^1.1.1",
"@backstage/core-components": "^0.11.1-next.1",
"@backstage/core-plugin-api": "^1.0.6-next.1",
"@backstage/theme": "^0.2.16",
@@ -29,7 +30,6 @@
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "^4.0.0-alpha.57",
"react-use": "^17.2.4",
"@apollo/explorer": "^1.1.1",
"use-deep-compare-effect": "^1.8.1"
},
"peerDependencies": {
@@ -45,8 +45,8 @@
"@testing-library/user-event": "^14.0.0",
"@types/jest": "*",
"@types/node": "*",
"msw": "^0.45.0",
"cross-fetch": "^3.1.5"
"cross-fetch": "^3.1.5",
"msw": "^0.46.0"
},
"files": [
"dist"
+3 -4
View File
@@ -5,7 +5,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.cjs.js",
@@ -34,14 +33,14 @@
},
"dependencies": {
"@backstage/backend-common": "^0.15.1-next.1",
"@backstage/config-loader": "^1.1.4-next.0",
"@backstage/config": "^1.0.1",
"@backstage/config-loader": "^1.1.4-next.0",
"@backstage/types": "^1.0.0",
"@types/express": "^4.17.6",
"globby": "^11.0.0",
"express": "^4.17.1",
"express-promise-router": "^4.1.0",
"fs-extra": "10.1.0",
"globby": "^11.0.0",
"helmet": "^6.0.0",
"knex": "^2.0.0",
"lodash": "^4.17.21",
@@ -55,7 +54,7 @@
"@backstage/types": "^1.0.0",
"@types/supertest": "^2.0.8",
"mock-fs": "^5.1.0",
"msw": "^0.45.0",
"msw": "^0.46.0",
"supertest": "^6.1.3"
},
"files": [
+3 -4
View File
@@ -5,7 +5,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.cjs.js",
@@ -33,12 +32,12 @@
"clean": "backstage-cli package clean"
},
"dependencies": {
"@backstage/plugin-auth-node": "^0.2.5-next.1",
"@backstage/backend-common": "^0.15.1-next.1",
"@backstage/catalog-client": "^1.0.5-next.0",
"@backstage/catalog-model": "^1.1.0",
"@backstage/config": "^1.0.1",
"@backstage/errors": "^1.1.0",
"@backstage/plugin-auth-node": "^0.2.5-next.1",
"@backstage/types": "^1.0.0",
"@davidzemon/passport-okta-oauth": "^0.0.5",
"@google-cloud/firestore": "^6.0.0",
@@ -59,8 +58,8 @@
"luxon": "^3.0.0",
"minimatch": "^5.0.0",
"morgan": "^1.10.0",
"node-fetch": "^2.6.7",
"node-cache": "^5.1.2",
"node-fetch": "^2.6.7",
"openid-client": "^5.1.3",
"passport": "^0.6.0",
"passport-bitbucket-oauth2": "^0.1.2",
@@ -88,7 +87,7 @@
"@types/passport-saml": "^1.1.3",
"@types/passport-strategy": "^0.2.35",
"@types/xml2js": "^0.4.7",
"msw": "^0.45.0",
"msw": "^0.46.0",
"supertest": "^6.1.3"
},
"files": [
+1 -2
View File
@@ -4,7 +4,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.cjs.js",
@@ -36,7 +35,7 @@
"@backstage/backend-test-utils": "^0.1.28-next.1",
"@backstage/cli": "^0.19.0-next.1",
"lodash": "^4.17.21",
"msw": "^0.45.0",
"msw": "^0.46.0",
"uuid": "^8.0.0"
},
"files": [
+4 -5
View File
@@ -4,7 +4,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.cjs.js",
@@ -30,16 +29,16 @@
"azure-devops-node-api": "^11.0.1",
"express": "^4.17.1",
"express-promise-router": "^4.1.0",
"mime-types": "^2.1.27",
"p-limit": "^3.1.0",
"winston": "^3.2.1",
"yn": "^4.0.0",
"mime-types": "^2.1.27"
"yn": "^4.0.0"
},
"devDependencies": {
"@backstage/cli": "^0.19.0-next.1",
"@types/supertest": "^2.0.8",
"supertest": "^6.1.6",
"msw": "^0.45.0"
"msw": "^0.46.0",
"supertest": "^6.1.6"
},
"files": [
"dist",
-1
View File
@@ -4,7 +4,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.cjs.js",
+1 -2
View File
@@ -4,7 +4,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.esm.js",
@@ -59,7 +58,7 @@
"@types/jest": "^26.0.7",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"files": [
"dist"
-1
View File
@@ -5,7 +5,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.cjs.js",
+1 -1
View File
@@ -56,7 +56,7 @@
"@types/jest": "^26.0.7",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"files": [
"dist"
-1
View File
@@ -4,7 +4,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.cjs.js",
-1
View File
@@ -4,7 +4,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.esm.js",
+1 -2
View File
@@ -5,7 +5,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.cjs.js",
@@ -34,7 +33,7 @@
"devDependencies": {
"@backstage/cli": "^0.19.0-next.1",
"@openapitools/openapi-generator-cli": "^2.4.26",
"msw": "^0.45.0",
"msw": "^0.46.0",
"ts-morph": "^15.0.0"
},
"files": [
+1 -1
View File
@@ -53,7 +53,7 @@
"@types/jest": "^26.0.7",
"@types/node": "^16.11.26",
"@types/recharts": "^1.8.15",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"files": [
"dist"
@@ -5,7 +5,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.cjs.js",
@@ -5,7 +5,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.cjs.js",
@@ -34,17 +33,17 @@
},
"dependencies": {
"@backstage/backend-common": "^0.15.1-next.1",
"@backstage/catalog-model": "^1.1.0",
"@backstage/backend-tasks": "^0.3.5-next.0",
"@backstage/catalog-model": "^1.1.0",
"@backstage/config": "^1.0.1",
"@backstage/errors": "^1.1.0",
"@backstage/integration": "^1.3.1-next.0",
"@backstage/plugin-catalog-backend": "^1.4.0-next.1",
"@backstage/types": "^1.0.0",
"lodash": "^4.17.21",
"msw": "^0.45.0",
"uuid": "^8.0.0",
"msw": "^0.46.0",
"node-fetch": "^2.6.7",
"uuid": "^8.0.0",
"winston": "^3.2.1"
},
"devDependencies": {
@@ -5,7 +5,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.cjs.js",
@@ -45,7 +44,7 @@
"@backstage/backend-common": "^0.15.1-next.1",
"@backstage/backend-test-utils": "^0.1.28-next.1",
"@backstage/cli": "^0.19.0-next.1",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"files": [
"dist",
@@ -4,7 +4,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.cjs.js",
@@ -47,7 +46,7 @@
"devDependencies": {
"@backstage/backend-test-utils": "^0.1.28-next.1",
"@backstage/cli": "^0.19.0-next.1",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"files": [
"dist",
@@ -5,7 +5,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.cjs.js",
@@ -42,7 +41,7 @@
"@backstage/plugin-catalog-backend": "^1.4.0-next.1",
"@backstage/types": "^1.0.0",
"lodash": "^4.17.21",
"msw": "^0.45.0",
"msw": "^0.46.0",
"node-fetch": "^2.6.7",
"winston": "^3.2.1"
},
@@ -36,7 +36,7 @@
"@backstage/integration": "^1.3.1-next.0",
"@backstage/plugin-catalog-backend": "^1.4.0-next.1",
"fs-extra": "10.1.0",
"msw": "^0.45.0",
"msw": "^0.46.0",
"node-fetch": "^2.6.7",
"uuid": "^8.0.0",
"winston": "^3.2.1"
@@ -5,7 +5,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.cjs.js",
@@ -35,8 +34,8 @@
},
"dependencies": {
"@backstage/backend-common": "^0.15.1-next.1",
"@backstage/backend-tasks": "^0.3.5-next.0",
"@backstage/backend-plugin-api": "^0.1.2-next.0",
"@backstage/backend-tasks": "^0.3.5-next.0",
"@backstage/catalog-model": "^1.1.0",
"@backstage/config": "^1.0.1",
"@backstage/errors": "^1.1.0",
@@ -46,7 +45,7 @@
"@backstage/types": "^1.0.0",
"@octokit/graphql": "^5.0.0",
"lodash": "^4.17.21",
"msw": "^0.45.0",
"msw": "^0.46.0",
"node-fetch": "^2.6.7",
"uuid": "^8.0.0",
"winston": "^3.2.1"
@@ -5,7 +5,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.cjs.js",
@@ -34,18 +33,18 @@
},
"dependencies": {
"@backstage/backend-common": "^0.15.1-next.1",
"@backstage/catalog-model": "^1.1.0",
"@backstage/backend-tasks": "^0.3.5-next.0",
"@backstage/catalog-model": "^1.1.0",
"@backstage/config": "^1.0.1",
"@backstage/errors": "^1.1.0",
"@backstage/integration": "^1.3.1-next.0",
"@backstage/plugin-catalog-backend": "^1.4.0-next.1",
"@backstage/types": "^1.0.0",
"lodash": "^4.17.21",
"msw": "^0.45.0",
"msw": "^0.46.0",
"node-fetch": "^2.6.7",
"winston": "^3.2.1",
"uuid": "^8.0.0"
"uuid": "^8.0.0",
"winston": "^3.2.1"
},
"devDependencies": {
"@backstage/backend-test-utils": "^0.1.28-next.1",
@@ -5,7 +5,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.cjs.js",
@@ -5,7 +5,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.cjs.js",
@@ -52,7 +51,7 @@
"@backstage/backend-test-utils": "^0.1.28-next.1",
"@backstage/cli": "^0.19.0-next.1",
"@types/lodash": "^4.14.151",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"files": [
"dist",
@@ -5,7 +5,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.cjs.js",
+6 -7
View File
@@ -5,7 +5,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.cjs.js",
@@ -34,15 +33,15 @@
"clean": "backstage-cli package clean"
},
"dependencies": {
"@backstage/backend-plugin-api": "^0.1.2-next.0",
"@backstage/plugin-catalog-node": "^1.0.2-next.0",
"@backstage/backend-common": "^0.15.1-next.1",
"@backstage/backend-plugin-api": "^0.1.2-next.0",
"@backstage/catalog-client": "^1.0.5-next.0",
"@backstage/catalog-model": "^1.1.0",
"@backstage/config": "^1.0.1",
"@backstage/errors": "^1.1.0",
"@backstage/integration": "^1.3.1-next.0",
"@backstage/plugin-catalog-common": "^1.0.6-next.0",
"@backstage/plugin-catalog-node": "^1.0.2-next.0",
"@backstage/plugin-permission-common": "^0.6.4-next.0",
"@backstage/plugin-permission-node": "^0.6.5-next.1",
"@backstage/plugin-scaffolder-common": "^1.2.0-next.0",
@@ -55,7 +54,7 @@
"express-promise-router": "^4.1.0",
"fast-json-stable-stringify": "^2.1.0",
"fs-extra": "10.1.0",
"git-url-parse": "^12.0.0",
"git-url-parse": "^13.0.0",
"glob": "^7.1.6",
"knex": "^2.0.0",
"lodash": "^4.17.21",
@@ -80,10 +79,10 @@
"@types/supertest": "^2.0.8",
"@types/uuid": "^8.0.0",
"better-sqlite3": "^7.5.0",
"msw": "^0.45.0",
"luxon": "^3.0.0",
"msw": "^0.46.0",
"supertest": "^6.1.3",
"wait-for-expect": "^3.0.2",
"luxon": "^3.0.0"
"wait-for-expect": "^3.0.2"
},
"files": [
"dist",
@@ -97,7 +97,10 @@ export class UrlReaderProcessor implements CatalogProcessor {
emit(processingResult.refresh(`${location.type}:${location.target}`));
} catch (error) {
assertError(error);
const message = `Unable to read ${location.type}, ${error}`;
const message = `Unable to read ${location.type}, ${error}`.substring(
0,
5000,
);
if (error.name === 'NotModifiedError' && cacheItem) {
for (const parseResult of cacheItem.value) {
emit(parseResult);
-1
View File
@@ -5,7 +5,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.cjs.js",
-1
View File
@@ -4,7 +4,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.esm.js",
+1 -1
View File
@@ -53,7 +53,7 @@
"@graphql-codegen/typescript": "^2.4.2",
"@graphql-codegen/typescript-resolvers": "^2.4.3",
"@graphql-tools/schema": "^9.0.0",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"files": [
"dist"
+2 -3
View File
@@ -5,7 +5,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.esm.js",
@@ -47,7 +46,7 @@
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "4.0.0-alpha.57",
"@octokit/rest": "^19.0.3",
"git-url-parse": "^12.0.0",
"git-url-parse": "^13.0.0",
"js-base64": "^3.6.0",
"lodash": "^4.17.21",
"react-hook-form": "^7.12.2",
@@ -70,7 +69,7 @@
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"cross-fetch": "^3.1.5",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"files": [
"dist",
+5
View File
@@ -5,10 +5,12 @@
```ts
/// <reference types="node" />
import { CatalogApi } from '@backstage/catalog-client';
import { CompoundEntityRef } from '@backstage/catalog-model';
import { Entity } from '@backstage/catalog-model';
import { ExtensionPoint } from '@backstage/backend-plugin-api';
import { JsonValue } from '@backstage/types';
import { ServiceRef } from '@backstage/backend-plugin-api';
// @alpha (undocumented)
export interface CatalogProcessingExtensionPoint {
@@ -106,6 +108,9 @@ export type CatalogProcessorResult =
| CatalogProcessorErrorResult
| CatalogProcessorRefreshKeysResult;
// @alpha
export const catalogServiceRef: ServiceRef<CatalogApi>;
// @public
export type DeferredEntity = {
entity: Entity;
+2 -1
View File
@@ -5,7 +5,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.cjs.js",
@@ -26,12 +25,14 @@
},
"dependencies": {
"@backstage/backend-plugin-api": "^0.1.2-next.0",
"@backstage/catalog-client": "^1.0.5-next.0",
"@backstage/catalog-model": "^1.1.0",
"@backstage/errors": "1.1.0",
"@backstage/types": "^1.0.0"
},
"devDependencies": {
"@backstage/backend-common": "^0.15.1-next.1",
"@backstage/backend-test-utils": "^0.1.28-next.1",
"@backstage/cli": "^0.19.0-next.1"
},
"files": [
@@ -0,0 +1,59 @@
/*
* Copyright 2022 The Backstage Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { PluginEndpointDiscovery } from '@backstage/backend-common';
import {
createBackendModule,
createServiceFactory,
discoveryServiceRef,
} from '@backstage/backend-plugin-api';
import { startTestBackend } from '@backstage/backend-test-utils';
import { CatalogClient } from '@backstage/catalog-client';
import { catalogServiceRef } from './catalogService';
describe('catalogServiceRef', () => {
it('should return a catalogClient', async () => {
expect.assertions(1);
const mockDiscoveryFactory = createServiceFactory({
service: discoveryServiceRef,
deps: {},
factory: async ({}) => {
return async () => jest.fn() as unknown as PluginEndpointDiscovery;
},
});
const testModule = createBackendModule({
moduleId: 'test.module',
pluginId: 'test',
register(env) {
env.registerInit({
deps: {
catalog: catalogServiceRef,
},
async init({ catalog }) {
expect(catalog).toBeInstanceOf(CatalogClient);
},
});
},
});
await startTestBackend({
services: [mockDiscoveryFactory],
features: [testModule({})],
});
});
});
@@ -0,0 +1,44 @@
/*
* Copyright 2022 The Backstage Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import {
createServiceFactory,
createServiceRef,
discoveryServiceRef,
} from '@backstage/backend-plugin-api';
import { CatalogApi, CatalogClient } from '@backstage/catalog-client';
/**
* The catalogService provides the catalog API.
* @alpha
*/
export const catalogServiceRef = createServiceRef<CatalogApi>({
id: 'catalog-client',
defaultFactory: async service =>
createServiceFactory({
service,
deps: {
discoveryFactory: discoveryServiceRef,
},
factory: async ({ discoveryFactory }) => {
const discoveryApi = await discoveryFactory('root');
const catalogClient = new CatalogClient({ discoveryApi });
return async _pluginId => {
return catalogClient;
};
},
}),
});
+1
View File
@@ -22,5 +22,6 @@
export type { CatalogProcessingExtensionPoint } from './extensions';
export { catalogProcessingExtensionPoint } from './extensions';
export { catalogServiceRef } from './catalogService';
export * from './api';
export * from './processing';
-1
View File
@@ -5,7 +5,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.esm.js",
-1
View File
@@ -5,7 +5,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.esm.js",
@@ -5,7 +5,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.cjs.js",
@@ -29,13 +28,13 @@
"postpack": "backstage-cli package postpack"
},
"dependencies": {
"@backstage/catalog-model": "^1.1.0",
"@backstage/core-plugin-api": "^1.0.6-next.1",
"@backstage/plugin-cicd-statistics": "^0.1.11-next.1",
"@gitbeaker/browser": "^35.6.0",
"@gitbeaker/core": "^35.6.0",
"luxon": "^3.0.0",
"p-limit": "^4.0.0",
"@backstage/core-plugin-api": "^1.0.6-next.1",
"@backstage/catalog-model": "^1.1.0"
"p-limit": "^4.0.0"
},
"devDependencies": {
"@backstage/cli": "^0.19.0-next.1"
+3 -4
View File
@@ -5,7 +5,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.esm.js",
@@ -33,8 +32,8 @@
"start": "backstage-cli package start"
},
"devDependencies": {
"@types/react": "^16.13.1 || ^17.0.0",
"@types/luxon": "^3.0.0"
"@types/luxon": "^3.0.0",
"@types/react": "^16.13.1 || ^17.0.0"
},
"dependencies": {
"@backstage/catalog-model": "^1.1.0",
@@ -45,8 +44,8 @@
"@material-ui/icons": "^4.11.2",
"@material-ui/lab": "4.0.0-alpha.57",
"@material-ui/pickers": "^3.3.10",
"humanize-duration": "^3.27.0",
"already": "^3.2.0",
"humanize-duration": "^3.27.0",
"lodash": "^4.17.21",
"luxon": "^3.0.0",
"react-use": "^17.3.1",
+1 -2
View File
@@ -5,7 +5,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.esm.js",
@@ -66,7 +65,7 @@
"@types/jest": "^26.0.7",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"files": [
"dist"
+1 -1
View File
@@ -62,7 +62,7 @@
"@types/jest": "^26.0.7",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"files": [
"dist"
+1 -1
View File
@@ -51,7 +51,7 @@
"@types/luxon": "^3.0.0",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"files": [
"dist"
+1 -1
View File
@@ -42,7 +42,7 @@
"@backstage/cli": "^0.19.0-next.1",
"@types/express-xml-bodyparser": "^0.3.2",
"@types/supertest": "^2.0.8",
"msw": "^0.45.0",
"msw": "^0.46.0",
"supertest": "^6.1.6",
"xml2js": "^0.4.23"
},
+1 -1
View File
@@ -58,7 +58,7 @@
"@types/node": "^16.11.26",
"@types/recharts": "^1.8.15",
"cross-fetch": "^3.1.5",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"files": [
"dist"
+2 -2
View File
@@ -47,8 +47,8 @@
"@testing-library/user-event": "^14.0.0",
"@types/jest": "*",
"@types/node": "*",
"msw": "^0.45.0",
"cross-fetch": "^3.1.5"
"cross-fetch": "^3.1.5",
"msw": "^0.46.0"
},
"files": [
"dist",
+1 -1
View File
@@ -51,7 +51,7 @@
"@types/jest": "^26.0.7",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"files": [
"dist"
@@ -5,7 +5,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.cjs.js",
@@ -32,7 +31,6 @@
"postpack": "backstage-cli package postpack",
"clean": "backstage-cli package clean"
},
"dependencies": {},
"devDependencies": {
"@backstage/cli": "^0.19.0-next.1"
},
+1 -2
View File
@@ -5,7 +5,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.esm.js",
@@ -76,7 +75,7 @@
"@types/yup": "^0.29.13",
"canvas": "^2.6.1",
"cross-fetch": "^3.1.5",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"files": [
"dist",
+1 -1
View File
@@ -46,7 +46,7 @@
"@types/jest": "*",
"@types/node": "*",
"express": "^4.18.1",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"files": [
"dist",
@@ -28,8 +28,8 @@
"@backstage/errors": "^1.1.0",
"@backstage/plugin-auth-node": "^0.2.5-next.1",
"@types/express": "^4.17.6",
"express-promise-router": "^4.1.0",
"express": "^4.17.1",
"express-promise-router": "^4.1.0",
"uuid": "^8.3.2",
"winston": "^3.2.1",
"yn": "^4.0.0"
@@ -38,7 +38,7 @@
"@backstage/cli": "^0.19.0-next.1",
"@types/supertest": "^2.0.8",
"@types/uuid": "^8.0.0",
"msw": "^0.45.0",
"msw": "^0.46.0",
"supertest": "^6.1.6"
},
"files": [
@@ -31,8 +31,8 @@
"@backstage/dev-utils": "^1.0.6-next.1",
"@backstage/test-utils": "^1.2.0-next.1",
"@types/node": "^16.11.26",
"msw": "^0.45.0",
"cross-fetch": "^3.1.5"
"cross-fetch": "^3.1.5",
"msw": "^0.46.0"
},
"files": [
"dist"
+1 -1
View File
@@ -45,7 +45,7 @@
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/node": "^16.11.26",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"files": [
"dist"
+1 -2
View File
@@ -5,7 +5,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.esm.js",
@@ -45,7 +44,7 @@
"@types/jest": "^26.0.7",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"files": [
"dist"
+1 -2
View File
@@ -5,7 +5,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.esm.js",
@@ -63,7 +62,7 @@
"@types/jest": "^26.0.7",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"files": [
"dist"
+1 -2
View File
@@ -5,7 +5,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.esm.js",
@@ -49,7 +48,7 @@
"@types/jest": "^26.0.7",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"files": [
"dist"
+1 -2
View File
@@ -5,7 +5,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.esm.js",
@@ -62,7 +61,7 @@
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/node": "^16.11.26",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"files": [
"dist",
+1 -1
View File
@@ -55,7 +55,7 @@
"@types/node": "^16.11.26",
"@types/sanitize-html": "^2.6.2",
"cross-fetch": "^3.1.5",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"files": [
"dist"
+1 -1
View File
@@ -57,7 +57,7 @@
"@types/jest": "^26.0.7",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"files": [
"dist"
+1 -1
View File
@@ -55,7 +55,7 @@
"@types/node": "^16.11.26",
"@types/recharts": "^1.8.15",
"cross-fetch": "^3.1.5",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"files": [
"dist"
+1 -2
View File
@@ -5,7 +5,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.esm.js",
@@ -65,7 +64,7 @@
"@types/jest": "^26.0.7",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"files": [
"dist"
+1 -1
View File
@@ -53,7 +53,7 @@
"@types/jest": "^26.0.7",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"files": [
"dist"
+1 -1
View File
@@ -52,7 +52,7 @@
"@types/node": "*",
"@types/react": "^16.13.1 || ^17.0.0",
"cross-fetch": "^3.1.5",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"files": [
"dist"
@@ -59,7 +59,7 @@
"@types/node": "^16.11.26",
"@types/react": "^16.13.1 || ^17.0.0",
"cross-fetch": "^3.1.5",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"peerDependencies": {
"react": "^16.13.1 || ^17.0.0",
+1 -2
View File
@@ -5,7 +5,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.esm.js",
@@ -58,7 +57,7 @@
"@types/jest": "^26.0.7",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"files": [
"dist"
+1 -2
View File
@@ -5,7 +5,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.esm.js",
@@ -61,7 +60,7 @@
"@types/luxon": "^3.0.0",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"files": [
"dist",
+1 -2
View File
@@ -2,7 +2,6 @@
"name": "@backstage/plugin-graphiql",
"description": "Backstage plugin for browsing GraphQL APIs",
"version": "0.2.41-next.1",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.esm.js",
@@ -61,7 +60,7 @@
"@types/jest": "^26.0.7",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"files": [
"dist"
+1 -2
View File
@@ -5,7 +5,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.cjs.js",
@@ -53,7 +52,7 @@
"devDependencies": {
"@backstage/cli": "^0.19.0-next.1",
"@types/supertest": "^2.0.8",
"msw": "^0.45.0",
"msw": "^0.46.0",
"supertest": "^6.1.3"
},
"files": [
+1 -1
View File
@@ -63,7 +63,7 @@
"@types/jest": "^26.0.7",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"files": [
"dist"
+1 -1
View File
@@ -53,7 +53,7 @@
"@types/jest": "^26.0.7",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"files": [
"dist",
+1 -2
View File
@@ -5,7 +5,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.cjs.js",
@@ -45,7 +44,7 @@
"@backstage/cli": "^0.19.0-next.1",
"@types/jenkins": "^0.23.1",
"@types/supertest": "^2.0.8",
"msw": "^0.45.0",
"msw": "^0.46.0",
"supertest": "^6.1.6"
},
"files": [
+1 -2
View File
@@ -5,7 +5,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.esm.js",
@@ -65,7 +64,7 @@
"@types/node": "^16.11.26",
"@types/testing-library__jest-dom": "^5.9.1",
"cross-fetch": "^3.1.5",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"files": [
"dist"
-1
View File
@@ -5,7 +5,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.cjs.js",
+1 -1
View File
@@ -53,7 +53,7 @@
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"jest-when": "^3.1.0",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"files": [
"dist",
-1
View File
@@ -5,7 +5,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.cjs.js",
+1 -1
View File
@@ -68,7 +68,7 @@
"@types/jest": "^26.0.7",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"files": [
"dist"
+1 -2
View File
@@ -5,7 +5,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.esm.js",
@@ -63,7 +62,7 @@
"@types/node": "^16.11.26",
"@types/react": "^16.13.1 || ^17.0.0",
"cross-fetch": "^3.1.5",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"files": [
"dist"
+1 -2
View File
@@ -5,7 +5,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.esm.js",
@@ -57,7 +56,7 @@
"@types/jest": "^26.0.7",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"files": [
"dist"
+1 -1
View File
@@ -59,7 +59,7 @@
"@types/jest": "^26.0.7",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"files": [
"dist"
+1 -1
View File
@@ -63,7 +63,7 @@
"@types/jest": "^26.0.7",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"files": [
"dist"
+2 -3
View File
@@ -4,7 +4,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"homepage": "https://periskop.io",
"backstage": {
"role": "backend-plugin"
@@ -27,8 +26,8 @@
"@backstage/backend-common": "^0.15.1-next.1",
"@backstage/config": "^1.0.1",
"@types/express": "*",
"express-promise-router": "^4.1.0",
"express": "^4.17.1",
"express-promise-router": "^4.1.0",
"node-fetch": "^2.6.7",
"winston": "^3.2.1",
"yn": "^4.0.0"
@@ -36,7 +35,7 @@
"devDependencies": {
"@backstage/cli": "^0.19.0-next.1",
"@types/supertest": "^2.0.8",
"msw": "^0.45.0",
"msw": "^0.46.0",
"supertest": "^6.1.6"
},
"files": [
+1 -2
View File
@@ -4,7 +4,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"homepage": "https://periskop.io",
"backstage": {
"role": "frontend-plugin"
@@ -53,7 +52,7 @@
"@types/luxon": "^3.0.0",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"files": [
"dist",
+2 -2
View File
@@ -42,8 +42,8 @@
"@backstage/cli": "^0.19.0-next.1",
"@types/lodash": "^4.14.151",
"@types/supertest": "^2.0.8",
"supertest": "^6.1.6",
"msw": "^0.45.0"
"msw": "^0.46.0",
"supertest": "^6.1.6"
},
"files": [
"dist"
+1 -1
View File
@@ -50,6 +50,6 @@
"devDependencies": {
"@backstage/cli": "^0.19.0-next.1",
"@types/jest": "^26.0.7",
"msw": "^0.45.0"
"msw": "^0.46.0"
}
}
+1 -1
View File
@@ -47,7 +47,7 @@
"@backstage/backend-test-utils": "^0.1.28-next.1",
"@backstage/cli": "^0.19.0-next.1",
"@types/supertest": "^2.0.8",
"msw": "^0.45.0",
"msw": "^0.46.0",
"supertest": "^6.1.3"
},
"files": [
+1 -1
View File
@@ -51,7 +51,7 @@
"@types/supertest": "^2.0.8",
"@types/uuid": "^8.0.0",
"@types/yup": "^0.29.13",
"msw": "^0.45.0",
"msw": "^0.46.0",
"supertest": "^6.1.3"
},
"files": [
+1 -2
View File
@@ -5,7 +5,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.cjs.js",
@@ -53,7 +52,7 @@
"@backstage/backend-test-utils": "^0.1.28-next.1",
"@backstage/cli": "^0.19.0-next.1",
"@types/supertest": "^2.0.8",
"msw": "^0.45.0",
"msw": "^0.46.0",
"supertest": "^6.1.3"
},
"files": [
+1 -2
View File
@@ -5,7 +5,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.esm.js",
@@ -65,7 +64,7 @@
"@types/node": "^16.11.26",
"@types/react": "^16.13.1 || ^17.0.0",
"cross-fetch": "^3.1.5",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"files": [
"dist",
@@ -24,10 +24,10 @@
},
"dependencies": {
"@backstage/backend-common": "^0.15.1-next.1",
"@backstage/config": "^1.0.1",
"@backstage/errors": "^1.1.0",
"@backstage/integration": "^1.3.1-next.0",
"@backstage/plugin-scaffolder-backend": "^1.6.0-next.1",
"@backstage/config": "^1.0.1",
"@backstage/types": "^1.0.0",
"command-exists": "^1.2.9",
"fs-extra": "10.1.0",
@@ -36,12 +36,12 @@
},
"devDependencies": {
"@backstage/cli": "^0.19.0-next.1",
"@types/fs-extra": "^9.0.1",
"@types/mock-fs": "^4.13.0",
"@types/jest": "^26.0.7",
"@types/command-exists": "^1.2.0",
"@types/fs-extra": "^9.0.1",
"@types/jest": "^26.0.7",
"@types/mock-fs": "^4.13.0",
"mock-fs": "^5.1.0",
"msw": "^0.45.0"
"msw": "^0.46.0"
},
"files": [
"dist"
@@ -5,7 +5,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.cjs.js",
@@ -25,21 +24,21 @@
},
"dependencies": {
"@backstage/backend-common": "^0.15.1-next.1",
"@backstage/plugin-scaffolder-backend": "^1.6.0-next.1",
"@backstage/config": "^1.0.1",
"@backstage/errors": "^1.1.0",
"@backstage/integration": "^1.3.1-next.0",
"@backstage/plugin-scaffolder-backend": "^1.6.0-next.1",
"@backstage/types": "^1.0.0",
"command-exists": "^1.2.9",
"fs-extra": "^10.0.1"
},
"devDependencies": {
"@backstage/cli": "^0.19.0-next.1",
"@types/jest": "^26.0.7",
"@types/node": "^16.11.26",
"@types/command-exists": "^1.2.0",
"@types/fs-extra": "^9.0.1",
"@types/jest": "^26.0.7",
"@types/mock-fs": "^4.13.0",
"@types/node": "^16.11.26",
"jest-when": "^3.1.0",
"mock-fs": "^5.1.0"
},
@@ -4,7 +4,6 @@
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.cjs.js",
+13
View File
@@ -572,6 +572,19 @@ export class ScaffolderEntitiesProcessor implements CatalogProcessor {
validateEntityKind(entity: Entity): Promise<boolean>;
}
// @alpha
export const scaffolderPlugin: (
options: ScaffolderPluginOptions,
) => BackendFeature;
// @alpha
export type ScaffolderPluginOptions = {
actions?: TemplateAction<any>[];
taskWorkers?: number;
taskBroker?: TaskBroker;
additionalTemplateFilters?: Record<string, TemplateFilter>;
};
// @public
export type SerializedTask = {
id: string;

Some files were not shown because too many files have changed in this diff Show More