create-craftjs 1.0.6 → 1.0.7

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.
package/bin/index.js CHANGED
@@ -80,9 +80,9 @@ NODE_ENV="development"
80
80
  TZ="Asia/Jakarta"
81
81
  DATETIME_FORMAT="dd-MM-yyyy HH:mm:ss"
82
82
  DATABASE_URL="mysql://root:@localhost:3306/${projectName}"
83
- BASE_URL="http://localhost:3000"
84
- BASE_API_URL="http://localhost:3000/api"
85
- PORT=3000
83
+ BASE_URL="http://localhost:4444"
84
+ BASE_API_URL="http://localhost:4444/api"
85
+ PORT=4444
86
86
  JWT_SECRET=
87
87
  `;
88
88
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-craftjs",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "A starter kit backend framework powered by Express, TypeScript, EJS Engine, and Prisma — designed for rapid development, simplicity, and scalability.",
5
5
  "bin": {
6
6
  "create-craftjs": "bin/index.js"
@@ -52,6 +52,6 @@ COPY --from=build /usr/src/app/prisma ./prisma
52
52
  COPY --from=build /usr/src/app/.env ./
53
53
  COPY --from=build /usr/src/app/logs ./build/logs
54
54
 
55
- EXPOSE 3000
55
+ EXPOSE 4444
56
56
 
57
57
  CMD ["node", "build/main.js"]
@@ -4,7 +4,7 @@ const fs = require("fs");
4
4
  const path = require("path");
5
5
 
6
6
  function Start() {
7
- const entryPoint = path.resolve("dist/main.js");
7
+ const entryPoint = path.resolve("build/main.js");
8
8
 
9
9
  if (!fs.existsSync(entryPoint)) {
10
10
  console.error(
@@ -4,5 +4,5 @@ services:
4
4
  image: craft_js_image
5
5
  build: .
6
6
  ports:
7
- - "3000:3000"
7
+ - "4444:4444"
8
8
  restart: always