Skip to content

Commit ae9d052

Browse files
chore: update postinstall script to handle missing files in CI/build environments
1 parent 63ba6f5 commit ae9d052

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"dev:watch": "nodemon --exec ts-node --esm src/index.ts",
3030
"test": "node test/test-server.js",
3131
"test-fixed": "node test/test-fixed.js",
32-
"postinstall": "node dist/bin/postinstall.js",
32+
"postinstall": "test -f dist/bin/postinstall.js && node dist/bin/postinstall.js || echo 'Skipping postinstall in CI/build environment'",
3333
"prepublishOnly": "npm run build && chmod +x dist/bin/* && echo '빌드 및 실행 권한 설정 완료'"
3434
},
3535
"engines": {

0 commit comments

Comments
 (0)