From c62c12b472cfeac4dfa1c7649cb254b29408caaa Mon Sep 17 00:00:00 2001 From: Jeongho Nam Date: Mon, 6 Nov 2023 14:52:12 +0900 Subject: [PATCH] =?UTF-8?q?`postinstall`=20=EB=AA=85=EB=A0=B9=EC=96=B4=20?= =?UTF-8?q?=EB=8C=80=EC=8B=A0=20`prepare`=20=EB=AA=85=EB=A0=B9=EC=96=B4=20?= =?UTF-8?q?=EC=82=AC=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Yarn berry (v3) 가 NPM 표준 명령어 `prepare` 를 지원하지 않아 `postinstall` 스크립트를 대신 사용하였는데, 이것이 라이브러리 설치자들에게 문제를 일으킴. 따라서 본 프로젝트에서는 `yarn berry` 를 밴하고, `prepare` 스크립트로 회귀. --- packages/fake-iamport-server/package.json | 2 +- packages/fake-toss-payments-server/package.json | 2 +- packages/iamport-server-api/package.json | 4 ++-- packages/iamport-server-api/swagger.json | 2 +- packages/payment-api/package.json | 8 ++++---- packages/payment-api/swagger.json | 2 +- packages/payment-backend/package.json | 12 ++++++------ packages/toss-payments-server-api/package.json | 4 ++-- packages/toss-payments-server-api/swagger.json | 2 +- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/packages/fake-iamport-server/package.json b/packages/fake-iamport-server/package.json index 41e15dd..6ec766f 100644 --- a/packages/fake-iamport-server/package.json +++ b/packages/fake-iamport-server/package.json @@ -1,6 +1,6 @@ { "name": "fake-iamport-server", - "version": "5.0.4", + "version": "5.0.5", "description": "Fake iamport server for testing", "main": "lib/index.js", "typings": "lib/index.d.ts", diff --git a/packages/fake-toss-payments-server/package.json b/packages/fake-toss-payments-server/package.json index 212bf57..30dfcf8 100644 --- a/packages/fake-toss-payments-server/package.json +++ b/packages/fake-toss-payments-server/package.json @@ -1,6 +1,6 @@ { "name": "fake-toss-payments-server", - "version": "5.0.4", + "version": "5.0.5", "description": "Fake toss-payments server for testing", "main": "lib/index.js", "typings": "lib/index.d.ts", diff --git a/packages/iamport-server-api/package.json b/packages/iamport-server-api/package.json index 95890a0..ffb6271 100644 --- a/packages/iamport-server-api/package.json +++ b/packages/iamport-server-api/package.json @@ -1,6 +1,6 @@ { "name": "iamport-server-api", - "version": "5.0.4", + "version": "5.0.5", "description": "API for Iamport Server", "main": "lib/index.js", "typings": "lib/index.d.ts", @@ -9,7 +9,7 @@ "build:sdk": "rimraf ../fake-iamport-server/src/api/functional && cd ../fake-iamport-server && npx nestia sdk && cd ../iamport-server-api", "compile": "rimraf lib && tsc", "deploy": "npm run build && npm publish", - "postinstall": "ts-patch install" + "prepare": "ts-patch install" }, "repository": { "type": "git", diff --git a/packages/iamport-server-api/swagger.json b/packages/iamport-server-api/swagger.json index 879bec7..58fb511 100644 --- a/packages/iamport-server-api/swagger.json +++ b/packages/iamport-server-api/swagger.json @@ -13,7 +13,7 @@ "info": { "title": "Iamport API", "description": "Built by [fake-iamport-server](https://github.com/samchon/payments/tree/master/packages/fake-iamport-server) with [nestia](https://github.com/samchon/nestia)", - "version": "5.0.4", + "version": "5.0.5", "license": { "name": "MIT" } diff --git a/packages/payment-api/package.json b/packages/payment-api/package.json index d36721b..9db7a1b 100644 --- a/packages/payment-api/package.json +++ b/packages/payment-api/package.json @@ -1,6 +1,6 @@ { "name": "@samchon/payment-api", - "version": "5.0.4", + "version": "5.0.5", "description": "API for Payment Backend", "main": "lib/index.js", "typings": "lib/index.d.ts", @@ -9,7 +9,7 @@ "build:sdk": "rimraf ../payment-backend/src/api/functional && cd ../payment-backend && npx nestia sdk && cd ../payment-api", "compile": "rimraf lib && tsc", "deploy": "npm run build && npm publish", - "postinstall": "ts-patch install" + "prepare": "ts-patch install" }, "repository": { "type": "git", @@ -35,8 +35,8 @@ }, "dependencies": { "@nestia/fetcher": "^2.3.4", - "iamport-server-api": "^5.0.4", - "toss-payments-server-api": "^5.0.4", + "iamport-server-api": "^5.0.5", + "toss-payments-server-api": "^5.0.5", "typia": "^5.2.4" } } \ No newline at end of file diff --git a/packages/payment-api/swagger.json b/packages/payment-api/swagger.json index b27fe99..6551af3 100644 --- a/packages/payment-api/swagger.json +++ b/packages/payment-api/swagger.json @@ -7,7 +7,7 @@ } ], "info": { - "version": "5.0.4", + "version": "5.0.5", "title": "@samchon/payment-backend", "description": "Payment Backend Server", "license": { diff --git a/packages/payment-backend/package.json b/packages/payment-backend/package.json index 5d7d13b..dbd5656 100644 --- a/packages/payment-backend/package.json +++ b/packages/payment-backend/package.json @@ -1,6 +1,6 @@ { "name": "@samchon/payment-backend", - "version": "5.0.4", + "version": "5.0.5", "description": "Payment Backend Server", "main": "lib/index.js", "typings": "lib/index.d.ts", @@ -65,14 +65,14 @@ "@typescript-eslint/parser": "^5.26.0", "cli": "^1.0.1", "copyfiles": "^2.4.1", - "iamport-server-api": "^5.0.4", + "iamport-server-api": "^5.0.5", "nestia": "^5.0.1", "pm2": "^4.5.6", "prettier": "^2.6.2", - "prisma-markdown": "^1.0.5", + "prisma-markdown": "^1.0.6", "rimraf": "^3.0.2", "sloc": "^0.2.1", - "toss-payments-server-api": "^5.0.4", + "toss-payments-server-api": "^5.0.5", "ts-node": "^10.9.1", "ts-patch": "^3.0.2", "typescript": "^5.2.2", @@ -84,8 +84,8 @@ "bcryptjs": "^2.4.3", "dotenv": "^16.3.1", "dotenv-expand": "^10.0.0", - "fake-iamport-server": "^5.0.4", - "fake-toss-payments-server": "^5.0.4", + "fake-iamport-server": "^5.0.5", + "fake-toss-payments-server": "^5.0.5", "git-last-commit": "^1.0.0", "inquirer": "^8.2.5", "mutex-server": "^0.3.1", diff --git a/packages/toss-payments-server-api/package.json b/packages/toss-payments-server-api/package.json index ba8fd0c..7951c31 100644 --- a/packages/toss-payments-server-api/package.json +++ b/packages/toss-payments-server-api/package.json @@ -1,6 +1,6 @@ { "name": "toss-payments-server-api", - "version": "5.0.4", + "version": "5.0.5", "description": "API for Toss Payments Server", "main": "lib/index.js", "typings": "lib/index.d.ts", @@ -9,7 +9,7 @@ "build:sdk": "rimraf ../fake-toss-payments-server/src/api/functional && cd ../fake-toss-payments-server && npx nestia sdk && cd ../toss-payments-server-api", "compile": "rimraf lib && tsc", "deploy": "npm run build && npm publish", - "postinstall": "ts-patch install" + "prepare": "ts-patch install" }, "repository": { "type": "git", diff --git a/packages/toss-payments-server-api/swagger.json b/packages/toss-payments-server-api/swagger.json index 2774d3c..fd303c1 100644 --- a/packages/toss-payments-server-api/swagger.json +++ b/packages/toss-payments-server-api/swagger.json @@ -13,7 +13,7 @@ "info": { "title": "Toss Payments API", "description": "Built by [fake-toss-payments-server](https://github.com/samchon/payments/tree/master/packages/toss-payments-server-api) with [nestia](https://github.com/samchon/nestia)", - "version": "5.0.4", + "version": "5.0.5", "license": { "name": "MIT" }