Skip to content

Commit 4fafdf3

Browse files
chore(extensions): Rename plugins from marketplace to extensions (#2006)
* rename marketplace to extensions * refactor filenames, directories and variables * build api reports * add changeset * revert monaco code editor changes * add configurations for catalog entities directory path * lazy load codeEditor component to reduce the frontend bundle size
1 parent 8765016 commit 4fafdf3

368 files changed

Lines changed: 2354 additions & 2032 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
File renamed without changes.
File renamed without changes.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
'@red-hat-developer-hub/backstage-plugin-catalog-backend-module-extensions': minor
3+
'@red-hat-developer-hub/backstage-plugin-extensions-backend': minor
4+
'@red-hat-developer-hub/backstage-plugin-extensions-common': minor
5+
'@red-hat-developer-hub/backstage-plugin-extensions': minor
6+
'@red-hat-developer-hub/extensions-cli': minor
7+
---
8+
9+
Renamed plugins from marketplace to extensions
10+
11+
- Renamed all packages from `backstage-plugin-marketplace-*` to `backstage-plugin-extensions-*`
12+
- Updated all internal references, exports, and API endpoints
13+
- lazy load codeEditor to reduce the frontend plugin bundle size
14+
- Made catalog entities directory path configurable via `extensions.directory` in app-config.yaml with fallback to `extensions` and `marketplace` directories
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
workspace=marketplace
1+
workspace=extensions
22

33
# This variables defines the rhdh and dynamic-plugins-root paths.
44
#
@@ -36,25 +36,25 @@ add-frontend-to-rhdh:
3636
@echo
3737
@echo Will build and install ${workspace} frontend into ${rhdh}
3838
@echo
39-
cd plugins/marketplace && npx --yes @red-hat-developer-hub/cli plugin export --dynamic-plugins-root "${dproot}" --clean "${clean}" --dev "${dev}"
39+
cd plugins/extensions && npx --yes @red-hat-developer-hub/cli plugin export --dynamic-plugins-root "${dproot}" --clean "${clean}" --dev "${dev}"
4040

4141
add-backend-to-rhdh:
4242
@echo
4343
@echo Will build and install ${workspace} backend into ${rhdh}
4444
@echo
45-
cd plugins/marketplace-backend && npx --yes @red-hat-developer-hub/cli plugin export --dynamic-plugins-root "${dproot}" --clean "${clean}" --dev "${dev}"
45+
cd plugins/extensions-backend && npx --yes @red-hat-developer-hub/cli plugin export --dynamic-plugins-root "${dproot}" --clean "${clean}" --dev "${dev}"
4646

4747
add-catalog-modules-to-rhdh:
4848
@echo
4949
@echo Will build and install catalog modules into ${rhdh}
5050
@echo
51-
cd plugins/catalog-backend-module-marketplace && npx --yes @red-hat-developer-hub/cli plugin export --dynamic-plugins-root "${dproot}" --clean "${clean}" --dev "${dev}" --embed-package "@red-hat-developer-hub/backstage-plugin-marketplace-common"
51+
cd plugins/catalog-backend-module-extensions && npx --yes @red-hat-developer-hub/cli plugin export --dynamic-plugins-root "${dproot}" --clean "${clean}" --dev "${dev}" --embed-package "@red-hat-developer-hub/backstage-plugin-extensions-common"
5252

5353
copy-config-to-rhdh:
5454
@echo
5555
@echo Copy app-config.dynamic.yaml into ${rhdh}
5656
@echo
57-
cp app-config.dynamic.yaml "${rhdh}/app-config-marketplace.local.yaml"
57+
cp app-config.dynamic.yaml "${rhdh}/app-config-extensions.local.yaml"
5858
@echo
5959
@echo You can start your rhdh now with
6060
@echo
@@ -65,6 +65,6 @@ remove-from-rhdh:
6565
@echo
6666
@echo Remove packages from ${rhdh}
6767
@echo
68-
rm -rf "${dproot}/red-hat-developer-hub-backstage-plugin-marketplace"
69-
rm -rf "${dproot}/red-hat-developer-hub-backstage-plugin-marketplace-backend-dynamic"
70-
rm -rf "${dproot}/red-hat-developer-hub-backstage-plugin-catalog-backend-module-marketplace-dynamic"
68+
rm -rf "${dproot}/red-hat-developer-hub-backstage-plugin-extensions"
69+
rm -rf "${dproot}/red-hat-developer-hub-backstage-plugin-extensions-backend-dynamic"
70+
rm -rf "${dproot}/red-hat-developer-hub-backstage-plugin-catalog-backend-module-extensions-dynamic"

0 commit comments

Comments
 (0)