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 +1 -1
- package/bin/index.js +2 -2
- package/package.json +1 -1
- package/template/docker-compose.yml +4 -4
- package/template/package.json +1 -1
- package/template/tsconfig.json +3 -3
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# CraftJS
|
|
2
2
|
|
|
3
|
-
A starter kit backend
|
|
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(`📦
|
|
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("📄
|
|
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.
|
|
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"
|
package/template/package.json
CHANGED
|
@@ -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
|
+
"version": "1.0.8",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"express",
|
|
7
7
|
"typescript",
|
package/template/tsconfig.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"include": ["src/**/*", "craft.js"],
|
|
3
3
|
"compilerOptions": {
|
|
4
|
-
"target": "
|
|
5
|
-
"module": "
|
|
6
|
-
"moduleResolution": "
|
|
4
|
+
"target": "ES2020",
|
|
5
|
+
"module": "Node16",
|
|
6
|
+
"moduleResolution": "Node16",
|
|
7
7
|
"outDir": "./build",
|
|
8
8
|
"esModuleInterop": true,
|
|
9
9
|
"forceConsistentCasingInFileNames": true,
|