create-craftjs 1.0.7 → 1.0.9

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # CraftJS
2
2
 
3
- A starter kit backend framework powered by Express, TypeScript, EJS Engine, and Prisma — designed for rapid development, simplicity, and scalability.
3
+ A starter kit backend powered by Express, TypeScript, EJS Engine, and Prisma — designed for rapid development, simplicity, and scalability.
4
4
 
5
5
  ---
6
6
 
package/bin/index.js CHANGED
@@ -71,7 +71,7 @@ const ask = (question) => {
71
71
  const pkg = JSON.parse(fs.readFileSync(packageJsonPath, "utf8"));
72
72
  pkg.name = projectName;
73
73
  fs.writeFileSync(packageJsonPath, JSON.stringify(pkg, null, 2));
74
- console.log(`📦 Updated package.json name to "${projectName}"`);
74
+ console.log(`📦 Generating package.json name to "${projectName}"`);
75
75
  }
76
76
 
77
77
  const envContent = `APP_NAME="${projectName}"
@@ -93,7 +93,7 @@ JWT_SECRET=
93
93
 
94
94
  if (fs.existsSync(sourceReadmePath)) {
95
95
  fs.copyFileSync(sourceReadmePath, targetReadmePath);
96
- console.log("📄 Copied README.md...");
96
+ console.log("📄 Generating README.md...");
97
97
  }
98
98
 
99
99
  console.log("📝 Generating .env and .env.example...");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-craftjs",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
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"
@@ -1,8 +1,8 @@
1
1
  services:
2
- craft-js:
3
- container_name: craft-js
4
- image: craft_js_image
2
+ ${APP_NAME}:
3
+ container_name: ${APP_NAME}
4
+ image: ${APP_NAME}_image
5
5
  build: .
6
6
  ports:
7
- - "4444:4444"
7
+ - "${PORT}:4444"
8
8
  restart: always
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "craftjs",
3
3
  "description": "A starter kit backend framework powered by Express, TypeScript, EJS Engine, and Prisma — designed for rapid development, simplicity, and scalability.",
4
- "version": "1.0.4",
4
+ "version": "1.0.8",
5
5
  "keywords": [
6
6
  "express",
7
7
  "typescript",
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "include": ["src/**/*", "craft.js"],
3
3
  "compilerOptions": {
4
- "target": "es2016",
5
- "module": "commonjs",
6
- "moduleResolution": "Node",
4
+ "target": "ES2020",
5
+ "module": "Node16",
6
+ "moduleResolution": "Node16",
7
7
  "outDir": "./build",
8
8
  "esModuleInterop": true,
9
9
  "forceConsistentCasingInFileNames": true,