Skip to content

Instantly share code, notes, and snippets.

@wojtekmaj
wojtekmaj / jest-to-vitest.sh
Last active June 23, 2024 12:24
Automatically migrate Jest project to Vitest
#!/bin/bash
# Ensure we're working on the latest version of the main branch
git switch main
git fetch
git pull
# Create a new branch
git switch -c vitest
@NoriSte
NoriSte / migrate-to-vite.sh
Created April 30, 2021 06:49
Webpack to Vite Codemods
# AUTOMATIC MIGRATION FROM WEBPACK TO VITE
# chmod +x migrate-to-vite.sh to make this file executable
# installing codemods
# https://docs.python-guide.org/starting/install3/osx/
# https://dev.to/malwarebo/how-to-set-python3-as-a-default-python-version-on-mac-4jjf
# https://pip.pypa.io/en/stable/installing/#installing-with-get-pip-py
# NO NEED; ALREADY ON MASTER - (manual action)