create-tina-app 1.3.1 → 1.3.3
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 +8 -4
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -27,12 +27,12 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
27
27
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
28
|
|
|
29
29
|
// src/index.ts
|
|
30
|
-
var
|
|
31
|
-
__export(
|
|
30
|
+
var index_exports = {};
|
|
31
|
+
__export(index_exports, {
|
|
32
32
|
PKG_MANAGERS: () => PKG_MANAGERS,
|
|
33
33
|
run: () => run
|
|
34
34
|
});
|
|
35
|
-
module.exports = __toCommonJS(
|
|
35
|
+
module.exports = __toCommonJS(index_exports);
|
|
36
36
|
var import_metrics = require("@tinacms/metrics");
|
|
37
37
|
var import_commander = require("commander");
|
|
38
38
|
var import_prompts = __toESM(require("prompts"));
|
|
@@ -40,7 +40,7 @@ var import_node_path = __toESM(require("path"));
|
|
|
40
40
|
|
|
41
41
|
// package.json
|
|
42
42
|
var name = "create-tina-app";
|
|
43
|
-
var version = "1.3.
|
|
43
|
+
var version = "1.3.3";
|
|
44
44
|
|
|
45
45
|
// src/util/fileUtil.ts
|
|
46
46
|
var import_fs_extra = __toESM(require("fs-extra"));
|
|
@@ -568,6 +568,10 @@ async function run() {
|
|
|
568
568
|
log.err("Failed to initialize Git repository, skipping.");
|
|
569
569
|
}
|
|
570
570
|
log.success("Starter successfully created!");
|
|
571
|
+
if (template.value === "tina-hugo-starter")
|
|
572
|
+
log.warn(
|
|
573
|
+
"Hugo is required for this starter. Install it: https://gohugo.io/installation/"
|
|
574
|
+
);
|
|
571
575
|
log.log(TextStyles.bold("\nTo launch your app, run:\n"));
|
|
572
576
|
log.cmd(`cd ${appName}
|
|
573
577
|
${pkgManager} run dev`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-tina-app",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.3",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -31,21 +31,21 @@
|
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/cross-spawn": "^6.0.6",
|
|
33
33
|
"@types/fs-extra": "^11.0.4",
|
|
34
|
-
"@types/node": "^22.
|
|
34
|
+
"@types/node": "^22.13.1",
|
|
35
35
|
"@types/prompts": "^2.4.9",
|
|
36
36
|
"@types/tar": "6.1.13",
|
|
37
|
-
"typescript": "^5.
|
|
38
|
-
"@tinacms/scripts": "1.3.
|
|
37
|
+
"typescript": "^5.7.3",
|
|
38
|
+
"@tinacms/scripts": "1.3.3"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"chalk": "4.1.2",
|
|
42
42
|
"commander": "^12.1.0",
|
|
43
|
-
"cross-spawn": "^7.0.
|
|
44
|
-
"fs-extra": "^11.
|
|
43
|
+
"cross-spawn": "^7.0.6",
|
|
44
|
+
"fs-extra": "^11.3.0",
|
|
45
45
|
"prompts": "^2.4.2",
|
|
46
46
|
"tar": "7.4.0",
|
|
47
47
|
"validate-npm-package-name": "^5.0.1",
|
|
48
|
-
"@tinacms/metrics": "1.0.
|
|
48
|
+
"@tinacms/metrics": "1.0.9"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
51
|
"types": "pnpm tsc",
|