36387 complete nx convert to inferred infer targets across remaining plugins - #36444
Conversation
Convert several SDK and bridge libraries from explicit `project.json` build executors to Nx inferred Vite/Rollup targets. This adds per-library `rollup.config.cjs` files, updates Vite configs and `nx.json` plugin registration, preserves build outputs/dependencies/caching, and adjusts related cleanup like the React migrated Rollup config, ESLint dependency-check ignores, and the redundant client build script.
…oss-remaining-plugins' of github.com:dotCMS/core into 36387-complete-nx-convert-to-inferred-infer-targets-across-remaining-plugins
|
Claude finished @nicobytes's task in 51s —— View job Rollback-Safety Analysis
Result: No rollback-unsafe categories matched. This PR is exclusively frontend build tooling / Storybook removal:
There are no Java files, Labeling as safe to rollback. |
|
@copilot resolve the merge conflicts in this pull request |
…targets-across-remaining-plugins
Resolved the merge conflict in |
|
Tick the box to add this pull request to the merge queue (same as
|
This pull request migrates several Nx library projects to use "inferred" build configurations, which separates build options from
project.jsonfiles into dedicated config files (such asrollup.config.cjsandvite.config.ts). This change improves maintainability and aligns with Nx's latest best practices. Additionally, it updates output paths, cache settings, and build dependencies for better reproducibility and caching. Some scripts and ESLint rules are also adjusted to accommodate the new structure.Migration to inferred build configurations:
rollup.config.cjsfiles forsdk/client,sdk/ai,sdk/experiments,sdk/react,sdk/types, andsdk/uvelibraries, moving build options out ofproject.jsonand into these config files usingwithNx. [1] [2] [3] [4] [5] [6]vite.config.tsandvite.standalone.config.mtsfiles foredit-content-bridge,sdk/analytics, andsdk/experimentsto pull build options from new config objects, reflecting the migration. [1] [2] [3] [4]Project configuration updates:
project.jsonfiles in affected libraries and replaced them with references to the new config files, as well as updating output paths, cache settings, and build dependencies for improved build reproducibility and caching. [1] [2] [3] [4] [5] [6] [7] [8]Build and linting improvements:
sdk/typesto ignore the newrollup.config.cjsfile, preventing false positives for missing runtime dependencies.buildscript fromsdk/client/package.json.These changes modernize the build setup, improve maintainability, and align the codebase with Nx's recommended practices.
This PR fixes: #36387
This PR fixes: #36387