baasix 0.1.4 → 0.1.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.
- package/dist/index.mjs +5 -2
- package/package.json +1 -1
- package/src/commands/init.ts +5 -2
package/dist/index.mjs
CHANGED
|
@@ -341,12 +341,15 @@ async function createApiProject(projectPath, config) {
|
|
|
341
341
|
version: "0.1.0",
|
|
342
342
|
type: "module",
|
|
343
343
|
scripts: {
|
|
344
|
-
dev: "
|
|
345
|
-
start: "
|
|
344
|
+
dev: "tsx watch server.js",
|
|
345
|
+
start: "tsx server.js"
|
|
346
346
|
},
|
|
347
347
|
dependencies: {
|
|
348
348
|
"@tspvivek/baasix": "latest",
|
|
349
349
|
"dotenv": "^16.3.1"
|
|
350
|
+
},
|
|
351
|
+
devDependencies: {
|
|
352
|
+
"tsx": "^4.16.0"
|
|
350
353
|
}
|
|
351
354
|
};
|
|
352
355
|
await fs.writeFile(
|
package/package.json
CHANGED
package/src/commands/init.ts
CHANGED
|
@@ -394,13 +394,16 @@ async function createApiProject(projectPath: string, config: ProjectConfig) {
|
|
|
394
394
|
version: "0.1.0",
|
|
395
395
|
type: "module",
|
|
396
396
|
scripts: {
|
|
397
|
-
dev: "
|
|
398
|
-
start: "
|
|
397
|
+
dev: "tsx watch server.js",
|
|
398
|
+
start: "tsx server.js",
|
|
399
399
|
},
|
|
400
400
|
dependencies: {
|
|
401
401
|
"@tspvivek/baasix": "latest",
|
|
402
402
|
"dotenv": "^16.3.1",
|
|
403
403
|
},
|
|
404
|
+
devDependencies: {
|
|
405
|
+
"tsx": "^4.16.0",
|
|
406
|
+
},
|
|
404
407
|
};
|
|
405
408
|
|
|
406
409
|
await fs.writeFile(
|