-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(wrapper): add wrapper for marketplace frontend, backend and cat…
…alog-backend-module plugins (#2156) * add wrapper for marketplace frontend, backend and catalog-backend-module plugins * fix indendation on json files
- Loading branch information
1 parent
c5df86e
commit 27012ad
Showing
24 changed files
with
451 additions
and
382 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...t-developer-hub-backstage-plugin-catalog-backend-module-marketplace-dynamic/.eslintignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
dist-dynamic | ||
dist-scalprum |
1 change: 1 addition & 0 deletions
1
...at-developer-hub-backstage-plugin-catalog-backend-module-marketplace-dynamic/.eslintrc.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = require("@backstage/cli/config/eslint-factory")(__dirname); |
63 changes: 63 additions & 0 deletions
63
...at-developer-hub-backstage-plugin-catalog-backend-module-marketplace-dynamic/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
{ | ||
"name": "red-hat-developer-hub-backstage-plugin-catalog-backend-module-marketplace", | ||
"version": "0.0.2", | ||
"main": "src/index.ts", | ||
"types": "src/index.ts", | ||
"license": "Apache-2.0", | ||
"publishConfig": { | ||
"access": "public", | ||
"main": "dist/index.cjs.js", | ||
"types": "dist/index.d.ts" | ||
}, | ||
"backstage": { | ||
"role": "backend-plugin-module", | ||
"supported-versions": "1.32.6", | ||
"pluginId": "catalog", | ||
"pluginPackage": "@backstage/plugin-catalog-backend" | ||
}, | ||
"sideEffects": false, | ||
"scripts": { | ||
"tsc": "tsc", | ||
"build": "backstage-cli package build", | ||
"lint:check": "backstage-cli package lint", | ||
"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 @red-hat-developer-hub/backstage-plugin-catalog-backend-module-marketplace", | ||
"export-dynamic:clean": "run export-dynamic --clean" | ||
}, | ||
"dependencies": { | ||
"@red-hat-developer-hub/backstage-plugin-catalog-backend-module-marketplace": "0.0.2" | ||
}, | ||
"devDependencies": { | ||
"@backstage/cli": "0.28.2", | ||
"@janus-idp/cli": "1.18.5", | ||
"typescript": "5.7.3" | ||
}, | ||
"files": [ | ||
"app-config.dynamic.yaml", | ||
"dist", | ||
"dist-scalprum" | ||
], | ||
"scalprum": { | ||
"name": "red-hat-developer-hub.backstage-plugin-catalog-backend-module-marketplace-dynamic", | ||
"exposedModules": { | ||
"PluginRoot": "./src/index.ts" | ||
} | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/janus-idp/backstage-showcase", | ||
"directory": "dynamic-plugins/wrappers/red-hat-developer-hub-backstage-plugin-catalog-backend-module-marketplace-dynamic" | ||
}, | ||
"maintainers": [ | ||
"@janus-idp/maintainers-showcase" | ||
], | ||
"author": "Red Hat", | ||
"homepage": "https://red.ht/rhdh", | ||
"bugs": "https://issues.redhat.com/browse/RHIDP", | ||
"keywords": [ | ||
"support:tech-preview", | ||
"lifecycle:active" | ||
] | ||
} |
1 change: 1 addition & 0 deletions
1
...at-developer-hub-backstage-plugin-catalog-backend-module-marketplace-dynamic/src/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { default } from "@red-hat-developer-hub/backstage-plugin-catalog-backend-module-marketplace"; |
9 changes: 9 additions & 0 deletions
9
...t-developer-hub-backstage-plugin-catalog-backend-module-marketplace-dynamic/tsconfig.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"extends": "@backstage/cli/config/tsconfig.json", | ||
"include": ["src", "dev", "migrations"], | ||
"exclude": ["node_modules"], | ||
"compilerOptions": { | ||
"outDir": "../../../dist-types/dynamic-plugins/wrappers/red-hat-developer-hub-backstage-plugin-catalog-backend-module-marketplace-dynamic", | ||
"rootDir": "." | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
...-hat-developer-hub-backstage-plugin-catalog-backend-module-marketplace-dynamic/turbo.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"extends": ["//"], | ||
"tasks": { | ||
"tsc": { | ||
"outputs": [ | ||
"../../../dist-types/dynamic-plugins/wrappers/red-hat-developer-hub-backstage-plugin-catalog-backend-module-marketplace-dynamic/**" | ||
] | ||
} | ||
} | ||
} |
2 changes: 2 additions & 0 deletions
2
...wrappers/red-hat-developer-hub-backstage-plugin-marketplace-backend-dynamic/.eslintignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
dist-dynamic | ||
dist-scalprum |
1 change: 1 addition & 0 deletions
1
.../wrappers/red-hat-developer-hub-backstage-plugin-marketplace-backend-dynamic/.eslintrc.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = require("@backstage/cli/config/eslint-factory")(__dirname); |
69 changes: 69 additions & 0 deletions
69
.../wrappers/red-hat-developer-hub-backstage-plugin-marketplace-backend-dynamic/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
{ | ||
"name": "red-hat-developer-hub-backstage-plugin-marketplace-backend", | ||
"version": "0.0.2", | ||
"main": "src/index.ts", | ||
"types": "src/index.ts", | ||
"license": "Apache-2.0", | ||
"private": true, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"backstage": { | ||
"role": "backend-plugin", | ||
"supported-versions": "1.32.6", | ||
"pluginId": "red-hat-developer-hub-backstage-plugin-marketplace-backend", | ||
"pluginPackages": [ | ||
"red-hat-developer-hub-backstage-plugin-marketplace", | ||
"red-hat-developer-hub-backstage-plugin-marketplace-backend" | ||
] | ||
}, | ||
"exports": { | ||
".": "./src/index.ts", | ||
"./package.json": "./package.json" | ||
}, | ||
"typesVersions": { | ||
"*": { | ||
"package.json": [ | ||
"package.json" | ||
] | ||
} | ||
}, | ||
"scripts": { | ||
"tsc": "tsc", | ||
"build": "backstage-cli package build", | ||
"lint:check": "backstage-cli package lint", | ||
"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 @red-hat-developer-hub/backstage-plugin-marketplace-backend", | ||
"export-dynamic:clean": "run export-dynamic --clean" | ||
}, | ||
"dependencies": { | ||
"@red-hat-developer-hub/backstage-plugin-marketplace-backend": "0.0.2" | ||
}, | ||
"devDependencies": { | ||
"@backstage/cli": "0.28.2", | ||
"@janus-idp/cli": "1.18.5", | ||
"typescript": "5.7.3" | ||
}, | ||
"files": [ | ||
"dist", | ||
"dist-dynamic/*.*", | ||
"dist-dynamic/dist/**" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/janus-idp/backstage-showcase", | ||
"directory": "dynamic-plugins/wrappers/red-hat-developer-hub-backstage-plugin-marketplace-backend-dynamic" | ||
}, | ||
"maintainers": [ | ||
"@janus-idp/maintainers-showcase" | ||
], | ||
"author": "Red Hat", | ||
"homepage": "https://red.ht/rhdh", | ||
"bugs": "https://issues.redhat.com/browse/RHIDP", | ||
"keywords": [ | ||
"support:tech-preview", | ||
"lifecycle:active" | ||
] | ||
} |
1 change: 1 addition & 0 deletions
1
.../wrappers/red-hat-developer-hub-backstage-plugin-marketplace-backend-dynamic/src/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { default } from "@red-hat-developer-hub/backstage-plugin-marketplace-backend"; |
9 changes: 9 additions & 0 deletions
9
...wrappers/red-hat-developer-hub-backstage-plugin-marketplace-backend-dynamic/tsconfig.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"extends": "@backstage/cli/config/tsconfig.json", | ||
"include": ["src", "dev", "migrations"], | ||
"exclude": ["node_modules"], | ||
"compilerOptions": { | ||
"outDir": "../../../dist-types/dynamic-plugins/wrappers/red-hat-developer-hub-backstage-plugin-marketplace-backend-dynamic", | ||
"rootDir": "." | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
...ns/wrappers/red-hat-developer-hub-backstage-plugin-marketplace-backend-dynamic/turbo.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"extends": ["//"], | ||
"tasks": { | ||
"tsc": { | ||
"outputs": [ | ||
"../../../dist-types/dynamic-plugins/wrappers/red-hat-developer-hub-backstage-plugin-marketplace-backend-dynamic/**" | ||
] | ||
} | ||
} | ||
} |
2 changes: 2 additions & 0 deletions
2
dynamic-plugins/wrappers/red-hat-developer-hub-backstage-plugin-marketplace/.eslintignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
dist-dynamic | ||
dist-scalprum |
1 change: 1 addition & 0 deletions
1
dynamic-plugins/wrappers/red-hat-developer-hub-backstage-plugin-marketplace/.eslintrc.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = require("@backstage/cli/config/eslint-factory")(__dirname); |
65 changes: 65 additions & 0 deletions
65
dynamic-plugins/wrappers/red-hat-developer-hub-backstage-plugin-marketplace/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
{ | ||
"name": "red-hat-developer-hub-backstage-plugin-marketplace", | ||
"version": "0.0.2", | ||
"main": "src/index.ts", | ||
"types": "src/index.ts", | ||
"license": "Apache-2.0", | ||
"publishConfig": { | ||
"access": "public", | ||
"main": "dist/index.cjs.js", | ||
"types": "dist/index.d.ts" | ||
}, | ||
"backstage": { | ||
"role": "frontend-plugin", | ||
"supported-versions": "1.32.6", | ||
"pluginId": "red-hat-developer-hub-backstage-plugin-marketplace", | ||
"pluginPackages": [ | ||
"@red-hat-developer-hub/backstage-plugin-marketplace", | ||
"@red-hat-developer-hub/backstage-plugin-marketplace-backend" | ||
] | ||
}, | ||
"sideEffects": false, | ||
"scripts": { | ||
"tsc": "tsc", | ||
"build": "backstage-cli package build", | ||
"lint:check": "backstage-cli package lint", | ||
"test": "backstage-cli package test --passWithNoTests --coverage", | ||
"clean": "backstage-cli package clean", | ||
"export-dynamic": "janus-cli package export-dynamic-plugin --in-place", | ||
"export-dynamic:clean": "run export-dynamic --clean" | ||
}, | ||
"dependencies": { | ||
"@red-hat-developer-hub/backstage-plugin-marketplace": "0.0.2" | ||
}, | ||
"devDependencies": { | ||
"@backstage/cli": "0.28.2", | ||
"@janus-idp/cli": "1.18.5", | ||
"typescript": "5.7.3" | ||
}, | ||
"files": [ | ||
"app-config.dynamic.yaml", | ||
"dist", | ||
"dist-scalprum" | ||
], | ||
"scalprum": { | ||
"name": "red-hat-developer-hub.backstage-plugin-marketplace", | ||
"exposedModules": { | ||
"PluginRoot": "./src/index.ts" | ||
} | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/janus-idp/backstage-showcase", | ||
"directory": "dynamic-plugins/wrappers/red-hat-developer-hub-backstage-plugin-marketplace" | ||
}, | ||
"maintainers": [ | ||
"@janus-idp/maintainers-showcase" | ||
], | ||
"author": "Red Hat", | ||
"homepage": "https://red.ht/rhdh", | ||
"bugs": "https://issues.redhat.com/browse/RHIDP", | ||
"keywords": [ | ||
"support:tech-preview", | ||
"lifecycle:active" | ||
] | ||
} |
1 change: 1 addition & 0 deletions
1
dynamic-plugins/wrappers/red-hat-developer-hub-backstage-plugin-marketplace/src/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from "@red-hat-developer-hub/backstage-plugin-marketplace"; |
9 changes: 9 additions & 0 deletions
9
dynamic-plugins/wrappers/red-hat-developer-hub-backstage-plugin-marketplace/tsconfig.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"extends": "@backstage/cli/config/tsconfig.json", | ||
"include": ["src", "dev", "migrations"], | ||
"exclude": ["node_modules"], | ||
"compilerOptions": { | ||
"outDir": "../../../dist-types/dynamic-plugins/wrappers/red-hat-developer-hub-backstage-plugin-marketplace", | ||
"rootDir": "." | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
dynamic-plugins/wrappers/red-hat-developer-hub-backstage-plugin-marketplace/turbo.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"extends": ["//"], | ||
"tasks": { | ||
"tsc": { | ||
"outputs": [ | ||
"../../../dist-types/dynamic-plugins/wrappers/red-hat-developer-hub-backstage-plugin-marketplace/**" | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.