create-entity-server 0.0.31 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/bin/create.js +4 -0
  2. package/package.json +1 -1
  3. package/template/configs/database.json +2 -2
  4. package/template/entities/README.md +3 -3
  5. package/template/entities/System/Address/addr_dong.json +10115 -0
  6. package/template/entities/System/Address/addr_sido.json +39 -0
  7. package/template/entities/System/Address/addr_sigungu.json +1398 -0
  8. package/template/entities/System/Auth/account.json +0 -64
  9. package/template/entities/System/Auth/account_device.json +7 -22
  10. package/template/entities/System/Auth/account_login_log.json +3 -8
  11. package/template/entities/System/Auth/anon_device.json +56 -0
  12. package/template/scripts/api-key.sh +5 -2
  13. package/template/scripts/cleanup-history.sh +9 -4
  14. package/template/scripts/cli.sh +5 -2
  15. package/template/scripts/entity.sh +9 -4
  16. package/template/scripts/install-systemd.sh +7 -3
  17. package/template/scripts/normalize-entities.sh +9 -4
  18. package/template/scripts/rbac-role.sh +5 -2
  19. package/template/scripts/reset-all.sh +91 -13
  20. package/template/scripts/run.sh +73 -27
  21. package/template/scripts/sync.sh +9 -4
  22. package/template/configs/auth/oauth.json +0 -40
  23. package/template/configs/auth/password.json +0 -45
  24. package/template/configs/keys/apns.p8.example +0 -7
  25. package/template/configs/keys/firebase.pem.example +0 -7
  26. package/template/configs/notification/push.json +0 -25
  27. package/template/entities/System/Auth/account_oauth.json +0 -74
  28. package/template/entities/System/Auth/identity_verification.json +0 -106
  29. package/template/entities/System/Auth/password_history.json +0 -19
  30. package/template/entities/System/Notification/alimtalk_log.json +0 -65
  31. package/template/entities/System/Notification/alimtalk_msg.json +0 -53
  32. package/template/entities/System/Notification/friendtalk_log.json +0 -89
  33. package/template/entities/System/Notification/friendtalk_msg.json +0 -91
  34. package/template/entities/System/Notification/sms_log.json +0 -65
  35. package/template/entities/System/Notification/sms_msg.json +0 -82
  36. package/template/entities/System/Notification/sms_verification.json +0 -50
  37. package/template/entities/System/Payment/pg_cancel.json +0 -60
  38. package/template/entities/System/Payment/pg_order.json +0 -115
  39. package/template/entities/System/Payment/pg_webhook_log.json +0 -52
  40. package/template/entities/System/Push/push_log.json +0 -86
  41. package/template/entities/System/Push/push_msg.json +0 -56
  42. package/template/templates/email/auth/2fa_disabled.html +0 -23
  43. package/template/templates/email/auth/2fa_recovery_regenerated.html +0 -31
  44. package/template/templates/email/auth/2fa_setup_complete.html +0 -43
  45. package/template/templates/email/auth/welcome.html +0 -18
  46. package/template/templates/email/order/order_confirmation.html +0 -30
  47. /package/template/configs/{notification/smtp.json → smtp.json} +0 -0
package/bin/create.js CHANGED
@@ -289,6 +289,10 @@ ${cdCmd ? ` ${cdCmd}` : ""}
289
289
  같은 머신에서 여러 프로젝트를 동시에 운영할 수 있습니다.
290
290
 
291
291
  문서: https://github.com/${REPO}#readme
292
+
293
+ 참고:
294
+ 설치 요약이 출력된 뒤에도 npm/npx 마무리 작업 때문에 프롬프트가 바로 돌아오지 않을 수 있습니다.
295
+ 설치 완료 전까지 잠시만 기다려주세요.
292
296
  `);
293
297
  }
294
298
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-entity-server",
3
- "version": "0.0.31",
3
+ "version": "0.2.5",
4
4
  "description": "Create a new entity-server project in one command — like create-react-app or create-vite.",
5
5
  "keywords": [
6
6
  "entity-server",
@@ -8,8 +8,8 @@
8
8
  "database": "${DB_NAME_DEVELOPMENT}",
9
9
  "user": "${DB_USER_DEVELOPMENT}",
10
10
  "password": "${DB_PASSWORD_DEVELOPMENT}",
11
- "maxOpenConns": 20,
12
- "maxIdleConns": 10,
11
+ "maxOpenConns": 50,
12
+ "maxIdleConns": 25,
13
13
  "connMaxLifetimeSec": 3600
14
14
  },
15
15
  "production": {
@@ -230,8 +230,8 @@ API_KEY=<admin-key> ./scripts/api-keys.sh delete 3
230
230
  ```json
231
231
  {
232
232
  "index": {
233
- "user_seq": {
234
- "comment": "사용자seq",
233
+ "account_seq": {
234
+ "comment": "계정seq",
235
235
  "required": true
236
236
  },
237
237
  "device_id": {
@@ -239,7 +239,7 @@ API_KEY=<admin-key> ./scripts/api-keys.sh delete 3
239
239
  "required": true
240
240
  }
241
241
  },
242
- "unique": [["user_seq", "device_id"]]
242
+ "unique": [["account_seq", "device_id"]]
243
243
  }
244
244
  ```
245
245