From 463e9ea87f142321bf441b32b04f4df2e65af281 Mon Sep 17 00:00:00 2001 From: player31-kks Date: Sun, 31 Dec 2023 22:09:31 +0900 Subject: [PATCH] fix: action push error --- .github/workflows/release.yml | 2 +- bin/{start.js => start} | 1 + package.json | 6 +++--- 3 files changed, 5 insertions(+), 4 deletions(-) rename bin/{start.js => start} (95%) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index de8dc3a..c33e077 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,6 +26,6 @@ jobs: - run: yarn release env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.PAT }} NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }} \ No newline at end of file diff --git a/bin/start.js b/bin/start similarity index 95% rename from bin/start.js rename to bin/start index 89ae769..d411389 100644 --- a/bin/start.js +++ b/bin/start @@ -1,3 +1,4 @@ +#!/usr/bin/env node /* eslint-disable @typescript-eslint/no-var-requires */ if (['v', 'version', '-v', '--v', '-version', '--version'].includes(process.argv[2])) { diff --git a/package.json b/package.json index b0c736a..a8a52a5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "create-typescript-boilerplate", - "version": "0.0.2", + "version": "0.0.3", "description": "boilerplate for typescript project", "main": "index.js", "license": "MIT", @@ -12,11 +12,11 @@ "test": "jest", "dev": "npm run typecheck -- --watch & tsx watch ./src/main.ts", "clean": "rm -rf dist ./dist", - "dev:cli": "node bin/start.js", + "dev:cli": "node bin/start", "release": "release-it" }, "bin": { - "create-typescript-boilerplate": "bin/start.js" + "create-typescript-boilerplate": "bin/start" }, "engines": { "node": ">=18.17.0",