Skip to content

Instantly share code, notes, and snippets.

@christiangenco
christiangenco / migrateHeroicons.js
Last active September 5, 2024 07:59 — forked from PicchiKevin/migrate.sh
Heroicons v1 to v2
const fs = require("fs");
if (!fs.existsSync("package.json")) {
console.error(
"Cannot find package.json. Please run this script in your project directory."
);
process.exit(1);
}
const package = fs.readFileSync("package.json", "utf8");