From 9522f9c5f7b9274fe353714345d06e56cf53204e Mon Sep 17 00:00:00 2001 From: Chris Herman Date: Tue, 21 May 2024 19:19:04 -0400 Subject: [PATCH] fix: exec scripts --- package.json | 7 ++++--- scripts/remove-workspace | 2 +- scripts/restore-workspace | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) mode change 100644 => 100755 scripts/remove-workspace mode change 100644 => 100755 scripts/restore-workspace diff --git a/package.json b/package.json index 0dbfca22..71b80680 100644 --- a/package.json +++ b/package.json @@ -39,13 +39,14 @@ "build": "tsup", "dev": "tsup --watch", "prepare": "husky", - "prerelease": "./remove-workspace", + "prerelease": "scripts/remove-workspace", "release": "release-it", - "postrelease": "./restore-workspace" + "postrelease": "scripts/restore-workspace" }, "release-it": { "git": { - "commitMessage": "chore: release v${version}" + "commitMessage": "chore: release v${version}", + "requireCleanWorkingDir": false }, "github": { "release": true diff --git a/scripts/remove-workspace b/scripts/remove-workspace old mode 100644 new mode 100755 index 11a1dd5a..f00bb469 --- a/scripts/remove-workspace +++ b/scripts/remove-workspace @@ -1,4 +1,4 @@ -#!/bin/env node +#!/usr/bin/env node const fs = require('fs'); const path = require('path'); diff --git a/scripts/restore-workspace b/scripts/restore-workspace old mode 100644 new mode 100755 index 9f540649..ab2254ae --- a/scripts/restore-workspace +++ b/scripts/restore-workspace @@ -1,4 +1,4 @@ -#!/bin/env node +#!/usr/bin/env node const fs = require('fs');