fix(changelog): moved packages

This commit is contained in:
2025-07-12 17:44:53 -05:00
parent 19130e361d
commit f11e402d16

View File

@@ -6,18 +6,11 @@ if (!version) {
import fs from "fs-extra";
import path from "path";
import { spawnSync } from "child_process";
import { fileURLToPath } from "url";
import fetch from "node-fetch";
import dotenv from "dotenv";
dotenv.config({ path: "./.env" });
import { createRequire } from "node:module";
const require = createRequire(import.meta.url);
const conventionalChangelog =
require("conventional-changelog-conventionalcommits").default ||
require("conventional-changelog-conventionalcommits");
// Resolve the directory of the current script
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);