From e2a7ed98a4899ad556bb332e3d4150adc5ddd60f Mon Sep 17 00:00:00 2001 From: Anton Golub Date: Sun, 17 Mar 2024 11:30:30 +0300 Subject: [PATCH] chore: synk pkg version --- .github/workflows/ci.yaml | 1 + package.json | 2 +- src/scripts/build.mjs | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 34a831e..93a232c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -49,6 +49,7 @@ jobs: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} NPM_PROVENANCE: true GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GIT_BRANCH: 'main' GIT_AUTHOR_NAME: ${{ secrets.GIT_AUTHOR_NAME }} GIT_AUTHOR_EMAIL: ${{ secrets.GIT_AUTHOR_EMAIL }} GIT_COMMITTER_NAME: ${{ secrets.GIT_COMMITTER_NAME }} diff --git a/package.json b/package.json index a159206..259590c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "zurk", - "version": "0.0.0", + "version": "0.0.30", "description": "A generic process spawner", "type": "module", "main": "target/cjs/index.cjs", diff --git a/src/scripts/build.mjs b/src/scripts/build.mjs index 278aece..2d8129a 100644 --- a/src/scripts/build.mjs +++ b/src/scripts/build.mjs @@ -26,8 +26,8 @@ const { entry, external, bundle, minify, sourcemap, license, format, cwd: _cwd } const plugins = [] const cwd = Array.isArray(_cwd) ? _cwd[_cwd.length - 1] : _cwd const entryPoints = entry.includes('*') - ? await glob(unwrapQuotes(entry.split(':')), { absolute: false, onlyFiles: true, cwd }) - : unwrapQuotes(entry.split(':')) + ? await glob(unwrapQuotes(entry).split(':'), { absolute: false, onlyFiles: true, cwd }) + : unwrapQuotes(entry).split(':') const _bundle = bundle !== 'none' && !process.argv.includes('--no-bundle') const _external = _bundle