From 7872902fdbdbebf8113c789e2b7d0efdb66b16dc Mon Sep 17 00:00:00 2001 From: SeiyaKobayashi Date: Mon, 26 Aug 2024 13:32:43 +0900 Subject: [PATCH 1/3] Remove 'private:true' --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index a6210b2..9781a87 100644 --- a/package.json +++ b/package.json @@ -7,12 +7,11 @@ ], "repository": "https://github.com/jcam1/sdks.git", "license": "MIT", - "version": "1.1.0", + "version": "1.2.0", "engines": { "node": "^20.12.0", "yarn": "^1.22.22" }, - "private": true, "workspaces": [ "packages/*" ], From 4a029801dfe83105040d919ad1c05afb98b2422e Mon Sep 17 00:00:00 2001 From: SeiyaKobayashi Date: Mon, 26 Aug 2024 13:35:14 +0900 Subject: [PATCH 2/3] Remove 'README's in Japanese --- packages/core/README-ja.md | 1 - packages/v1/README-ja.md | 1 - 2 files changed, 2 deletions(-) delete mode 100644 packages/core/README-ja.md delete mode 100644 packages/v1/README-ja.md diff --git a/packages/core/README-ja.md b/packages/core/README-ja.md deleted file mode 100644 index 56e5957..0000000 --- a/packages/core/README-ja.md +++ /dev/null @@ -1 +0,0 @@ -# JPYC Core SDK diff --git a/packages/v1/README-ja.md b/packages/v1/README-ja.md deleted file mode 100644 index 166ba54..0000000 --- a/packages/v1/README-ja.md +++ /dev/null @@ -1 +0,0 @@ -# JPYC V1 SDK From 5436afb7ed2c43b16dcc788a3bcd43c4271346c7 Mon Sep 17 00:00:00 2001 From: SeiyaKobayashi Date: Mon, 26 Aug 2024 17:16:39 +0900 Subject: [PATCH 3/3] Fix 'publish' workflow --- .github/actions/publish-package/action.yml | 5 ++++- .github/workflows/publish.yml | 2 ++ package.json | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/actions/publish-package/action.yml b/.github/actions/publish-package/action.yml index d1cd003..aeaee32 100644 --- a/.github/actions/publish-package/action.yml +++ b/.github/actions/publish-package/action.yml @@ -4,12 +4,15 @@ inputs: node-auth-token: description: 'node token for authorization' required: true + working-directory: + description: 'working directory' + required: true runs: using: composite steps: - name: Publish package - run: yarn publish + run: yarn publish --cwd ${{ inputs.working-directory }} shell: bash env: NODE_AUTH_TOKEN: ${{ inputs.node-auth-token }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e2be52e..e02cbce 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -84,6 +84,7 @@ jobs: - uses: ./.github/actions/install-dependencies - uses: ./.github/actions/publish-package with: + working-directory: ./packages/core node-auth-token: ${{ secrets.NPM_TOKEN }} publish-v1: @@ -99,4 +100,5 @@ jobs: - uses: ./.github/actions/install-dependencies - uses: ./.github/actions/publish-package with: + working-directory: ./packages/v1 node-auth-token: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index 9781a87..661b5d4 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,7 @@ "node": "^20.12.0", "yarn": "^1.22.22" }, + "private": true, "workspaces": [ "packages/*" ],