Skip to content

Conversation

xIrusux
Copy link

@xIrusux xIrusux commented Oct 7, 2025

This pull request introduces the initial frontend and build system setup for the "Web to Print" module in the Studio application. It adds configuration for TypeScript, ESLint, and the build process, as well as the foundational plugin and module code for integration with the Pimcore Studio UI. Additionally, it provides Symfony integration for the Studio UI and a Webpack entry point provider for dynamic asset management.

Frontend and Build System Setup:

  • Added a new package.json with scripts for development, build, linting, and type checking, along with all necessary dependencies for React, TypeScript, Storybook, and Pimcore Studio UI integration.
  • Introduced a TypeScript configuration (tsconfig.json) tailored for React and Pimcore Studio UI development.
  • Added an ESLint configuration (.eslintrc.js) with rules and plugins for TypeScript and React best practices.
  • Created a rsbuild.config.ts file to set up the build process using Rsbuild, including module federation for dynamic loading and sharing of dependencies, and automatic cleanup of old build artifacts.
  • Added a GitHub Actions workflow (studio-frontend-build.yaml) to automate linting, type checking, and building of the Studio frontend assets.

Studio Plugin and Module Boilerplate:

  • Implemented the initial plugin (plugins.ts) and module (modules/web-to-print/index.tsx) code for the Web to Print editor, registering it with the Studio UI's module system. [1] [2]

Symfony and Webpack Integration:

  • Updated the Symfony extension to load Studio UI configuration if the relevant extension is present, ensuring proper integration.
  • Added a Webpack entry point provider to expose the frontend assets to the Studio UI, enabling dynamic asset loading.

@xIrusux xIrusux self-assigned this Oct 7, 2025
Copy link

sonarqubecloud bot commented Oct 8, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant