[Fix] Scripts

This commit is contained in:
Patryk Rzucidlo (PTKDev)
2023-02-11 01:27:13 +01:00
parent 770dea9257
commit 7680437b1d
12 changed files with 212 additions and 14 deletions

View File

@@ -2,8 +2,10 @@ import Logger from "@ptkdev/logger";
import fs from "fs";
import path from "path";
import { execSync } from "child_process";
import semver from "../package.json";
import semver from "../package.json" assert { type: "json" };
import { dirname } from "path";
const __dirname = dirname;
const gitdotfile = `${__dirname}/../.git/config`;
const logger = new Logger();
let branch = "";