Skip to content

Commit

Permalink
chore: add wrapper for scaffolder-backend-module-sonarqube (#1898)
Browse files Browse the repository at this point in the history
Signed-off-by: Kashish Mittal <[email protected]>
  • Loading branch information
04kash authored Nov 6, 2024
1 parent 8530e77 commit c0b3d50
Show file tree
Hide file tree
Showing 11 changed files with 52 additions and 50 deletions.
2 changes: 1 addition & 1 deletion dynamic-plugins.default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ plugins:
# The password to use for authentication.
password: ${SERVICENOW_PASSWORD}

- package: ./dynamic-plugins/dist/janus-idp-backstage-scaffolder-backend-module-sonarqube-dynamic
- package: ./dynamic-plugins/dist/backstage-community-scaffolder-backend-module-sonarqube-dynamic
disabled: true

- package: ./dynamic-plugins/dist/janus-idp-backstage-plugin-aap-backend-dynamic
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "janus-idp-backstage-scaffolder-backend-module-sonarqube-dynamic",
"version": "2.2.0",
"name": "backstage-community-scaffolder-backend-module-sonarqube-dynamic",
"version": "2.2.2",
"main": "./dist/index.cjs.js",
"types": "src/index.ts",
"license": "Apache-2.0",
Expand All @@ -10,7 +10,7 @@
},
"backstage": {
"role": "backend-plugin-module",
"supported-versions": "1.32.4",
"supported-versions": "1.32.5",
"pluginId": "scaffolder",
"pluginPackage": "@backstage/plugin-scaffolder-backend"
},
Expand All @@ -30,7 +30,7 @@
"repository": {
"type": "git",
"url": "https://github.com/janus-idp/backstage-showcase",
"directory": "dynamic-plugins/wrappers/janus-idp-backstage-scaffolder-backend-module-sonarqube-dynamic"
"directory": "dynamic-plugins/wrappers/backstage-community-scaffolder-backend-module-sonarqube-dynamic"
},
"maintainers": [
"@janus-idp/maintainers-showcase"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ __metadata:
version: 6
cacheKey: 8

"janus-idp-backstage-scaffolder-backend-module-sonarqube-dynamic@workspace:.":
"backstage-community-scaffolder-backend-module-sonarqube-dynamic@workspace:.":
version: 0.0.0-use.local
resolution: "janus-idp-backstage-scaffolder-backend-module-sonarqube-dynamic@workspace:."
resolution: "backstage-community-scaffolder-backend-module-sonarqube-dynamic@workspace:."
dependencies:
yaml: ^2.3.3
peerDependencies:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "janus-idp-backstage-scaffolder-backend-module-sonarqube",
"version": "2.2.0",
"name": "backstage-community-scaffolder-backend-module-sonarqube",
"version": "2.2.2",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
Expand All @@ -10,7 +10,7 @@
},
"backstage": {
"role": "backend-plugin-module",
"supported-versions": "1.32.4",
"supported-versions": "1.32.5",
"pluginId": "scaffolder",
"pluginPackage": "@backstage/plugin-scaffolder-backend"
},
Expand All @@ -32,15 +32,16 @@
"test": "backstage-cli package test --passWithNoTests --coverage",
"clean": "backstage-cli package clean",
"clean-dynamic-sources": "yarn clean && rm -Rf node_modules",
"export-dynamic": "janus-cli package export-dynamic-plugin --embed-package @janus-idp/backstage-scaffolder-backend-module-sonarqube --override-interop default --no-embed-as-dependencies",
"export-dynamic:clean": "janus-cli package export-dynamic-plugin --embed-package @janus-idp/backstage-scaffolder-backend-module-sonarqube --override-interop default --no-embed-as-dependencies --clean"
"export-dynamic": "janus-cli package export-dynamic-plugin --embed-package @backstage-community/plugin-scaffolder-backend-module-sonarqube --override-interop default --no-embed-as-dependencies",
"export-dynamic:clean": "janus-cli package export-dynamic-plugin --embed-package @backstage-community/plugin-scaffolder-backend-module-sonarqube --override-interop default --no-embed-as-dependencies --clean"
},
"dependencies": {
"@janus-idp/backstage-scaffolder-backend-module-sonarqube": "2.2.0"
"@backstage-community/plugin-scaffolder-backend-module-sonarqube": "2.2.2"
},
"devDependencies": {
"@backstage/cli": "0.28.2",
"@janus-idp/cli": "1.17.0"
"@janus-idp/cli": "1.17.0",
"typescript": "^5.6.3"
},
"files": [
"dist",
Expand All @@ -50,7 +51,7 @@
"repository": {
"type": "git",
"url": "https://github.com/janus-idp/backstage-showcase",
"directory": "dynamic-plugins/wrappers/janus-idp-backstage-scaffolder-backend-module-sonarqube-dynamic"
"directory": "dynamic-plugins/wrappers/backstage-community-scaffolder-backend-module-sonarqube-dynamic"
},
"maintainers": [
"@janus-idp/maintainers-showcase"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '@backstage-community/plugin-scaffolder-backend-module-sonarqube';
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"include": ["src", "dev", "migrations"],
"exclude": ["node_modules"],
"compilerOptions": {
"outDir": "../../../dist-types/dynamic-plugins/wrappers/janus-idp-backstage-scaffolder-backend-module-sonarqube-dynamic",
"outDir": "../../../dist-types/dynamic-plugins/wrappers/backstage-community-scaffolder-backend-module-sonarqube-dynamic",
"rootDir": "."
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"extends": ["//"],
"tasks": {
"tsc": {
"outputs": [
"../../../dist-types/dynamic-plugins/wrappers/backstage-community-scaffolder-backend-module-sonarqube-dynamic/**"
]
}
}
}

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ export const InternalPluginsMap: Record<string, string> = {
'./dynamic-plugins/dist/janus-idp-backstage-plugin-rbac',
'backstage-community-plugin-scaffolder-backend-module-servicenow-dynamic':
'./dynamic-plugins/dist/backstage-community-plugin-scaffolder-backend-module-servicenow-dynamic',
'janus-idp-backstage-scaffolder-backend-module-sonarqube-dynamic':
'/dynamic-plugins/dist/janus-idp-backstage-scaffolder-backend-module-sonarqube-dynamic',
'backstage-community-scaffolder-backend-module-sonarqube-dynamic':
'/dynamic-plugins/dist/backstage-community-scaffolder-backend-module-sonarqube-dynamic',
'janus-idp-backstage-plugin-aap-backend-dynamic':
'./dynamic-plugins/dist/janus-idp-backstage-plugin-aap-backend-dynamic',
'backstage-community-plugin-3scale-backend-dynamic':
Expand Down
43 changes: 22 additions & 21 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3195,6 +3195,17 @@ __metadata:
languageName: node
linkType: hard

"@backstage-community/plugin-scaffolder-backend-module-sonarqube@npm:2.2.2":
version: 2.2.2
resolution: "@backstage-community/plugin-scaffolder-backend-module-sonarqube@npm:2.2.2"
dependencies:
"@backstage/backend-plugin-api": ^1.0.1
"@backstage/plugin-scaffolder-node": ^0.5.0
yaml: ^2.3.3
checksum: a5a0574ccfdd660c2d6ee16ebf114aae0cfa0f6bba22007e2bcd6567112737d50cecebeb8d71c2c207cb5441f051d2c2341901b0e32b1099687d7ced4b4d3b82
languageName: node
linkType: hard

"@backstage-community/plugin-sonarqube-backend@npm:0.2.25":
version: 0.2.25
resolution: "@backstage-community/plugin-sonarqube-backend@npm:0.2.25"
Expand Down Expand Up @@ -9989,17 +10000,6 @@ __metadata:
languageName: node
linkType: hard

"@janus-idp/backstage-scaffolder-backend-module-sonarqube@npm:2.2.0":
version: 2.2.0
resolution: "@janus-idp/backstage-scaffolder-backend-module-sonarqube@npm:2.2.0"
dependencies:
"@backstage/backend-plugin-api": ^1.0.1
"@backstage/plugin-scaffolder-node": ^0.5.0
yaml: ^2.3.3
checksum: 4e1bb39c17507827291ee1052e7bdadcad1ad1476f000faef148c0441c11ee818a0a08f9d5cfbce25896f1875be6fbfe6bad7f924fd4af124220ef0c155e1abb
languageName: node
linkType: hard

"@janus-idp/cli@npm:1.17.0":
version: 1.17.0
resolution: "@janus-idp/cli@npm:1.17.0"
Expand Down Expand Up @@ -20367,6 +20367,17 @@ __metadata:
languageName: unknown
linkType: soft

"backstage-community-scaffolder-backend-module-sonarqube@workspace:dynamic-plugins/wrappers/backstage-community-scaffolder-backend-module-sonarqube-dynamic":
version: 0.0.0-use.local
resolution: "backstage-community-scaffolder-backend-module-sonarqube@workspace:dynamic-plugins/wrappers/backstage-community-scaffolder-backend-module-sonarqube-dynamic"
dependencies:
"@backstage-community/plugin-scaffolder-backend-module-sonarqube": 2.2.2
"@backstage/cli": 0.28.2
"@janus-idp/cli": 1.17.0
typescript: ^5.6.3
languageName: unknown
linkType: soft

"backstage-plugin-catalog-backend-module-bitbucket-cloud@workspace:dynamic-plugins/wrappers/backstage-plugin-catalog-backend-module-bitbucket-cloud-dynamic":
version: 0.0.0-use.local
resolution: "backstage-plugin-catalog-backend-module-bitbucket-cloud@workspace:dynamic-plugins/wrappers/backstage-plugin-catalog-backend-module-bitbucket-cloud-dynamic"
Expand Down Expand Up @@ -29473,16 +29484,6 @@ __metadata:
languageName: unknown
linkType: soft

"janus-idp-backstage-scaffolder-backend-module-sonarqube@workspace:dynamic-plugins/wrappers/janus-idp-backstage-scaffolder-backend-module-sonarqube-dynamic":
version: 0.0.0-use.local
resolution: "janus-idp-backstage-scaffolder-backend-module-sonarqube@workspace:dynamic-plugins/wrappers/janus-idp-backstage-scaffolder-backend-module-sonarqube-dynamic"
dependencies:
"@backstage/cli": 0.28.2
"@janus-idp/backstage-scaffolder-backend-module-sonarqube": 2.2.0
"@janus-idp/cli": 1.17.0
languageName: unknown
linkType: soft

"javascript-natural-sort@npm:^0.7.1":
version: 0.7.1
resolution: "javascript-natural-sort@npm:0.7.1"
Expand Down

0 comments on commit c0b3d50

Please sign in to comment.