Closed kagol closed 1 month ago
The changes in this pull request involve modifications to the Vite configuration and package management for the Fluent Editor project. Key alterations include the removal of specific alias resolutions for the @opentiny/fluent-editor
package, the addition of a new SCSS alias, updates to the package.json
file including dependency management and build script reordering, and adjustments to the output directory for the Vite build process. Additionally, a console log statement was removed from the pre-release.js
script, which now updates versioning and paths in the package.json
.
File | Change Summary |
---|---|
packages/docs/fluent-editor/vite.config.ts |
- Removed aliases for @opentiny/fluent-editor/es , @opentiny/fluent-editor/lib , and @opentiny/fluent-editor/theme .- Added alias for @opentiny/fluent-editor/style.scss to src/assets/style.scss . |
packages/fluent-editor/package.json |
- Version updated from 3.20.0 to 3.20.2 .- Removed quill from peerDependencies and added it to dependencies .- Reordered build script.- Removed ./style.scss from exports . |
packages/fluent-editor/scripts/pre-release.js |
- Removed console log for newVersion .- Updated package.json paths for main , module , import , and require fields.- Removed style asset path update logic. |
packages/fluent-editor/vite.config.theme.ts |
- Changed output directory from dist/theme to dist . |
quill
as a dependency, relevant to the dependency changes in the main PR.FluentEditor
, related to style import changes.enhancement
🐰 In the garden of code, changes bloom bright,
With styles now flowing, everything feels right.
From themes to dependencies, all in their place,
A hop and a skip, we quicken the pace!
Let’s build and create, with joy in our hearts,
For in every new version, the magic imparts! 🌼✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
如果打包产物包含了quill但是没有导出其中导出的工具函数的话,还是会导致issue #46 的问题
PR
主要更新:
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information
Summary by CodeRabbit
New Features
Bug Fixes
Chores
quill
from peer to a direct dependency.