From d573a77097fcf16a718969349e637297a4e71d5c Mon Sep 17 00:00:00 2001 From: Paul Schultz Date: Fri, 18 Oct 2024 09:15:46 -0500 Subject: [PATCH] chore(script): add export-dynamic:clean script Signed-off-by: Paul Schultz --- package.json | 2 +- plugins/3scale-backend/package.json | 1 + plugins/aap-backend/package.json | 1 + plugins/acr/package.json | 1 + plugins/analytics-module-matomo/package.json | 1 + plugins/analytics-provider-segment/package.json | 1 + plugins/argocd/package.json | 1 + plugins/bulk-import-backend/package.json | 1 + plugins/bulk-import/package.json | 1 + .../package.json | 1 + plugins/dynamic-plugins-info/package.json | 1 + plugins/feedback-backend/package.json | 1 + plugins/feedback/package.json | 1 + plugins/jfrog-artifactory/package.json | 1 + plugins/keycloak-backend/package.json | 1 + plugins/kiali-backend/package.json | 3 ++- plugins/kiali/package.json | 1 + plugins/kubernetes-actions/package.json | 3 ++- plugins/lightspeed/package.json | 1 + plugins/matomo-backend/package.json | 1 + plugins/matomo/package.json | 1 + plugins/nexus-repository-manager/package.json | 1 + plugins/ocm-backend/package.json | 1 + plugins/ocm/package.json | 1 + plugins/openshift-image-registry/package.json | 1 + plugins/orchestrator-backend/package.json | 3 ++- plugins/orchestrator/package.json | 1 + plugins/quay-actions/package.json | 1 + plugins/quay/package.json | 1 + plugins/rbac-backend-module-test/package.json | 1 + plugins/rbac/package.json | 1 + plugins/regex-actions/package.json | 1 + plugins/scaffolder-annotator-action/package.json | 1 + plugins/servicenow-actions/package.json | 1 + plugins/sonarqube-actions/package.json | 1 + plugins/tekton/package.json | 1 + plugins/topology/package.json | 1 + plugins/web-terminal/package.json | 1 + turbo.json | 4 ++++ 39 files changed, 45 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index b2e1d031db..d6c7b7fa77 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "new": "janus-cli new --do-not-edit-packages", "prepare": "husky install", "export-dynamic": "turbo run export-dynamic", - "export-dynamic:clean": "turbo run export-dynamic -- -- --clean", + "export-dynamic:clean": "turbo run export-dynamic:clean", "versions:bump": "backstage-cli versions:bump && find . -name 'package.json' ! -path '*/node_modules/*' -exec sed -i -e '/devDependencies/,/\\\\}/{ s/\\\"\\\\^/\\\"/; }' {} ; && yarn install && turbo run export-dynamic:clean", "packages:version": "changeset version && yarn install && turbo run export-dynamic:clean --concurrency=75% --affected && git add .\\*package.json .\\*yarn.lock", "packages:publish": "turbo run build --concurrency=75% --filter=@janus-idp/* && changeset publish" diff --git a/plugins/3scale-backend/package.json b/plugins/3scale-backend/package.json index e7df71098b..e1d1c24ab9 100644 --- a/plugins/3scale-backend/package.json +++ b/plugins/3scale-backend/package.json @@ -33,6 +33,7 @@ "build": "backstage-cli package build", "clean": "backstage-cli package clean", "export-dynamic": "janus-cli package export-dynamic-plugin --no-embed-as-dependencies", + "export-dynamic:clean": "janus-cli package export-dynamic-plugin --no-embed-as-dependencies --clean", "lint:check": "backstage-cli package lint", "lint:fix": "backstage-cli package lint --fix", "postpack": "backstage-cli package postpack", diff --git a/plugins/aap-backend/package.json b/plugins/aap-backend/package.json index c5cf708e02..78a84dcac7 100644 --- a/plugins/aap-backend/package.json +++ b/plugins/aap-backend/package.json @@ -32,6 +32,7 @@ "build": "backstage-cli package build", "clean": "backstage-cli package clean", "export-dynamic": "janus-cli package export-dynamic-plugin --no-embed-as-dependencies", + "export-dynamic:clean": "janus-cli package export-dynamic-plugin --no-embed-as-dependencies --clean", "lint:check": "backstage-cli package lint", "lint:fix": "backstage-cli package lint --fix", "postpack": "backstage-cli package postpack", diff --git a/plugins/acr/package.json b/plugins/acr/package.json index eeca161afb..588daaab7f 100644 --- a/plugins/acr/package.json +++ b/plugins/acr/package.json @@ -23,6 +23,7 @@ "build": "backstage-cli package build", "clean": "backstage-cli package clean", "export-dynamic": "janus-cli package export-dynamic-plugin --in-place", + "export-dynamic:clean": "janus-cli package export-dynamic-plugin --in-place --clean", "lint:check": "backstage-cli package lint", "lint:fix": "backstage-cli package lint --fix", "postpack": "backstage-cli package postpack", diff --git a/plugins/analytics-module-matomo/package.json b/plugins/analytics-module-matomo/package.json index a7557b3646..615ab4a2eb 100644 --- a/plugins/analytics-module-matomo/package.json +++ b/plugins/analytics-module-matomo/package.json @@ -23,6 +23,7 @@ "start": "backstage-cli package start", "build": "backstage-cli package build", "export-dynamic": "janus-cli package export-dynamic-plugin --in-place", + "export-dynamic:clean": "janus-cli package export-dynamic-plugin --in-place --clean", "tsc": "tsc", "prettier:check": "prettier --ignore-unknown --check .", "prettier:fix": "prettier --ignore-unknown --write .", diff --git a/plugins/analytics-provider-segment/package.json b/plugins/analytics-provider-segment/package.json index 1a188e0f51..55a302e704 100644 --- a/plugins/analytics-provider-segment/package.json +++ b/plugins/analytics-provider-segment/package.json @@ -23,6 +23,7 @@ "start": "backstage-cli package start", "build": "backstage-cli package build", "export-dynamic": "janus-cli package export-dynamic-plugin --in-place", + "export-dynamic:clean": "janus-cli package export-dynamic-plugin --in-place --clean", "tsc": "tsc", "prettier:check": "prettier --ignore-unknown --check .", "prettier:fix": "prettier --ignore-unknown --write .", diff --git a/plugins/argocd/package.json b/plugins/argocd/package.json index b887d12130..3cf2bf1044 100644 --- a/plugins/argocd/package.json +++ b/plugins/argocd/package.json @@ -25,6 +25,7 @@ "build": "backstage-cli package build", "clean": "backstage-cli package clean", "export-dynamic": "janus-cli package export-dynamic-plugin --in-place", + "export-dynamic:clean": "janus-cli package export-dynamic-plugin --in-place --clean", "lint:check": "backstage-cli package lint", "lint:fix": "backstage-cli package lint --fix", "postpack": "backstage-cli package postpack", diff --git a/plugins/bulk-import-backend/package.json b/plugins/bulk-import-backend/package.json index ad77a02dbf..8e8a1fbb4f 100644 --- a/plugins/bulk-import-backend/package.json +++ b/plugins/bulk-import-backend/package.json @@ -36,6 +36,7 @@ "build": "backstage-cli package build", "clean": "backstage-cli package clean", "export-dynamic": "janus-cli package export-dynamic-plugin --no-embed-as-dependencies", + "export-dynamic:clean": "janus-cli package export-dynamic-plugin --no-embed-as-dependencies --clean", "lint:check": "backstage-cli package lint", "lint:fix": "backstage-cli package lint --fix", "postpack": "backstage-cli package postpack", diff --git a/plugins/bulk-import/package.json b/plugins/bulk-import/package.json index cb19756835..e94df30ddd 100644 --- a/plugins/bulk-import/package.json +++ b/plugins/bulk-import/package.json @@ -24,6 +24,7 @@ "build": "backstage-cli package build", "clean": "backstage-cli package clean", "export-dynamic": "janus-cli package export-dynamic-plugin --in-place", + "export-dynamic:clean": "janus-cli package export-dynamic-plugin --in-place --clean", "lint:check": "backstage-cli package lint", "lint:fix": "backstage-cli package lint --fix", "postpack": "backstage-cli package postpack", diff --git a/plugins/catalog-backend-module-scaffolder-relation-processor/package.json b/plugins/catalog-backend-module-scaffolder-relation-processor/package.json index e77f079703..65ab6e54f0 100644 --- a/plugins/catalog-backend-module-scaffolder-relation-processor/package.json +++ b/plugins/catalog-backend-module-scaffolder-relation-processor/package.json @@ -33,6 +33,7 @@ "build": "backstage-cli package build", "clean": "backstage-cli package clean", "export-dynamic": "janus-cli package export-dynamic-plugin --no-embed-as-dependencies", + "export-dynamic:clean": "janus-cli package export-dynamic-plugin --no-embed-as-dependencies --clean", "lint:check": "backstage-cli package lint", "lint:fix": "backstage-cli package lint --fix", "postpack": "backstage-cli package postpack", diff --git a/plugins/dynamic-plugins-info/package.json b/plugins/dynamic-plugins-info/package.json index 49b19abaf0..18716f37e7 100644 --- a/plugins/dynamic-plugins-info/package.json +++ b/plugins/dynamic-plugins-info/package.json @@ -23,6 +23,7 @@ "build": "backstage-cli package build", "clean": "backstage-cli package clean", "export-dynamic": "janus-cli package export-dynamic-plugin --in-place", + "export-dynamic:clean": "janus-cli package export-dynamic-plugin --in-place --clean", "lint:check": "backstage-cli package lint", "lint:fix": "backstage-cli package lint --fix", "postpack": "backstage-cli package postpack", diff --git a/plugins/feedback-backend/package.json b/plugins/feedback-backend/package.json index 5fd73008b5..dc53fa9443 100644 --- a/plugins/feedback-backend/package.json +++ b/plugins/feedback-backend/package.json @@ -44,6 +44,7 @@ "postversion": "yarn run export-dynamic", "tsc": "tsc", "export-dynamic": "janus-cli package export-dynamic-plugin --no-embed-as-dependencies", + "export-dynamic:clean": "janus-cli package export-dynamic-plugin --no-embed-as-dependencies --clean", "prettier:check": "prettier --ignore-unknown --check .", "prettier:fix": "prettier --ignore-unknown --write ." }, diff --git a/plugins/feedback/package.json b/plugins/feedback/package.json index 03cb23a3c0..3ac145cb19 100644 --- a/plugins/feedback/package.json +++ b/plugins/feedback/package.json @@ -31,6 +31,7 @@ "postpack": "backstage-cli package postpack", "tsc": "tsc", "export-dynamic": "janus-cli package export-dynamic-plugin --in-place", + "export-dynamic:clean": "janus-cli package export-dynamic-plugin --in-place --clean", "prettier:check": "prettier --ignore-unknown --check .", "prettier:fix": "prettier --ignore-unknown --write ." }, diff --git a/plugins/jfrog-artifactory/package.json b/plugins/jfrog-artifactory/package.json index 6541a7f7af..411e88b03d 100644 --- a/plugins/jfrog-artifactory/package.json +++ b/plugins/jfrog-artifactory/package.json @@ -23,6 +23,7 @@ "build": "backstage-cli package build", "clean": "backstage-cli package clean", "export-dynamic": "janus-cli package export-dynamic-plugin --in-place", + "export-dynamic:clean": "janus-cli package export-dynamic-plugin --in-place --clean", "lint:check": "backstage-cli package lint", "lint:fix": "backstage-cli package lint --fix", "postpack": "backstage-cli package postpack", diff --git a/plugins/keycloak-backend/package.json b/plugins/keycloak-backend/package.json index 7039192005..83223db82c 100644 --- a/plugins/keycloak-backend/package.json +++ b/plugins/keycloak-backend/package.json @@ -33,6 +33,7 @@ "build": "backstage-cli package build", "clean": "backstage-cli package clean", "export-dynamic": "janus-cli package export-dynamic-plugin --embed-package @keycloak/keycloak-admin-client --no-embed-as-dependencies", + "export-dynamic:clean": "janus-cli package export-dynamic-plugin --embed-package @keycloak/keycloak-admin-client --no-embed-as-dependencies --clean", "lint:check": "backstage-cli package lint", "lint:fix": "backstage-cli package lint --fix", "postpack": "backstage-cli package postpack", diff --git a/plugins/kiali-backend/package.json b/plugins/kiali-backend/package.json index 3b4ef78812..f3a5456e6f 100644 --- a/plugins/kiali-backend/package.json +++ b/plugins/kiali-backend/package.json @@ -44,7 +44,8 @@ "prepack": "backstage-cli package prepack", "postpack": "backstage-cli package postpack", "postversion": "yarn run export-dynamic", - "export-dynamic": "janus-cli package export-dynamic-plugin --no-embed-as-dependencies" + "export-dynamic": "janus-cli package export-dynamic-plugin --no-embed-as-dependencies", + "export-dynamic:clean": "janus-cli package export-dynamic-plugin --no-embed-as-dependencies --clean" }, "configSchema": "config.d.ts", "dependencies": { diff --git a/plugins/kiali/package.json b/plugins/kiali/package.json index 4641a9a1e0..cd49fe2f84 100644 --- a/plugins/kiali/package.json +++ b/plugins/kiali/package.json @@ -23,6 +23,7 @@ "build": "backstage-cli package build", "clean": "backstage-cli package clean", "export-dynamic": "janus-cli package export-dynamic-plugin --in-place", + "export-dynamic:clean": "janus-cli package export-dynamic-plugin --in-place --clean", "lint:check": "backstage-cli package lint", "lint:fix": "backstage-cli package lint --fix", "postpack": "backstage-cli package postpack", diff --git a/plugins/kubernetes-actions/package.json b/plugins/kubernetes-actions/package.json index b1b10fdf00..f01820e118 100644 --- a/plugins/kubernetes-actions/package.json +++ b/plugins/kubernetes-actions/package.json @@ -42,7 +42,8 @@ "prepack": "backstage-cli package prepack", "postpack": "backstage-cli package postpack", "postversion": "yarn run export-dynamic", - "export-dynamic": "janus-cli package export-dynamic-plugin --no-embed-as-dependencies" + "export-dynamic": "janus-cli package export-dynamic-plugin --no-embed-as-dependencies", + "export-dynamic:clean": "janus-cli package export-dynamic-plugin --no-embed-as-dependencies --clean" }, "dependencies": { "@backstage/backend-dynamic-feature-service": "^0.2.15", diff --git a/plugins/lightspeed/package.json b/plugins/lightspeed/package.json index f69f949864..31588deb07 100644 --- a/plugins/lightspeed/package.json +++ b/plugins/lightspeed/package.json @@ -24,6 +24,7 @@ "build": "backstage-cli package build", "clean": "backstage-cli package clean", "export-dynamic": "janus-cli package export-dynamic-plugin --in-place", + "export-dynamic:clean": "janus-cli package export-dynamic-plugin --in-place --clean", "lint:check": "backstage-cli package lint", "lint:fix": "backstage-cli package lint --fix", "postpack": "backstage-cli package postpack", diff --git a/plugins/matomo-backend/package.json b/plugins/matomo-backend/package.json index 0769deb6a8..48e07522fd 100644 --- a/plugins/matomo-backend/package.json +++ b/plugins/matomo-backend/package.json @@ -36,6 +36,7 @@ "build": "backstage-cli package build", "clean": "backstage-cli package clean", "export-dynamic": "janus-cli package export-dynamic-plugin --no-embed-as-dependencies", + "export-dynamic:clean": "janus-cli package export-dynamic-plugin --no-embed-as-dependencies --clean", "lint:check": "backstage-cli package lint", "lint:fix": "backstage-cli package lint --fix", "postpack": "backstage-cli package postpack", diff --git a/plugins/matomo/package.json b/plugins/matomo/package.json index 5ae127f5e1..3b780c511f 100644 --- a/plugins/matomo/package.json +++ b/plugins/matomo/package.json @@ -24,6 +24,7 @@ "build": "backstage-cli package build", "clean": "backstage-cli package clean", "export-dynamic": "janus-cli package export-dynamic-plugin --in-place", + "export-dynamic:clean": "janus-cli package export-dynamic-plugin --in-place --clean", "lint:check": "backstage-cli package lint", "lint:fix": "backstage-cli package lint --fix", "postpack": "backstage-cli package postpack", diff --git a/plugins/nexus-repository-manager/package.json b/plugins/nexus-repository-manager/package.json index 820de5bb92..58e99572eb 100644 --- a/plugins/nexus-repository-manager/package.json +++ b/plugins/nexus-repository-manager/package.json @@ -23,6 +23,7 @@ "build": "backstage-cli package build", "clean": "backstage-cli package clean", "export-dynamic": "janus-cli package export-dynamic-plugin --in-place", + "export-dynamic:clean": "janus-cli package export-dynamic-plugin --in-place --clean", "generate": "openapi-ts --input ./nexus-swagger.json --output ./src/generated", "lint:check": "backstage-cli package lint", "lint:fix": "backstage-cli package lint --fix", diff --git a/plugins/ocm-backend/package.json b/plugins/ocm-backend/package.json index e8bfb37cf2..7e9ba74e76 100644 --- a/plugins/ocm-backend/package.json +++ b/plugins/ocm-backend/package.json @@ -36,6 +36,7 @@ "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 --no-embed-as-dependencies", + "export-dynamic:clean": "janus-cli package export-dynamic-plugin --embed-package --embed-package @backstage/plugin-kubernetes-common --no-embed-as-dependencies --clean", "lint:check": "backstage-cli package lint", "lint:fix": "backstage-cli package lint --fix", "postpack": "backstage-cli package postpack", diff --git a/plugins/ocm/package.json b/plugins/ocm/package.json index f66fdf630b..a32b6fbda8 100644 --- a/plugins/ocm/package.json +++ b/plugins/ocm/package.json @@ -24,6 +24,7 @@ "build": "backstage-cli package build", "clean": "backstage-cli package clean", "export-dynamic": "janus-cli package export-dynamic-plugin --in-place", + "export-dynamic:clean": "janus-cli package export-dynamic-plugin --in-place --clean", "lint:check": "backstage-cli package lint", "lint:fix": "backstage-cli package lint --fix", "postpack": "backstage-cli package postpack", diff --git a/plugins/openshift-image-registry/package.json b/plugins/openshift-image-registry/package.json index a0aa4ee040..bb37261a6f 100644 --- a/plugins/openshift-image-registry/package.json +++ b/plugins/openshift-image-registry/package.json @@ -23,6 +23,7 @@ "build": "backstage-cli package build", "clean": "backstage-cli package clean", "export-dynamic": "janus-cli package export-dynamic-plugin --in-place", + "export-dynamic:clean": "janus-cli package export-dynamic-plugin --in-place --clean", "lint:check": "backstage-cli package lint", "lint:fix": "backstage-cli package lint --fix", "postpack": "backstage-cli package postpack", diff --git a/plugins/orchestrator-backend/package.json b/plugins/orchestrator-backend/package.json index a4d7a5f6e3..df495afba2 100644 --- a/plugins/orchestrator-backend/package.json +++ b/plugins/orchestrator-backend/package.json @@ -69,7 +69,8 @@ "prepack": "backstage-cli package prepack", "postpack": "backstage-cli package postpack", "postversion": "yarn run export-dynamic", - "export-dynamic": "janus-cli package export-dynamic-plugin --no-embed-as-dependencies" + "export-dynamic": "janus-cli package export-dynamic-plugin --no-embed-as-dependencies", + "export-dynamic:clean": "janus-cli package export-dynamic-plugin --no-embed-as-dependencies --clean" }, "dependencies": { "@backstage/backend-app-api": "^0.8.0", diff --git a/plugins/orchestrator/package.json b/plugins/orchestrator/package.json index 77fe06a92d..3694e18917 100644 --- a/plugins/orchestrator/package.json +++ b/plugins/orchestrator/package.json @@ -45,6 +45,7 @@ "start": "backstage-cli package start", "build": "backstage-cli package build", "export-dynamic": "janus-cli package export-dynamic-plugin --in-place", + "export-dynamic:clean": "janus-cli package export-dynamic-plugin --in-place --clean", "tsc": "tsc", "prettier:check": "prettier --ignore-unknown --check .", "prettier:fix": "prettier --ignore-unknown --write .", diff --git a/plugins/quay-actions/package.json b/plugins/quay-actions/package.json index 1f4fefb032..8a36a28b64 100644 --- a/plugins/quay-actions/package.json +++ b/plugins/quay-actions/package.json @@ -33,6 +33,7 @@ "build": "backstage-cli package build", "clean": "backstage-cli package clean", "export-dynamic": "janus-cli package export-dynamic-plugin --no-embed-as-dependencies", + "export-dynamic:clean": "janus-cli package export-dynamic-plugin --no-embed-as-dependencies --clean", "lint:check": "backstage-cli package lint", "lint:fix": "backstage-cli package lint --fix", "postpack": "backstage-cli package postpack", diff --git a/plugins/quay/package.json b/plugins/quay/package.json index 1a79652db3..bd1ddd7e96 100644 --- a/plugins/quay/package.json +++ b/plugins/quay/package.json @@ -24,6 +24,7 @@ "build": "backstage-cli package build", "clean": "backstage-cli package clean", "export-dynamic": "janus-cli package export-dynamic-plugin --in-place", + "export-dynamic:clean": "janus-cli package export-dynamic-plugin --in-place --clean", "lint:check": "backstage-cli package lint", "lint:fix": "backstage-cli package lint --fix", "postpack": "backstage-cli package postpack", diff --git a/plugins/rbac-backend-module-test/package.json b/plugins/rbac-backend-module-test/package.json index 0ebd9a9bed..ef1befd99a 100644 --- a/plugins/rbac-backend-module-test/package.json +++ b/plugins/rbac-backend-module-test/package.json @@ -33,6 +33,7 @@ "build": "backstage-cli package build", "clean": "backstage-cli package clean", "export-dynamic": "janus-cli package export-dynamic-plugin --no-embed-as-dependencies", + "export-dynamic:clean": "janus-cli package export-dynamic-plugin --no-embed-as-dependencies --clean", "lint:check": "backstage-cli package lint", "lint:fix": "backstage-cli package lint --fix", "postpack": "backstage-cli package postpack", diff --git a/plugins/rbac/package.json b/plugins/rbac/package.json index d722bfd57c..7812cfb8c9 100644 --- a/plugins/rbac/package.json +++ b/plugins/rbac/package.json @@ -25,6 +25,7 @@ "build": "backstage-cli package build", "clean": "backstage-cli package clean", "export-dynamic": "janus-cli package export-dynamic-plugin --in-place", + "export-dynamic:clean": "janus-cli package export-dynamic-plugin --in-place --clean", "lint:check": "backstage-cli package lint", "lint:fix": "backstage-cli package lint --fix", "postpack": "backstage-cli package postpack", diff --git a/plugins/regex-actions/package.json b/plugins/regex-actions/package.json index a07c18ce76..66b8d95dd9 100644 --- a/plugins/regex-actions/package.json +++ b/plugins/regex-actions/package.json @@ -33,6 +33,7 @@ "build": "backstage-cli package build", "clean": "backstage-cli package clean", "export-dynamic": "janus-cli package export-dynamic-plugin --no-embed-as-dependencies", + "export-dynamic:clean": "janus-cli package export-dynamic-plugin --no-embed-as-dependencies --clean", "lint:check": "backstage-cli package lint", "lint:fix": "backstage-cli package lint --fix", "postpack": "backstage-cli package postpack", diff --git a/plugins/scaffolder-annotator-action/package.json b/plugins/scaffolder-annotator-action/package.json index 67c4d86bbc..c0791ea2df 100644 --- a/plugins/scaffolder-annotator-action/package.json +++ b/plugins/scaffolder-annotator-action/package.json @@ -40,6 +40,7 @@ "postpack": "backstage-cli package postpack", "postversion": "yarn run export-dynamic", "export-dynamic": "janus-cli package export-dynamic-plugin --no-embed-as-dependencies", + "export-dynamic:clean": "janus-cli package export-dynamic-plugin --no-embed-as-dependencies --clean", "lodash": "^4.17.21", "tsc": "tsc", "prettier:check": "prettier --ignore-unknown --check .", diff --git a/plugins/servicenow-actions/package.json b/plugins/servicenow-actions/package.json index 5f8f513107..87f9b2f175 100644 --- a/plugins/servicenow-actions/package.json +++ b/plugins/servicenow-actions/package.json @@ -33,6 +33,7 @@ "build": "backstage-cli package build", "clean": "backstage-cli package clean", "export-dynamic": "janus-cli package export-dynamic-plugin --no-embed-as-dependencies", + "export-dynamic:clean": "janus-cli package export-dynamic-plugin --no-embed-as-dependencies --clean", "generate": "bash ./scripts/generate.sh", "lint:check": "backstage-cli package lint", "lint:fix": "backstage-cli package lint --fix", diff --git a/plugins/sonarqube-actions/package.json b/plugins/sonarqube-actions/package.json index ea3d6f5919..50f1549e61 100644 --- a/plugins/sonarqube-actions/package.json +++ b/plugins/sonarqube-actions/package.json @@ -33,6 +33,7 @@ "build": "backstage-cli package build", "clean": "backstage-cli package clean", "export-dynamic": "janus-cli package export-dynamic-plugin --no-embed-as-dependencies", + "export-dynamic:clean": "janus-cli package export-dynamic-plugin --no-embed-as-dependencies --clean", "lint:check": "backstage-cli package lint", "lint:fix": "backstage-cli package lint --fix", "postpack": "backstage-cli package postpack", diff --git a/plugins/tekton/package.json b/plugins/tekton/package.json index 78100633a1..0d04e47a5a 100644 --- a/plugins/tekton/package.json +++ b/plugins/tekton/package.json @@ -26,6 +26,7 @@ "build": "backstage-cli package build", "clean": "backstage-cli package clean", "export-dynamic": "janus-cli package export-dynamic-plugin --in-place", + "export-dynamic:clean": "janus-cli package export-dynamic-plugin --in-place --clean", "lint:check": "backstage-cli package lint", "lint:fix": "backstage-cli package lint --fix", "postpack": "backstage-cli package postpack", diff --git a/plugins/topology/package.json b/plugins/topology/package.json index 9c1d8f10a5..a84797b3b0 100644 --- a/plugins/topology/package.json +++ b/plugins/topology/package.json @@ -25,6 +25,7 @@ "build": "backstage-cli package build", "clean": "backstage-cli package clean", "export-dynamic": "janus-cli package export-dynamic-plugin --in-place", + "export-dynamic:clean": "janus-cli package export-dynamic-plugin --in-place --clean", "lint:check": "backstage-cli package lint", "lint:fix": "backstage-cli package lint --fix", "postpack": "backstage-cli package postpack", diff --git a/plugins/web-terminal/package.json b/plugins/web-terminal/package.json index 2e876f7295..3ed2419e60 100644 --- a/plugins/web-terminal/package.json +++ b/plugins/web-terminal/package.json @@ -23,6 +23,7 @@ "build": "backstage-cli package build", "clean": "backstage-cli package clean", "export-dynamic": "janus-cli package export-dynamic-plugin --in-place", + "export-dynamic:clean": "janus-cli package export-dynamic-plugin --in-place --clean", "lint:check": "backstage-cli package lint", "lint:fix": "backstage-cli package lint --fix", "postpack": "backstage-cli package postpack", diff --git a/turbo.json b/turbo.json index 1e1af82f07..309ad06b97 100644 --- a/turbo.json +++ b/turbo.json @@ -20,6 +20,10 @@ "cache": false, "dependsOn": ["tsc"] }, + "export-dynamic:clean": { + "cache": false, + "dependsOn": ["tsc"] + }, "lint:check": {}, "lint:fix": { "cache": false