Skip to content

Commit

Permalink
chore: adding options to keep legacy behavior in export-dynamic script (
Browse files Browse the repository at this point in the history
janus-idp#1729)

* RHIDP-2110: RHIDP-2123: adding options to optimize export-dynamic

* Updating bulk import janus-cli version
  • Loading branch information
jesuino authored May 29, 2024
1 parent 257c291 commit 6de0125
Show file tree
Hide file tree
Showing 37 changed files with 39 additions and 114 deletions.
2 changes: 1 addition & 1 deletion plugins/3scale-backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"scripts": {
"build": "backstage-cli package build",
"clean": "backstage-cli package clean",
"export-dynamic": "janus-cli package export-dynamic-plugin",
"export-dynamic": "janus-cli package export-dynamic-plugin --no-embed-as-dependencies",
"lint": "backstage-cli package lint",
"postpack": "backstage-cli package postpack",
"postversion": "yarn run export-dynamic",
Expand Down
2 changes: 1 addition & 1 deletion plugins/aap-backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"scripts": {
"build": "backstage-cli package build",
"clean": "backstage-cli package clean",
"export-dynamic": "janus-cli package export-dynamic-plugin",
"export-dynamic": "janus-cli package export-dynamic-plugin --no-embed-as-dependencies",
"lint": "backstage-cli package lint",
"postpack": "backstage-cli package postpack",
"postversion": "yarn run export-dynamic",
Expand Down
2 changes: 1 addition & 1 deletion plugins/acr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"scripts": {
"build": "backstage-cli package build",
"clean": "backstage-cli package clean",
"export-dynamic": "janus-cli package export-dynamic-plugin",
"export-dynamic": "janus-cli package export-dynamic-plugin --in-place",
"lint": "backstage-cli package lint",
"postpack": "backstage-cli package postpack",
"postversion": "yarn run export-dynamic",
Expand Down
2 changes: 1 addition & 1 deletion plugins/analytics-module-matomo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"scripts": {
"start": "backstage-cli package start",
"build": "backstage-cli package build",
"export-dynamic": "janus-cli package export-dynamic-plugin",
"export-dynamic": "janus-cli package export-dynamic-plugin --in-place",
"tsc": "tsc",
"lint": "backstage-cli package lint",
"test": "backstage-cli package test --passWithNoTests --coverage",
Expand Down
2 changes: 1 addition & 1 deletion plugins/analytics-provider-segment/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"scripts": {
"start": "backstage-cli package start",
"build": "backstage-cli package build",
"export-dynamic": "janus-cli package export-dynamic-plugin",
"export-dynamic": "janus-cli package export-dynamic-plugin --in-place",
"tsc": "tsc",
"lint": "backstage-cli package lint",
"test": "backstage-cli package test --passWithNoTests --coverage",
Expand Down
2 changes: 1 addition & 1 deletion plugins/argocd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"scripts": {
"build": "backstage-cli package build",
"clean": "backstage-cli package clean",
"export-dynamic": "janus-cli package export-dynamic-plugin",
"export-dynamic": "janus-cli package export-dynamic-plugin --in-place",
"lint": "backstage-cli package lint",
"postpack": "backstage-cli package postpack",
"postversion": "yarn run export-dynamic",
Expand Down
4 changes: 2 additions & 2 deletions plugins/bulk-import/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"scripts": {
"build": "backstage-cli package build",
"clean": "backstage-cli package clean",
"export-dynamic": "janus-cli package export-dynamic-plugin",
"export-dynamic": "janus-cli package export-dynamic-plugin --in-place",
"lint": "backstage-cli package lint",
"postpack": "backstage-cli package postpack",
"postversion": "yarn run export-dynamic",
Expand Down Expand Up @@ -48,7 +48,7 @@
"@backstage/core-app-api": "1.12.4",
"@backstage/dev-utils": "1.0.31",
"@backstage/test-utils": "1.5.4",
"@janus-idp/cli": "1.7.10",
"@janus-idp/cli": "1.8.7",
"@playwright/test": "1.41.2",
"@redhat-developer/red-hat-developer-hub-theme": "0.0.40",
"@testing-library/jest-dom": "6.4.5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"scripts": {
"build": "backstage-cli package build",
"clean": "backstage-cli package clean",
"export-dynamic": "janus-cli package export-dynamic-plugin",
"export-dynamic": "janus-cli package export-dynamic-plugin --no-embed-as-dependencies",
"lint": "backstage-cli package lint",
"postpack": "backstage-cli package postpack",
"postversion": "yarn run export-dynamic",
Expand Down
2 changes: 1 addition & 1 deletion plugins/dynamic-plugins-info/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"scripts": {
"build": "backstage-cli package build",
"clean": "backstage-cli package clean",
"export-dynamic": "janus-cli package export-dynamic-plugin",
"export-dynamic": "janus-cli package export-dynamic-plugin --in-place",
"lint": "backstage-cli package lint",
"postpack": "backstage-cli package postpack",
"postversion": "yarn run export-dynamic",
Expand Down
2 changes: 1 addition & 1 deletion plugins/feedback-backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"prepack": "backstage-cli package prepack",
"postpack": "backstage-cli package postpack",
"tsc": "tsc",
"export-dynamic": "janus-cli package export-dynamic-plugin"
"export-dynamic": "janus-cli package export-dynamic-plugin --no-embed-as-dependencies"
},
"dependencies": {
"@backstage/backend-common": "^0.21.7",
Expand Down
2 changes: 1 addition & 1 deletion plugins/feedback/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"prepack": "backstage-cli package prepack",
"postpack": "backstage-cli package postpack",
"tsc": "tsc",
"export-dynamic": "janus-cli package export-dynamic-plugin"
"export-dynamic": "janus-cli package export-dynamic-plugin --in-place"
},
"dependencies": {
"@backstage/catalog-model": "^1.4.5",
Expand Down
2 changes: 1 addition & 1 deletion plugins/jfrog-artifactory/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"scripts": {
"build": "backstage-cli package build",
"clean": "backstage-cli package clean",
"export-dynamic": "janus-cli package export-dynamic-plugin",
"export-dynamic": "janus-cli package export-dynamic-plugin --in-place",
"lint": "backstage-cli package lint",
"postpack": "backstage-cli package postpack",
"postversion": "yarn run export-dynamic",
Expand Down
2 changes: 1 addition & 1 deletion plugins/keycloak-backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"scripts": {
"build": "backstage-cli package build",
"clean": "backstage-cli package clean",
"export-dynamic": "janus-cli package export-dynamic-plugin --embed-package @keycloak/keycloak-admin-client",
"export-dynamic": "janus-cli package export-dynamic-plugin --embed-package @keycloak/keycloak-admin-client --no-embed-as-dependencies",
"lint": "backstage-cli package lint",
"postpack": "backstage-cli package postpack",
"postversion": "yarn run export-dynamic",
Expand Down
2 changes: 1 addition & 1 deletion plugins/kiali-backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"clean": "backstage-cli package clean",
"prepack": "backstage-cli package prepack",
"postpack": "backstage-cli package postpack",
"export-dynamic": "janus-cli package export-dynamic-plugin"
"export-dynamic": "janus-cli package export-dynamic-plugin --no-embed-as-dependencies"
},
"configSchema": "config.d.ts",
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion plugins/kiali/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"scripts": {
"build": "backstage-cli package build",
"clean": "backstage-cli package clean",
"export-dynamic": "janus-cli package export-dynamic-plugin",
"export-dynamic": "janus-cli package export-dynamic-plugin --in-place",
"lint": "backstage-cli package lint",
"postpack": "backstage-cli package postpack",
"postversion": "yarn run export-dynamic",
Expand Down
2 changes: 1 addition & 1 deletion plugins/kubernetes-actions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"clean": "backstage-cli package clean",
"prepack": "backstage-cli package prepack",
"postpack": "backstage-cli package postpack",
"export-dynamic": "janus-cli package export-dynamic-plugin"
"export-dynamic": "janus-cli package export-dynamic-plugin --no-embed-as-dependencies"
},
"dependencies": {
"@backstage/backend-dynamic-feature-service": "^0.2.9",
Expand Down
2 changes: 1 addition & 1 deletion plugins/matomo-backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"scripts": {
"build": "backstage-cli package build",
"clean": "backstage-cli package clean",
"export-dynamic": "janus-cli package export-dynamic-plugin",
"export-dynamic": "janus-cli package export-dynamic-plugin --no-embed-as-dependencies",
"lint": "backstage-cli package lint",
"postpack": "backstage-cli package postpack",
"postversion": "yarn run export-dynamic",
Expand Down
2 changes: 1 addition & 1 deletion plugins/matomo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"scripts": {
"build": "backstage-cli package build",
"clean": "backstage-cli package clean",
"export-dynamic": "janus-cli package export-dynamic-plugin",
"export-dynamic": "janus-cli package export-dynamic-plugin --in-place",
"lint": "backstage-cli package lint",
"postpack": "backstage-cli package postpack",
"postversion": "yarn run export-dynamic",
Expand Down
2 changes: 1 addition & 1 deletion plugins/nexus-repository-manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"scripts": {
"build": "backstage-cli package build",
"clean": "backstage-cli package clean",
"export-dynamic": "janus-cli package export-dynamic-plugin",
"export-dynamic": "janus-cli package export-dynamic-plugin --in-place",
"generate": "openapi-ts --input ./nexus-swagger.json --output ./src/generated",
"lint": "backstage-cli package lint",
"postpack": "backstage-cli package postpack",
Expand Down
2 changes: 1 addition & 1 deletion plugins/notifications-backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"postversion": "yarn run export-dynamic",
"tsc": "tsc",
"openapi": "./scripts/openapi.sh",
"export-dynamic": "janus-cli package export-dynamic-plugin"
"export-dynamic": "janus-cli package export-dynamic-plugin --no-embed-as-dependencies"
},
"configSchema": "config.d.ts",
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions plugins/notifications/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
"scripts": {
"start": "backstage-cli package start",
"build": "backstage-cli package build",
"export-dynamic": "janus-cli package export-dynamic-plugin",
"export-dynamic": "janus-cli package export-dynamic-plugin --in-place",
"lint": "backstage-cli package lint",
"test": "backstage-cli package test --passWithNoTests --coverage",
"clean": "backstage-cli package clean",
"prepack": "backstage-cli package prepack",
"postpack": "backstage-cli package postpack",
"tsc": "tsc",
"openapi:generate": "openapi-generator-cli generate -i ../notifications-backend/src/openapi.yaml --enable-post-process-file -g typescript-fetch -o ./src/openapi && find ./src/openapi -name '*.ts' -exec sed -i '1i // @ts-nocheck' {} \\;"
"openapi:generate": "openapi-generator-cli generate -i ../notifications-backend/src/openapi.yaml --enable-post-process-file -g typescript-fetch -o ./src/openapi && find ./src/openapi -name '*.ts' -exec sed -i '1i // @ts-nocheck' {} \\;"
},
"dependencies": {
"@backstage/core-components": "^0.14.6",
Expand Down
2 changes: 1 addition & 1 deletion plugins/ocm-backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"scripts": {
"build": "backstage-cli package build",
"clean": "backstage-cli package clean",
"export-dynamic": "janus-cli package export-dynamic-plugin --embed-package --embed-package @backstage/plugin-kubernetes-common",
"export-dynamic": "janus-cli package export-dynamic-plugin --embed-package --embed-package @backstage/plugin-kubernetes-common --no-embed-as-dependencies",
"lint": "backstage-cli package lint",
"postpack": "backstage-cli package postpack",
"postversion": "yarn run export-dynamic",
Expand Down
2 changes: 1 addition & 1 deletion plugins/ocm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"scripts": {
"build": "backstage-cli package build",
"clean": "backstage-cli package clean",
"export-dynamic": "janus-cli package export-dynamic-plugin",
"export-dynamic": "janus-cli package export-dynamic-plugin --in-place",
"lint": "backstage-cli package lint",
"postpack": "backstage-cli package postpack",
"postversion": "yarn run export-dynamic",
Expand Down
2 changes: 1 addition & 1 deletion plugins/openshift-image-registry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"scripts": {
"build": "backstage-cli package build",
"clean": "backstage-cli package clean",
"export-dynamic": "janus-cli package export-dynamic-plugin",
"export-dynamic": "janus-cli package export-dynamic-plugin --in-place",
"lint": "backstage-cli package lint",
"postpack": "backstage-cli package postpack",
"postversion": "yarn run export-dynamic",
Expand Down
2 changes: 1 addition & 1 deletion plugins/orchestrator-backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"prepack": "backstage-cli package prepack",
"postpack": "backstage-cli package postpack",
"postversion": "yarn run export-dynamic",
"export-dynamic": "janus-cli package export-dynamic-plugin"
"export-dynamic": "janus-cli package export-dynamic-plugin --no-embed-as-dependencies"
},
"dependencies": {
"@backstage/backend-app-api": "^0.7.2",
Expand Down
2 changes: 1 addition & 1 deletion plugins/orchestrator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"scripts": {
"start": "backstage-cli package start",
"build": "backstage-cli package build",
"export-dynamic": "janus-cli package export-dynamic-plugin",
"export-dynamic": "janus-cli package export-dynamic-plugin --in-place",
"tsc": "tsc",
"lint": "backstage-cli package lint",
"test": "backstage-cli package test --passWithNoTests --coverage",
Expand Down
2 changes: 1 addition & 1 deletion plugins/quay-actions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"scripts": {
"build": "backstage-cli package build",
"clean": "backstage-cli package clean",
"export-dynamic": "janus-cli package export-dynamic-plugin",
"export-dynamic": "janus-cli package export-dynamic-plugin --no-embed-as-dependencies",
"lint": "backstage-cli package lint",
"postpack": "backstage-cli package postpack",
"postversion": "yarn run export-dynamic",
Expand Down
2 changes: 1 addition & 1 deletion plugins/quay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"scripts": {
"build": "backstage-cli package build",
"clean": "backstage-cli package clean",
"export-dynamic": "janus-cli package export-dynamic-plugin",
"export-dynamic": "janus-cli package export-dynamic-plugin --in-place",
"lint": "backstage-cli package lint",
"postpack": "backstage-cli package postpack",
"postversion": "yarn run export-dynamic",
Expand Down
4 changes: 2 additions & 2 deletions plugins/rbac/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
"scripts": {
"build": "backstage-cli package build",
"clean": "backstage-cli package clean",
"export-dynamic": "janus-cli package export-dynamic-plugin",
"export-dynamic": "janus-cli package export-dynamic-plugin --in-place",
"lint": "backstage-cli package lint",
"postpack": "backstage-cli package postpack",
"postversion": "yarn run export-dynamic",
"prepack": "backstage-cli package prepack",
"start": "backstage-cli package start",
"test": "backstage-cli package test --passWithNoTests --coverage",
"test": "backstage-cli package test --passWithNoTests --coverage",
"tsc": "tsc",
"ui-test": "yarn playwright test"
},
Expand Down
2 changes: 1 addition & 1 deletion plugins/regex-actions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"scripts": {
"build": "backstage-cli package build",
"clean": "backstage-cli package clean",
"export-dynamic": "janus-cli package export-dynamic-plugin",
"export-dynamic": "janus-cli package export-dynamic-plugin --no-embed-as-dependencies",
"lint": "backstage-cli package lint",
"postpack": "backstage-cli package postpack",
"postversion": "yarn run export-dynamic",
Expand Down
2 changes: 1 addition & 1 deletion plugins/scaffolder-annotator-action/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"clean": "backstage-cli package clean",
"prepack": "backstage-cli package prepack",
"postpack": "backstage-cli package postpack",
"export-dynamic": "janus-cli package export-dynamic-plugin",
"export-dynamic": "janus-cli package export-dynamic-plugin --no-embed-as-dependencies",
"lodash": "^4.17.21",
"tsc": "tsc"
},
Expand Down
2 changes: 1 addition & 1 deletion plugins/servicenow-actions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"scripts": {
"build": "backstage-cli package build",
"clean": "backstage-cli package clean",
"export-dynamic": "janus-cli package export-dynamic-plugin",
"export-dynamic": "janus-cli package export-dynamic-plugin --no-embed-as-dependencies",
"generate": "bash ./scripts/generate.sh",
"lint": "backstage-cli package lint",
"postpack": "backstage-cli package postpack",
Expand Down
2 changes: 1 addition & 1 deletion plugins/sonarqube-actions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"scripts": {
"build": "backstage-cli package build",
"clean": "backstage-cli package clean",
"export-dynamic": "janus-cli package export-dynamic-plugin",
"export-dynamic": "janus-cli package export-dynamic-plugin --no-embed-as-dependencies",
"lint": "backstage-cli package lint",
"postpack": "backstage-cli package postpack",
"postversion": "yarn run export-dynamic",
Expand Down
2 changes: 1 addition & 1 deletion plugins/tekton/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"scripts": {
"build": "backstage-cli package build",
"clean": "backstage-cli package clean",
"export-dynamic": "janus-cli package export-dynamic-plugin",
"export-dynamic": "janus-cli package export-dynamic-plugin --in-place",
"lint": "backstage-cli package lint",
"postpack": "backstage-cli package postpack",
"postversion": "yarn run export-dynamic",
Expand Down
2 changes: 1 addition & 1 deletion plugins/topology/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"scripts": {
"build": "backstage-cli package build",
"clean": "backstage-cli package clean",
"export-dynamic": "janus-cli package export-dynamic-plugin",
"export-dynamic": "janus-cli package export-dynamic-plugin --in-place",
"lint": "backstage-cli package lint",
"postpack": "backstage-cli package postpack",
"postversion": "yarn run export-dynamic",
Expand Down
2 changes: 1 addition & 1 deletion plugins/web-terminal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"scripts": {
"build": "backstage-cli package build",
"clean": "backstage-cli package clean",
"export-dynamic": "janus-cli package export-dynamic-plugin",
"export-dynamic": "janus-cli package export-dynamic-plugin --in-place",
"lint": "backstage-cli package lint",
"postpack": "backstage-cli package postpack",
"postversion": "yarn run export-dynamic",
Expand Down
Loading

0 comments on commit 6de0125

Please sign in to comment.