Skip to content

Instantly share code, notes, and snippets.

View himynameisubik's full-sized avatar
🥷

ubik himynameisubik

🥷
  • Switzerland
View GitHub Profile
@himynameisubik
himynameisubik / migrateHeroicons.js
Last active February 1, 2023 08:37 — forked from christiangenco/migrateHeroicons.js
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");