Skip to content

Commit

Permalink
postinstall 명령어 대신 prepare 명령어 사용
Browse files Browse the repository at this point in the history
Yarn berry (v3) 가 NPM 표준 명령어 `prepare` 를 지원하지 않아 `postinstall` 스크립트를 대신 사용하였는데, 이것이 라이브러리 설치자들에게 문제를 일으킴.

따라서 본 프로젝트에서는 `yarn berry` 를 밴하고, `prepare` 스크립트로 회귀.
  • Loading branch information
samchon committed Nov 6, 2023
1 parent 9217269 commit c62c12b
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion packages/fake-iamport-server/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/fake-toss-payments-server/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions packages/iamport-server-api/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/iamport-server-api/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down
8 changes: 4 additions & 4 deletions packages/payment-api/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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",
Expand All @@ -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"
}
}
2 changes: 1 addition & 1 deletion packages/payment-api/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
}
],
"info": {
"version": "5.0.4",
"version": "5.0.5",
"title": "@samchon/payment-backend",
"description": "Payment Backend Server",
"license": {
Expand Down
12 changes: 6 additions & 6 deletions packages/payment-backend/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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",
Expand All @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions packages/toss-payments-server-api/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/toss-payments-server-api/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down

0 comments on commit c62c12b

Please sign in to comment.