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

Update tools #448

Merged
merged 17 commits into from
May 4, 2024
Merged

Update tools #448

merged 17 commits into from
May 4, 2024

Conversation

iorate
Copy link
Owner

@iorate iorate commented May 4, 2024

This pull request updates tools for better developer experience.

  • yarn ➡️ pnpm
  • eslint + prettier ➡️ biome (+ prettier for css/yaml/markdown)
  • webpack ➡️ esbuild
  • jest ➡️ node:test
  • lint-staged + husky ➡️ lefthook
  • 🆕 tsx

Notes

CC: @HoneyLuka

After pulling this update to your local repository

The following steps may be needed.

# Fully uninstall yarn and husky
rm -rf .yarn .husky
git config --unset core.hooksPath

# Install dependencies and hooks
pnpm install

If you installed Node.js from Homebrew

You need to install corepack separately.

brew install corepack

If you manage pnpm in a way different than corepack

You can use corepack pnpm instead of pnpm.

corepack pnpm install

corepack pnpm build

Specify the browser

Use --browser or -b.

pnpm build --browser safari

@iorate iorate self-assigned this May 4, 2024
@iorate iorate merged commit 8b71f36 into master May 4, 2024
1 check passed
@iorate iorate deleted the modern-tooling branch May 4, 2024 12:06
Copy link

github-actions bot commented May 5, 2024

🎉 This PR is included in version 8.6.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@HoneyLuka
Copy link
Contributor

Thanks iorate for the tips, I have successfully compiled the code, and I will update the Safari version later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants