@cloudwerk/create-app 0.0.4 → 0.0.6
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.js +4 -2
- package/package.json +4 -2
- package/template/package.json.tmpl +1 -1
package/dist/index.js
CHANGED
|
@@ -177,9 +177,11 @@ function printSuccessBanner(projectName, projectPath, pm) {
|
|
|
177
177
|
logger.blank();
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
+
// src/versions.ts
|
|
181
|
+
var CORE_VERSION = "0.0.6";
|
|
182
|
+
var CLI_VERSION = "0.0.6";
|
|
183
|
+
|
|
180
184
|
// src/scaffold.ts
|
|
181
|
-
var CORE_VERSION = "0.0.1";
|
|
182
|
-
var CLI_VERSION = "0.0.2";
|
|
183
185
|
function getTemplateDir() {
|
|
184
186
|
const __dirname = path2.dirname(fileURLToPath(import.meta.url));
|
|
185
187
|
return path2.resolve(__dirname, "..", "template");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudwerk/create-app",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"description": "Create a new Cloudwerk app",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -38,8 +38,10 @@
|
|
|
38
38
|
"node": ">=20"
|
|
39
39
|
},
|
|
40
40
|
"scripts": {
|
|
41
|
+
"prebuild": "node scripts/generate-versions.js",
|
|
41
42
|
"build": "tsup src/index.ts --format esm --dts",
|
|
42
|
-
"dev": "tsup src/index.ts --format esm --dts --watch",
|
|
43
|
+
"dev": "node scripts/generate-versions.js && tsup src/index.ts --format esm --dts --watch",
|
|
44
|
+
"pretest": "node scripts/generate-versions.js",
|
|
43
45
|
"test": "vitest --run",
|
|
44
46
|
"test:watch": "vitest",
|
|
45
47
|
"test:coverage": "vitest --run --coverage"
|