Skip to content

Instantly share code, notes, and snippets.

View oleksandr-shubin's full-sized avatar

Oleksandr Shubin oleksandr-shubin

View GitHub Profile
@christiangenco
christiangenco / migrateHeroicons.js
Last active May 15, 2024 17:06 — 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");