Skip to content

Commit b5a9726

Browse files
fix: adapt v1 scripts to use correct paths (#209)
1 parent 29e734e commit b5a9726

File tree

4 files changed

+97
-34
lines changed

4 files changed

+97
-34
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,14 @@
5757
"@types/lodash": "^4.17.16",
5858
"@types/validator": "^13.12.2",
5959
"babel-jest": "^29.7.0",
60+
"child-process-promise": "^2.2.1",
6061
"eslint": "^9.18.0",
6162
"generate-changelog": "^1.8.0",
6263
"jest": "^29.7.0",
6364
"json-schema-typed": "^8.0.1",
6465
"lodash": "^4.17.21",
6566
"randexp": "^0.5.3",
67+
"semver": "^7.7.2",
6668
"tsup": "^8.3.5",
6769
"typescript": "^5.7.3"
6870
}

pnpm-lock.yaml

Lines changed: 76 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/release.helpers.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
const readline = require('node:readline/promises');
2-
3-
const { exec } = require('child-process-promise');
1+
import readline from 'node:readline/promises';
2+
import { exec } from 'child-process-promise';
43

54
async function checkGitStatus() {
65
const result = await runExec('git status --porcelain', {
@@ -113,7 +112,7 @@ async function runExec(cmd, { silent } = {}) {
113112
}
114113
}
115114

116-
module.exports = {
115+
export {
117116
checkNpmAuth,
118117
checkGitStatus,
119118
askForText,

0 commit comments

Comments
 (0)