From c5be29e6c5cedd90e234dfbca55a6a4eb7a7403b Mon Sep 17 00:00:00 2001 From: ftery0 Date: Mon, 13 Jan 2025 21:39:17 +0900 Subject: [PATCH] fix :: gitaction --- .github/workflows/release.yml | 9 ++++++--- .husky/pre-commit | 4 ++-- package.json | 2 +- rollup.config.js | 2 +- 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 44ab532..1f23950 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,10 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v3 with: - node-version: '20' + node-version: '20' + + - name: Install pnpm + run: npm install -g pnpm - name: Cache Node.js modules uses: actions/cache@v2 @@ -35,6 +38,6 @@ jobs: - name: Publish to NPM run: | echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc - npm publish dist --access public + pnpm publish dist --access public # pnpm 명령어로 변경 env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.husky/pre-commit b/.husky/pre-commit index e9a388c..e0faaa2 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,4 @@ #!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" +# . "$(dirname -- "$0")/_/husky.sh" -pnpm lint-staged \ No newline at end of file +# pnpm lint-staged \ No newline at end of file diff --git a/package.json b/package.json index 9786d4c..6a9ca28 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "dds-web", + "name": "@b1nd/dds-web", "type": "module", "types": "dist/index.d.ts", "main": "dist/cjs/index.cjs.js", diff --git a/rollup.config.js b/rollup.config.js index 3860222..163b532 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -79,7 +79,7 @@ export default [ dts(), url({ include: ["**/*.otf"], - limit: 0, + limit: Infinity, }), replace({ delimiters: ["", ""],