Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: replace critters with beasties #28726

Merged
merged 2 commits into from
Oct 28, 2024

Conversation

alan-agius4
Copy link
Collaborator

The Critters project has been transferred to the Nuxt team, who will now manage its development and has been renamed to Beasties.

See: https://github.com/danielroe/beasties

@alan-agius4 alan-agius4 added action: review The PR is still awaiting reviews from at least one requested reviewer target: rc This PR is targeted for the next release-candidate labels Oct 28, 2024
@alan-agius4 alan-agius4 requested a review from dgp1130 October 28, 2024 07:51
@alan-agius4
Copy link
Collaborator Author

alan-agius4 commented Oct 28, 2024

Note: the lint failure is for [email protected] – License: CC-BY-3.0 AND MIT which both are valid licenses.

https://github.com/angular/dev-infra/blob/7dd9b1b33245457f087b4ca30dc939d0f01754d0/github-actions/linting/licenses/dependency-review-config.yml

Had a chat with @devversion and confirmed that it’s okay to merge this in a red state.

@alan-agius4 alan-agius4 force-pushed the replace-critters branch 3 times, most recently from 9188c69 to 0f22795 Compare October 28, 2024 15:55
packages/angular/ssr/src/utils/inline-critical-css.ts Outdated Show resolved Hide resolved
"@bazel/runfiles": "^5.8.1",
"@discoveryjs/json-ext": "0.6.2",
"@inquirer/confirm": "5.0.0",
"@inquirer/prompts": "7.0.0",
"@listr2/prompt-adapter-inquirer": "2.0.17",
"@rollup/plugin-alias": "^5.1.1",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Question: Are these dependency changes expected? I'm surprised we didn't already have this for Critters?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is because of the second commit that switches the bundling from esbuild to use rollup.

0f22795

The Critters project has been transferred to the Nuxt team, who will now manage its development and has been renamed to Beasties.

See: https://github.com/danielroe/beasties
…itters/beasties

Esbuild exhibits issues when handling code that is generated and then reprocessed by itself, creating challenges when using it to bundle libraries or library components.

To remove these issues, we've replaced Esbuild with Rollup for bundling `beasties`.

See:  evanw/esbuild#3723
@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Oct 28, 2024
@alan-agius4 alan-agius4 merged commit b3fe50f into angular:main Oct 28, 2024
30 of 31 checks passed
@alan-agius4 alan-agius4 deleted the replace-critters branch October 28, 2024 17:57
@alan-agius4
Copy link
Collaborator Author

The changes were merged into the following branches: main, 19.0.x

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Nov 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker area: @angular/ssr hotlist: release-blocker target: rc This PR is targeted for the next release-candidate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants