diff --git a/.github/actions/build/action.yaml b/.github/actions/build/action.yaml index ca5269114f..e02feccdec 100644 --- a/.github/actions/build/action.yaml +++ b/.github/actions/build/action.yaml @@ -22,4 +22,4 @@ runs: - name: Build all packages shell: bash - run: yarn build --filter=${{ inputs.args }} + run: yarn build --filter=${{ inputs.args }} --concurrency=1 diff --git a/plugins/acr/package.json b/plugins/acr/package.json index 96a4148d43..05d637528b 100644 --- a/plugins/acr/package.json +++ b/plugins/acr/package.json @@ -15,6 +15,7 @@ "scripts": { "start": "backstage-cli package start", "build": "backstage-cli package build", + "export-dynamic": "janus-cli package export-dynamic-plugin", "tsc": "tsc", "lint": "backstage-cli package lint", "test": "backstage-cli package test --passWithNoTests --coverage", @@ -42,6 +43,7 @@ "@backstage/core-app-api": "1.11.0", "@backstage/dev-utils": "1.0.22", "@backstage/test-utils": "1.4.4", + "@janus-idp/cli": "1.3.1", "@testing-library/jest-dom": "5.17.0", "@testing-library/react": "12.1.5", "@testing-library/react-hooks": "8.0.1", @@ -51,7 +53,8 @@ "msw": "1.3.2" }, "files": [ - "dist" + "dist", + "dist-scalprum" ], "repository": "github:janus-idp/backstage-plugins", "keywords": [ @@ -59,5 +62,11 @@ "plugin" ], "homepage": "https://janus-idp.io/", - "bugs": "https://github.com/janus-idp/backstage-plugins/issues" + "bugs": "https://github.com/janus-idp/backstage-plugins/issues", + "scalprum": { + "name": "janus-idp.backstage-plugin-acr", + "exposedModules": { + "AcrPlugin": "./src/index.ts" + } + } } diff --git a/plugins/jfrog-artifactory/package.json b/plugins/jfrog-artifactory/package.json index b9b4ac652f..119d489f4f 100644 --- a/plugins/jfrog-artifactory/package.json +++ b/plugins/jfrog-artifactory/package.json @@ -15,6 +15,7 @@ "scripts": { "start": "backstage-cli package start", "build": "backstage-cli package build", + "export-dynamic": "janus-cli package export-dynamic-plugin", "tsc": "tsc", "lint": "backstage-cli package lint", "test": "backstage-cli package test --passWithNoTests --coverage", @@ -42,6 +43,7 @@ "@backstage/core-app-api": "1.11.0", "@backstage/dev-utils": "1.0.22", "@backstage/test-utils": "1.4.4", + "@janus-idp/cli": "1.3.1", "@testing-library/jest-dom": "5.17.0", "@testing-library/react": "12.1.5", "@testing-library/user-event": "14.5.1", @@ -53,6 +55,7 @@ }, "files": [ "dist", + "dist-scalprum", "config.d.ts" ], "configSchema": "config.d.ts", @@ -62,5 +65,11 @@ "plugin" ], "homepage": "https://janus-idp.io/", - "bugs": "https://github.com/janus-idp/backstage-plugins/issues" + "bugs": "https://github.com/janus-idp/backstage-plugins/issues", + "scalprum": { + "name": "janus-idp.backstage-plugin-jfrog-artifactory", + "exposedModules": { + "JfrogArtifactoryPlugin": "./src/index.ts" + } + } } diff --git a/plugins/kiali/package.json b/plugins/kiali/package.json index 711664ec31..0c0babfc78 100644 --- a/plugins/kiali/package.json +++ b/plugins/kiali/package.json @@ -15,6 +15,7 @@ "scripts": { "start": "backstage-cli package start", "build": "backstage-cli package build", + "export-dynamic": "janus-cli package export-dynamic-plugin", "tsc": "tsc", "lint": "backstage-cli package lint", "test": "backstage-cli package test --passWithNoTests --coverage", @@ -46,6 +47,7 @@ "@backstage/core-app-api": "1.11.0", "@backstage/dev-utils": "1.0.22", "@backstage/test-utils": "1.4.4", + "@janus-idp/cli": "1.3.1", "@testing-library/jest-dom": "5.17.0", "@testing-library/react": "12.1.5", "@testing-library/user-event": "14.5.1", @@ -54,6 +56,20 @@ "msw": "1.3.2" }, "files": [ - "dist" - ] + "dist", + "dist-scalprum" + ], + "repository": "github:janus-idp/backstage-plugins", + "keywords": [ + "backstage", + "plugin" + ], + "homepage": "https://janus-idp.io/", + "bugs": "https://github.com/janus-idp/backstage-plugins/issues", + "scalprum": { + "name": "janus-idp.backstage-plugin-kiali", + "exposedModules": { + "KialiPlugin": "./src/index.ts" + } + } } diff --git a/plugins/matomo/package.json b/plugins/matomo/package.json index 33181a7c56..69e47bcddc 100644 --- a/plugins/matomo/package.json +++ b/plugins/matomo/package.json @@ -16,6 +16,7 @@ "scripts": { "start": "backstage-cli package start", "build": "backstage-cli package build", + "export-dynamic": "janus-cli package export-dynamic-plugin", "tsc": "tsc", "lint": "backstage-cli package lint", "test": "backstage-cli package test", @@ -45,6 +46,7 @@ "@backstage/core-app-api": "1.11.0", "@backstage/dev-utils": "1.0.22", "@backstage/test-utils": "1.4.4", + "@janus-idp/cli": "1.3.1", "@testing-library/jest-dom": "5.17.0", "@testing-library/react": "12.1.5", "@testing-library/user-event": "14.5.1", @@ -54,6 +56,7 @@ }, "files": [ "dist", + "dist-scalprum", "config.d.ts" ], "repository": "github:janus-idp/backstage-plugins", @@ -62,5 +65,11 @@ "plugin" ], "homepage": "https://janus-idp.io/", - "bugs": "https://github.com/janus-idp/backstage-plugins/issues" + "bugs": "https://github.com/janus-idp/backstage-plugins/issues", + "scalprum": { + "name": "janus-idp.backstage-plugin-matomo", + "exposedModules": { + "MatomoPlugin": "./src/index.ts" + } + } } diff --git a/plugins/nexus-repository-manager/package.json b/plugins/nexus-repository-manager/package.json index f158e089d8..658b81a9d3 100644 --- a/plugins/nexus-repository-manager/package.json +++ b/plugins/nexus-repository-manager/package.json @@ -16,6 +16,7 @@ "start": "backstage-cli package start", "generate": "openapi --input ./nexus-swagger.json --output ./src/generated --useUnionTypes --useOptions", "build": "backstage-cli package build", + "export-dynamic": "janus-cli package export-dynamic-plugin", "tsc": "tsc", "lint": "backstage-cli package lint", "test": "backstage-cli package test --passWithNoTests --coverage", @@ -44,6 +45,7 @@ "@backstage/core-app-api": "1.11.0", "@backstage/dev-utils": "1.0.22", "@backstage/test-utils": "1.4.4", + "@janus-idp/cli": "1.3.1", "@testing-library/jest-dom": "5.17.0", "@testing-library/react": "12.1.5", "@testing-library/react-hooks": "8.0.1", @@ -57,6 +59,7 @@ }, "files": [ "dist", + "dist-scalprum", "config.d.ts" ], "configSchema": "config.d.ts", @@ -66,5 +69,11 @@ "plugin" ], "homepage": "https://janus-idp.io/", - "bugs": "https://github.com/janus-idp/backstage-plugins/issues" + "bugs": "https://github.com/janus-idp/backstage-plugins/issues", + "scalprum": { + "name": "janus-idp.backstage-plugin-nexus-repository-manager", + "exposedModules": { + "NexusRepositoryManagerPlugin": "./src/index.ts" + } + } } diff --git a/plugins/nexus-repository-manager/turbo.json b/plugins/nexus-repository-manager/turbo.json index a9b48674ee..294ff79816 100644 --- a/plugins/nexus-repository-manager/turbo.json +++ b/plugins/nexus-repository-manager/turbo.json @@ -10,6 +10,9 @@ }, "generate": { "outputs": ["src/generated/**"] + }, + "test": { + "dependsOn": ["generate"] } } } diff --git a/plugins/openshift-image-registry/package.json b/plugins/openshift-image-registry/package.json index 37ef9234b0..d7a873a809 100644 --- a/plugins/openshift-image-registry/package.json +++ b/plugins/openshift-image-registry/package.json @@ -15,6 +15,7 @@ "scripts": { "start": "backstage-cli package start", "build": "backstage-cli package build", + "export-dynamic": "janus-cli package export-dynamic-plugin", "tsc": "tsc", "lint": "backstage-cli package lint", "test": "backstage-cli package test --passWithNoTests --coverage", @@ -40,6 +41,7 @@ "@backstage/core-app-api": "1.11.0", "@backstage/dev-utils": "1.0.22", "@backstage/test-utils": "1.4.4", + "@janus-idp/cli": "1.3.1", "@testing-library/jest-dom": "5.17.0", "@testing-library/react": "12.1.5", "@testing-library/user-event": "14.5.1", @@ -51,7 +53,14 @@ }, "files": [ "dist", + "dist-scalprum", "config.d.ts" ], - "configSchema": "config.d.ts" + "configSchema": "config.d.ts", + "scalprum": { + "name": "janus-idp.backstage-plugin-openshift-image-registry", + "exposedModules": { + "OpenshiftImageRegistryPlugin": "./src/index.ts" + } + } } diff --git a/plugins/rbac/package.json b/plugins/rbac/package.json index d5324a34a4..fa401c5d48 100644 --- a/plugins/rbac/package.json +++ b/plugins/rbac/package.json @@ -15,6 +15,7 @@ "scripts": { "start": "backstage-cli package start", "build": "backstage-cli package build", + "export-dynamic": "janus-cli package export-dynamic-plugin", "tsc": "tsc", "lint": "backstage-cli package lint", "test": "backstage-cli package test --passWithNoTests --coverage", @@ -39,6 +40,7 @@ "@backstage/core-app-api": "1.11.0", "@backstage/dev-utils": "1.0.22", "@backstage/test-utils": "1.4.4", + "@janus-idp/cli": "1.3.1", "@testing-library/jest-dom": "5.17.0", "@testing-library/react": "12.1.5", "@testing-library/user-event": "14.5.1", @@ -46,7 +48,8 @@ "msw": "1.3.2" }, "files": [ - "dist" + "dist", + "dist-scalprum" ], "repository": "github:janus-idp/backstage-plugins", "keywords": [ @@ -54,5 +57,11 @@ "plugin" ], "homepage": "https://janus-idp.io/", - "bugs": "https://github.com/janus-idp/backstage-plugins/issues" + "bugs": "https://github.com/janus-idp/backstage-plugins/issues", + "scalprum": { + "name": "janus-idp.backstage-plugin-rbac", + "exposedModules": { + "RbacPlugin": "./src/index.ts" + } + } } diff --git a/plugins/servicenow-actions/turbo.json b/plugins/servicenow-actions/turbo.json index 3e89de5cf8..e7eb4cfec6 100644 --- a/plugins/servicenow-actions/turbo.json +++ b/plugins/servicenow-actions/turbo.json @@ -10,6 +10,9 @@ }, "generate": { "outputs": ["src/generated/**"] + }, + "test": { + "dependsOn": ["generate"] } } } diff --git a/plugins/tekton/package.json b/plugins/tekton/package.json index 0742dcf86f..4d9525573b 100644 --- a/plugins/tekton/package.json +++ b/plugins/tekton/package.json @@ -15,6 +15,7 @@ "scripts": { "start": "backstage-cli package start", "build": "backstage-cli package build", + "export-dynamic": "janus-cli package export-dynamic-plugin", "tsc": "tsc", "lint": "backstage-cli package lint", "test": "backstage-cli package test --passWithNoTests --coverage", @@ -55,6 +56,7 @@ "@backstage/core-app-api": "1.11.0", "@backstage/dev-utils": "1.0.22", "@backstage/test-utils": "1.4.4", + "@janus-idp/cli": "1.3.1", "@testing-library/jest-dom": "5.17.0", "@testing-library/react": "12.1.5", "@testing-library/react-hooks": "8.0.1", @@ -67,7 +69,8 @@ "react-router-dom": "6.17.0" }, "files": [ - "dist" + "dist", + "dist-scalprum" ], "repository": "github:janus-idp/backstage-plugins", "keywords": [ @@ -75,5 +78,11 @@ "plugin" ], "homepage": "https://janus-idp.io/", - "bugs": "https://github.com/janus-idp/backstage-plugins/issues" + "bugs": "https://github.com/janus-idp/backstage-plugins/issues", + "scalprum": { + "name": "janus-idp.backstage-plugin-tekton", + "exposedModules": { + "TektonPlugin": "./src/index.ts" + } + } } diff --git a/plugins/topology/package.json b/plugins/topology/package.json index 0c29825394..5f145e28dc 100644 --- a/plugins/topology/package.json +++ b/plugins/topology/package.json @@ -15,6 +15,7 @@ "scripts": { "start": "backstage-cli package start", "build": "backstage-cli package build", + "export-dynamic": "janus-cli package export-dynamic-plugin", "tsc": "tsc", "lint": "backstage-cli package lint", "test": "backstage-cli package test --passWithNoTests --coverage", @@ -58,6 +59,7 @@ "@backstage/core-app-api": "1.11.0", "@backstage/dev-utils": "1.0.22", "@backstage/test-utils": "1.4.4", + "@janus-idp/cli": "1.3.1", "@testing-library/jest-dom": "5.17.0", "@testing-library/react": "12.1.5", "@testing-library/react-hooks": "8.0.1", @@ -72,7 +74,8 @@ "react-router-dom": "6.17.0" }, "files": [ - "dist" + "dist", + "dist-scalprum" ], "repository": "github:janus-idp/backstage-plugins", "keywords": [ @@ -80,5 +83,11 @@ "plugin" ], "homepage": "https://janus-idp.io/", - "bugs": "https://github.com/janus-idp/backstage-plugins/issues" + "bugs": "https://github.com/janus-idp/backstage-plugins/issues", + "scalprum": { + "name": "janus-idp.backstage-plugin-topology", + "exposedModules": { + "TopologyPlugin": "./src/index.ts" + } + } } diff --git a/plugins/web-terminal/package.json b/plugins/web-terminal/package.json index bf631c893c..6ade470b4f 100644 --- a/plugins/web-terminal/package.json +++ b/plugins/web-terminal/package.json @@ -15,6 +15,7 @@ "scripts": { "start": "backstage-cli package start", "build": "backstage-cli package build", + "export-dynamic": "janus-cli package export-dynamic-plugin", "tsc": "tsc", "lint": "backstage-cli package lint", "test": "backstage-cli package test --passWithNoTests --coverage", @@ -45,6 +46,7 @@ "@backstage/core-app-api": "1.11.0", "@backstage/dev-utils": "1.0.22", "@backstage/test-utils": "1.4.4", + "@janus-idp/cli": "1.3.1", "@testing-library/jest-dom": "5.17.0", "@testing-library/react": "12.1.5", "@testing-library/user-event": "14.5.1", @@ -55,11 +57,18 @@ }, "files": [ "dist", + "dist-scalprum", "schema.d.ts" ], "jest": { "setupFiles": [ "jest-canvas-mock" ] + }, + "scalprum": { + "name": "janus-idp.backstage-plugin-web-terminal", + "exposedModules": { + "WebTerminalPlugin": "./src/index.ts" + } } } diff --git a/turbo.json b/turbo.json index d76e238987..f7afef7bd0 100644 --- a/turbo.json +++ b/turbo.json @@ -13,8 +13,7 @@ "cache": false }, "test": { - "outputs": ["coverage/**"], - "dependsOn": ["build"] + "outputs": ["coverage/**"] }, "export-dynamic": { "cache": false