get ready for studio #99
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces the initial setup for a new frontend "Personalization" plugin in the Studio application. It adds all the necessary configuration, build scripts, linting and type checking, and a basic plugin/module scaffold. The changes ensure the new plugin is integrated with modern tooling, module federation, and the Studio UI bundle.
The most important changes are:
Build and Workflow Setup:
.github/workflows/studio-frontend-build.yaml
) to automate install, lint, type-check, and build steps for the Studio frontend, including auto-committing lint and build outputs.rsbuild.config.ts
file to configure the build process with Rsbuild, module federation, and plugin entrypoints, including output management and remote integration with the Studio UI bundle.Project Configuration:
package.json
for the plugin with scripts for development, linting, type checking, and dependencies for React, Storybook, and Pimcore Studio UI integration.tsconfig.json
) tailored for a React/ESNext project with strict type checking and decorator support..eslintrc.js
) with React and Storybook rules and overrides for test and config files.Plugin and Module Scaffolding:
PersonalizationPlugin
injs/src/plugins.ts
and a correspondingPersonalizationModule
injs/src/modules/personalization/index.tsx
, registering the module with the Studio UI system. [1] [2]Integration and Service Registration:
config/studio_ui.yaml
to ensure proper asset loading in the Studio UI.These changes lay the foundation for further development of the Personalization plugin, ensuring it is well-integrated with the Studio's build, linting, and module federation infrastructure.