Skip to content

refactor: replace globby with tinyglob, govern execa, chalk#1773

Merged
Timeless0911 merged 3 commits intomainfrom
chore/reset
Jan 26, 2025
Merged

refactor: replace globby with tinyglob, govern execa, chalk#1773
Timeless0911 merged 3 commits intomainfrom
chore/reset

Conversation

@SoonIter
Copy link
Copy Markdown
Member

@SoonIter SoonIter commented Jan 25, 2025

Summary

At present, the prebundled packages are difficultly to be migrated to Rslib because they are needless, and should be bundled by prebundle)

wanna remove @rspress/shared, and move the prebundled packages into @rspress/core just like Rsbuild repo

these are some small tasks for this target below

  1. replace globby with tinyglob (remove the copied prebundled packages in @rspack/core perf: optimize dependencies size #437)

  2. remove execa from @rspress/shared

  3. remove chalk in cli from dependencies

Related Issue

#437

web-infra-dev/rslib#307

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@netlify
Copy link
Copy Markdown

netlify bot commented Jan 25, 2025

Deploy Preview for aquamarine-blini-95325f ready!

Name Link
🔨 Latest commit 3790874
🔍 Latest deploy log https://app.netlify.com/sites/aquamarine-blini-95325f/deploys/6794fda3000bab00080dc89e
😎 Deploy Preview https://deploy-preview-1773--aquamarine-blini-95325f.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 91 (🟢 up 10 from production)
Accessibility: 97 (no change from production)
Best Practices: 92 (no change from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

Timeless0911
Timeless0911 previously approved these changes Jan 25, 2025
Copy link
Copy Markdown
Member

@chenjiahan chenjiahan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not forget to add some PR descriptions

@SoonIter SoonIter changed the title chore(core): remove chalk from dependencies refactor: replace globby with tinyglob, remove execa from @rspress/shared, remove chalk in cli from dependencies Jan 25, 2025
@SoonIter SoonIter changed the title refactor: replace globby with tinyglob, remove execa from @rspress/shared, remove chalk in cli from dependencies refactor: replace globby with tinyglob, execa, chalk Jan 25, 2025
@SoonIter SoonIter changed the title refactor: replace globby with tinyglob, execa, chalk refactor: replace globby with tinyglob, govern execa, chalk Jan 25, 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.

3 participants