feat(bazaar): improve yarn dev setup and enable bazaar API integration
Hey, I just made a Pull Request!
This PR improves the yarn dev setup for the Bazaar plugin, allowing both the frontend and backend to be run together. Additionally, it replaces the mock Bazaar API with the actual Bazaar API to enable project interactions within the plugin.
Before, we had to run yarn start in each individual plugin, and all interactions beyond basic page display were not functioning correctly. For example, if you tried to click one of the project cards, it would result in a RouteRef error due to missing route configuration. Similarly, if you tried to add a project, there was no API mock defined, preventing interaction.
Now, testing of functionality like viewing a project, adding, editing, and deleting projects can be done during isolated local development.
Changes:
- Improved
yarn devsetup to support running both frontend and backend together. - Enabled Bazaar API integration to allow for project data interactions in the plugin's development environment.
- Fixed navigation issues by configuring
RouteReffor project cards. - Integrated
CatalogApito enable interaction with catalog data. - Enabled guest authentication
Screenshots:
:heavy_check_mark: Checklist
Thanks for the contribution! All commits need to be DCO signed before they are reviewed. Please refer to the the DCO section in CONTRIBUTING.md or the DCO status for more info.
Changed Packages
| Package Name | Package Path | Changeset Bump | Current Version |
|---|---|---|---|
| @backstage-community/plugin-bazaar-backend | workspaces/bazaar/plugins/bazaar-backend | patch | v0.4.2 |
| @backstage-community/plugin-bazaar | workspaces/bazaar/plugins/bazaar | patch | v0.5.1 |
hey this is great @rothenbergt 🙏
I'm thinking it would be nice to describe the development process in the README!
hey this is great @rothenbergt 🙏
I'm thinking it would be nice to describe the development process in the README!
You got it @vinzscam! Updated the base README.
just some conflicts to be resolved and then we can ship this!