From d17ca3361ce54f96462678122801e6308fd336ea Mon Sep 17 00:00:00 2001 From: kazuya kawaguchi Date: Sat, 23 Sep 2023 23:59:15 +0900 Subject: [PATCH] fix: remove pre-install script --- package.json | 1 - renovate.json | 2 +- scripts/preinstall.js | 11 ----------- 3 files changed, 1 insertion(+), 13 deletions(-) delete mode 100644 scripts/preinstall.js diff --git a/package.json b/package.json index 6dfc4ee..524a516 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,6 @@ }, "scripts": { "prepare": "git config --local core.hooksPath .githooks", - "preinstall": "node scripts/preinstall.js", "changelog": "gh-changelogen --repo=intlify/utils", "release": "bumpp --commit \"release: v%s\" --push --tag", "lint": "deno lint", diff --git a/renovate.json b/renovate.json index fe0be42..f6238dc 100644 --- a/renovate.json +++ b/renovate.json @@ -1,6 +1,6 @@ { "extends": ["config:base", ":preserveSemverRanges"], - "labels": ["Type: Dependency"], + "labels": ["deps"], "automerge": true, "major": { "automerge": false diff --git a/scripts/preinstall.js b/scripts/preinstall.js deleted file mode 100644 index bfa4dad..0000000 --- a/scripts/preinstall.js +++ /dev/null @@ -1,11 +0,0 @@ -import { spawnSync } from 'child_process' - -const { status } = spawnSync('which', ['deno'], { stdio: 'ignore' }) - -if (status) { - console.warn( - `\u001b[33mThis repository requires using deno` + - ` for scripts to work properly.\u001b[39m\n`, - ) - process.exit(1) -}