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

Bun support for update-browserslist-db #40

Merged
merged 3 commits into from
Jul 1, 2024

Conversation

pornoiya
Copy link

@pornoiya pornoiya commented Jul 1, 2024

No description provided.

index.js Outdated Show resolved Hide resolved
@ai
Copy link
Member

ai commented Jul 1, 2024

You need instal bun to CI


let lock = (await readFile(join(dir, 'bun.lockb'))).toString()
ok(
lock.includes(`/caniuse-lite-${caniuse.version}`))
Copy link
Author

@pornoiya pornoiya Jul 1, 2024

Choose a reason for hiding this comment

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

Not sure if this check is OK. Maybe it's better to generate yarn.lock file and check versions in a more readable way. https://bun.sh/docs/install/lockfile

Copy link
Member

Choose a reason for hiding this comment

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

@kytta suggested using pm ls -all #41

I will combine both your PRs and both of you will be mentioned in Cult of Martians.

@@ -36,6 +36,7 @@
"test": "pnpm run /^test:/"
},
"dependencies": {
"bun": "^1.1.17",
Copy link
Member

Choose a reason for hiding this comment

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

No-no, it will install bun to every Browserslist users.

At least put it to devDependencies.

@ai ai merged commit 89e2180 into browserslist:main Jul 1, 2024
3 of 5 checks passed
@ai
Copy link
Member

ai commented Jul 2, 2024

Do you have Twitter account to mention you in release tweet?

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.

2 participants