create-awesome-node-app 0.6.6 → 0.7.0
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 +250 -46
- package/dist/chunk-KDVE4P46.js +124 -0
- package/dist/chunk-KDVE4P46.js.map +1 -0
- package/dist/index.cjs +60 -25
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +55 -139
- package/dist/index.js.map +1 -0
- package/dist/templates.cjs +126 -0
- package/dist/templates.cjs.map +1 -0
- package/dist/templates.d.cts +40 -0
- package/dist/templates.d.ts +40 -0
- package/dist/templates.js +13 -0
- package/dist/templates.js.map +1 -0
- package/package.json +11 -7
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
|
|
30
|
+
// src/templates.ts
|
|
31
|
+
var templates_exports = {};
|
|
32
|
+
__export(templates_exports, {
|
|
33
|
+
getCategoryData: () => getCategoryData,
|
|
34
|
+
getExtensionsGroupedByCategory: () => getExtensionsGroupedByCategory,
|
|
35
|
+
getTemplateCategories: () => getTemplateCategories,
|
|
36
|
+
getTemplatesForCategory: () => getTemplatesForCategory
|
|
37
|
+
});
|
|
38
|
+
module.exports = __toCommonJS(templates_exports);
|
|
39
|
+
var import_axios = __toESM(require("axios"), 1);
|
|
40
|
+
var TEMPLATE_DATA_FILE_URL = "https://raw.githubusercontent.com/Create-Node-App/cna-templates/main/templates.json";
|
|
41
|
+
var CACHE_TTL_MS = 36e5;
|
|
42
|
+
var templateDataCache = {
|
|
43
|
+
data: null,
|
|
44
|
+
timestamp: 0
|
|
45
|
+
};
|
|
46
|
+
var fetchTemplateData = async () => {
|
|
47
|
+
try {
|
|
48
|
+
const response = await import_axios.default.get(TEMPLATE_DATA_FILE_URL);
|
|
49
|
+
return response.data;
|
|
50
|
+
} catch {
|
|
51
|
+
throw new Error("Failed to fetch template data");
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
var getTemplateData = async () => {
|
|
55
|
+
const currentTime = Date.now();
|
|
56
|
+
if (templateDataCache.data === null || currentTime - templateDataCache.timestamp > CACHE_TTL_MS) {
|
|
57
|
+
templateDataCache.data = await fetchTemplateData();
|
|
58
|
+
templateDataCache.timestamp = currentTime;
|
|
59
|
+
}
|
|
60
|
+
return templateDataCache.data;
|
|
61
|
+
};
|
|
62
|
+
var getTemplateCategories = async (cliArgs) => {
|
|
63
|
+
if (cliArgs?.category) {
|
|
64
|
+
return [cliArgs.category];
|
|
65
|
+
}
|
|
66
|
+
const templateData = await getTemplateData();
|
|
67
|
+
if (templateData.categories && templateData.categories.length > 0) {
|
|
68
|
+
return templateData.categories.map((category) => category.slug);
|
|
69
|
+
}
|
|
70
|
+
const categories = /* @__PURE__ */ new Set();
|
|
71
|
+
templateData.templates.forEach((template) => {
|
|
72
|
+
categories.add(template.category);
|
|
73
|
+
});
|
|
74
|
+
return Array.from(categories);
|
|
75
|
+
};
|
|
76
|
+
var getCategoryData = async (categorySlug) => {
|
|
77
|
+
const templateData = await getTemplateData();
|
|
78
|
+
if (templateData.categories && templateData.categories.length > 0) {
|
|
79
|
+
return templateData.categories.find(
|
|
80
|
+
(category) => category.slug === categorySlug
|
|
81
|
+
);
|
|
82
|
+
}
|
|
83
|
+
return void 0;
|
|
84
|
+
};
|
|
85
|
+
var getTemplatesForCategory = async (category, cliArgs) => {
|
|
86
|
+
const selectedCategory = cliArgs?.category || category;
|
|
87
|
+
if (!selectedCategory) {
|
|
88
|
+
throw new Error("Category is required in non-interactive mode.");
|
|
89
|
+
}
|
|
90
|
+
const templateData = await getTemplateData();
|
|
91
|
+
const templates = templateData.templates.filter(
|
|
92
|
+
(template) => template.category === selectedCategory
|
|
93
|
+
);
|
|
94
|
+
return templates;
|
|
95
|
+
};
|
|
96
|
+
var getExtensionsGroupedByCategory = async (type, cliArgs) => {
|
|
97
|
+
const selectedType = cliArgs?.type ? cliArgs.type.split(",") : type;
|
|
98
|
+
const safeType = Array.isArray(selectedType) ? selectedType : [selectedType];
|
|
99
|
+
const templateData = await getTemplateData();
|
|
100
|
+
const extensions = templateData.extensions.filter((extension) => {
|
|
101
|
+
const safeExtensionType = Array.isArray(extension.type) ? extension.type : [extension.type];
|
|
102
|
+
return safeExtensionType.some(
|
|
103
|
+
(extensionType) => safeType.includes(extensionType)
|
|
104
|
+
);
|
|
105
|
+
});
|
|
106
|
+
const extensionsGroupedByCategory = extensions.reduce(
|
|
107
|
+
(acc, extension) => {
|
|
108
|
+
const category = extension.category;
|
|
109
|
+
if (!acc[category]) {
|
|
110
|
+
acc[category] = [];
|
|
111
|
+
}
|
|
112
|
+
acc[category].push(extension);
|
|
113
|
+
return acc;
|
|
114
|
+
},
|
|
115
|
+
{}
|
|
116
|
+
);
|
|
117
|
+
return extensionsGroupedByCategory;
|
|
118
|
+
};
|
|
119
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
120
|
+
0 && (module.exports = {
|
|
121
|
+
getCategoryData,
|
|
122
|
+
getExtensionsGroupedByCategory,
|
|
123
|
+
getTemplateCategories,
|
|
124
|
+
getTemplatesForCategory
|
|
125
|
+
});
|
|
126
|
+
//# sourceMappingURL=templates.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/templates.ts"],"sourcesContent":["import axios from \"axios\";\nimport type { PromptType } from \"prompts\";\n\nconst TEMPLATE_DATA_FILE_URL =\n \"https://raw.githubusercontent.com/Create-Node-App/cna-templates/main/templates.json\";\n\nexport type TemplateOrExtensionData = {\n name: string;\n slug: string;\n description: string;\n url: string;\n category: string;\n labels?: string[];\n};\n\nexport type TemplateData = TemplateOrExtensionData & {\n type: string;\n customOptions?: {\n name: string;\n type: PromptType;\n [key: string]: unknown;\n }[];\n};\n\nexport type ExtensionType = string | string[];\n\nexport type ExtensionData = TemplateOrExtensionData & {\n type: ExtensionType;\n};\n\nexport type CategoryData = {\n slug: string;\n name: string;\n description: string;\n details: string;\n labels: string[];\n};\n\nexport type Templates = {\n templates: TemplateData[];\n extensions: ExtensionData[];\n categories: CategoryData[];\n};\n\nconst CACHE_TTL_MS = 3600000; // Cache data for 1 hour\n\nconst templateDataCache = {\n data: null as Templates | null,\n timestamp: 0,\n};\n\nconst fetchTemplateData = async () => {\n try {\n const response = await axios.get<Templates>(TEMPLATE_DATA_FILE_URL);\n return response.data;\n } catch {\n // Handle network error, e.g., log it or show a user-friendly message.\n throw new Error(\"Failed to fetch template data\");\n }\n};\n\nconst getTemplateData = async () => {\n const currentTime = Date.now();\n\n if (\n templateDataCache.data === null ||\n currentTime - templateDataCache.timestamp > CACHE_TTL_MS\n ) {\n // Data is not in cache or has expired, fetch and cache it.\n templateDataCache.data = await fetchTemplateData();\n templateDataCache.timestamp = currentTime;\n }\n\n return templateDataCache.data;\n};\n\nexport const getTemplateCategories = async (\n cliArgs?: Record<string, string>,\n) => {\n if (cliArgs?.category) {\n return [cliArgs.category];\n }\n\n const templateData = await getTemplateData();\n\n // If categories are available in the data, use them\n if (templateData.categories && templateData.categories.length > 0) {\n return templateData.categories.map((category) => category.slug);\n }\n\n // Fallback to the old method of extracting categories from templates\n const categories = new Set<string>();\n\n templateData.templates.forEach((template) => {\n categories.add(template.category);\n });\n\n return Array.from(categories);\n};\n\nexport const getCategoryData = async (\n categorySlug: string,\n): Promise<CategoryData | undefined> => {\n const templateData = await getTemplateData();\n\n if (templateData.categories && templateData.categories.length > 0) {\n return templateData.categories.find(\n (category) => category.slug === categorySlug,\n );\n }\n\n return undefined;\n};\n\nexport const getTemplatesForCategory = async (\n category?: string,\n cliArgs?: Record<string, string>,\n) => {\n const selectedCategory = cliArgs?.category || category;\n if (!selectedCategory) {\n throw new Error(\"Category is required in non-interactive mode.\");\n }\n\n const templateData = await getTemplateData();\n\n const templates = templateData.templates.filter(\n (template) => template.category === selectedCategory,\n );\n\n return templates;\n};\n\nexport const getExtensionsGroupedByCategory = async (\n type: ExtensionType,\n cliArgs?: Record<string, string>,\n) => {\n const selectedType = cliArgs?.type ? cliArgs.type.split(\",\") : type;\n\n const safeType = Array.isArray(selectedType) ? selectedType : [selectedType];\n\n const templateData = await getTemplateData();\n\n const extensions = templateData.extensions.filter((extension) => {\n const safeExtensionType = Array.isArray(extension.type)\n ? extension.type\n : [extension.type];\n\n return safeExtensionType.some((extensionType) =>\n safeType.includes(extensionType),\n );\n });\n\n const extensionsGroupedByCategory = extensions.reduce(\n (acc, extension) => {\n const category = extension.category;\n\n if (!acc[category]) {\n acc[category] = [];\n }\n\n acc[category].push(extension);\n\n return acc;\n },\n {} as Record<string, TemplateOrExtensionData[]>,\n );\n\n return extensionsGroupedByCategory;\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAGlB,IAAM,yBACJ;AAwCF,IAAM,eAAe;AAErB,IAAM,oBAAoB;AAAA,EACxB,MAAM;AAAA,EACN,WAAW;AACb;AAEA,IAAM,oBAAoB,YAAY;AACpC,MAAI;AACF,UAAM,WAAW,MAAM,aAAAA,QAAM,IAAe,sBAAsB;AAClE,WAAO,SAAS;AAAA,EAClB,QAAQ;AAEN,UAAM,IAAI,MAAM,+BAA+B;AAAA,EACjD;AACF;AAEA,IAAM,kBAAkB,YAAY;AAClC,QAAM,cAAc,KAAK,IAAI;AAE7B,MACE,kBAAkB,SAAS,QAC3B,cAAc,kBAAkB,YAAY,cAC5C;AAEA,sBAAkB,OAAO,MAAM,kBAAkB;AACjD,sBAAkB,YAAY;AAAA,EAChC;AAEA,SAAO,kBAAkB;AAC3B;AAEO,IAAM,wBAAwB,OACnC,YACG;AACH,MAAI,SAAS,UAAU;AACrB,WAAO,CAAC,QAAQ,QAAQ;AAAA,EAC1B;AAEA,QAAM,eAAe,MAAM,gBAAgB;AAG3C,MAAI,aAAa,cAAc,aAAa,WAAW,SAAS,GAAG;AACjE,WAAO,aAAa,WAAW,IAAI,CAAC,aAAa,SAAS,IAAI;AAAA,EAChE;AAGA,QAAM,aAAa,oBAAI,IAAY;AAEnC,eAAa,UAAU,QAAQ,CAAC,aAAa;AAC3C,eAAW,IAAI,SAAS,QAAQ;AAAA,EAClC,CAAC;AAED,SAAO,MAAM,KAAK,UAAU;AAC9B;AAEO,IAAM,kBAAkB,OAC7B,iBACsC;AACtC,QAAM,eAAe,MAAM,gBAAgB;AAE3C,MAAI,aAAa,cAAc,aAAa,WAAW,SAAS,GAAG;AACjE,WAAO,aAAa,WAAW;AAAA,MAC7B,CAAC,aAAa,SAAS,SAAS;AAAA,IAClC;AAAA,EACF;AAEA,SAAO;AACT;AAEO,IAAM,0BAA0B,OACrC,UACA,YACG;AACH,QAAM,mBAAmB,SAAS,YAAY;AAC9C,MAAI,CAAC,kBAAkB;AACrB,UAAM,IAAI,MAAM,+CAA+C;AAAA,EACjE;AAEA,QAAM,eAAe,MAAM,gBAAgB;AAE3C,QAAM,YAAY,aAAa,UAAU;AAAA,IACvC,CAAC,aAAa,SAAS,aAAa;AAAA,EACtC;AAEA,SAAO;AACT;AAEO,IAAM,iCAAiC,OAC5C,MACA,YACG;AACH,QAAM,eAAe,SAAS,OAAO,QAAQ,KAAK,MAAM,GAAG,IAAI;AAE/D,QAAM,WAAW,MAAM,QAAQ,YAAY,IAAI,eAAe,CAAC,YAAY;AAE3E,QAAM,eAAe,MAAM,gBAAgB;AAE3C,QAAM,aAAa,aAAa,WAAW,OAAO,CAAC,cAAc;AAC/D,UAAM,oBAAoB,MAAM,QAAQ,UAAU,IAAI,IAClD,UAAU,OACV,CAAC,UAAU,IAAI;AAEnB,WAAO,kBAAkB;AAAA,MAAK,CAAC,kBAC7B,SAAS,SAAS,aAAa;AAAA,IACjC;AAAA,EACF,CAAC;AAED,QAAM,8BAA8B,WAAW;AAAA,IAC7C,CAAC,KAAK,cAAc;AAClB,YAAM,WAAW,UAAU;AAE3B,UAAI,CAAC,IAAI,QAAQ,GAAG;AAClB,YAAI,QAAQ,IAAI,CAAC;AAAA,MACnB;AAEA,UAAI,QAAQ,EAAE,KAAK,SAAS;AAE5B,aAAO;AAAA,IACT;AAAA,IACA,CAAC;AAAA,EACH;AAEA,SAAO;AACT;","names":["axios"]}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { PromptType } from 'prompts';
|
|
2
|
+
|
|
3
|
+
type TemplateOrExtensionData = {
|
|
4
|
+
name: string;
|
|
5
|
+
slug: string;
|
|
6
|
+
description: string;
|
|
7
|
+
url: string;
|
|
8
|
+
category: string;
|
|
9
|
+
labels?: string[];
|
|
10
|
+
};
|
|
11
|
+
type TemplateData = TemplateOrExtensionData & {
|
|
12
|
+
type: string;
|
|
13
|
+
customOptions?: {
|
|
14
|
+
name: string;
|
|
15
|
+
type: PromptType;
|
|
16
|
+
[key: string]: unknown;
|
|
17
|
+
}[];
|
|
18
|
+
};
|
|
19
|
+
type ExtensionType = string | string[];
|
|
20
|
+
type ExtensionData = TemplateOrExtensionData & {
|
|
21
|
+
type: ExtensionType;
|
|
22
|
+
};
|
|
23
|
+
type CategoryData = {
|
|
24
|
+
slug: string;
|
|
25
|
+
name: string;
|
|
26
|
+
description: string;
|
|
27
|
+
details: string;
|
|
28
|
+
labels: string[];
|
|
29
|
+
};
|
|
30
|
+
type Templates = {
|
|
31
|
+
templates: TemplateData[];
|
|
32
|
+
extensions: ExtensionData[];
|
|
33
|
+
categories: CategoryData[];
|
|
34
|
+
};
|
|
35
|
+
declare const getTemplateCategories: (cliArgs?: Record<string, string>) => Promise<string[]>;
|
|
36
|
+
declare const getCategoryData: (categorySlug: string) => Promise<CategoryData | undefined>;
|
|
37
|
+
declare const getTemplatesForCategory: (category?: string, cliArgs?: Record<string, string>) => Promise<TemplateData[]>;
|
|
38
|
+
declare const getExtensionsGroupedByCategory: (type: ExtensionType, cliArgs?: Record<string, string>) => Promise<Record<string, TemplateOrExtensionData[]>>;
|
|
39
|
+
|
|
40
|
+
export { type CategoryData, type ExtensionData, type ExtensionType, type TemplateData, type TemplateOrExtensionData, type Templates, getCategoryData, getExtensionsGroupedByCategory, getTemplateCategories, getTemplatesForCategory };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { PromptType } from 'prompts';
|
|
2
|
+
|
|
3
|
+
type TemplateOrExtensionData = {
|
|
4
|
+
name: string;
|
|
5
|
+
slug: string;
|
|
6
|
+
description: string;
|
|
7
|
+
url: string;
|
|
8
|
+
category: string;
|
|
9
|
+
labels?: string[];
|
|
10
|
+
};
|
|
11
|
+
type TemplateData = TemplateOrExtensionData & {
|
|
12
|
+
type: string;
|
|
13
|
+
customOptions?: {
|
|
14
|
+
name: string;
|
|
15
|
+
type: PromptType;
|
|
16
|
+
[key: string]: unknown;
|
|
17
|
+
}[];
|
|
18
|
+
};
|
|
19
|
+
type ExtensionType = string | string[];
|
|
20
|
+
type ExtensionData = TemplateOrExtensionData & {
|
|
21
|
+
type: ExtensionType;
|
|
22
|
+
};
|
|
23
|
+
type CategoryData = {
|
|
24
|
+
slug: string;
|
|
25
|
+
name: string;
|
|
26
|
+
description: string;
|
|
27
|
+
details: string;
|
|
28
|
+
labels: string[];
|
|
29
|
+
};
|
|
30
|
+
type Templates = {
|
|
31
|
+
templates: TemplateData[];
|
|
32
|
+
extensions: ExtensionData[];
|
|
33
|
+
categories: CategoryData[];
|
|
34
|
+
};
|
|
35
|
+
declare const getTemplateCategories: (cliArgs?: Record<string, string>) => Promise<string[]>;
|
|
36
|
+
declare const getCategoryData: (categorySlug: string) => Promise<CategoryData | undefined>;
|
|
37
|
+
declare const getTemplatesForCategory: (category?: string, cliArgs?: Record<string, string>) => Promise<TemplateData[]>;
|
|
38
|
+
declare const getExtensionsGroupedByCategory: (type: ExtensionType, cliArgs?: Record<string, string>) => Promise<Record<string, TemplateOrExtensionData[]>>;
|
|
39
|
+
|
|
40
|
+
export { type CategoryData, type ExtensionData, type ExtensionType, type TemplateData, type TemplateOrExtensionData, type Templates, getCategoryData, getExtensionsGroupedByCategory, getTemplateCategories, getTemplatesForCategory };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
getCategoryData,
|
|
3
|
+
getExtensionsGroupedByCategory,
|
|
4
|
+
getTemplateCategories,
|
|
5
|
+
getTemplatesForCategory
|
|
6
|
+
} from "./chunk-KDVE4P46.js";
|
|
7
|
+
export {
|
|
8
|
+
getCategoryData,
|
|
9
|
+
getExtensionsGroupedByCategory,
|
|
10
|
+
getTemplateCategories,
|
|
11
|
+
getTemplatesForCategory
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=templates.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-awesome-node-app",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Command line tool to create Node apps with a lot of different templates and extensions.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"bugs": {
|
|
12
12
|
"url": "https://github.com/Create-Node-App/create-node-app/issues"
|
|
13
13
|
},
|
|
14
|
-
"homepage": "https://
|
|
14
|
+
"homepage": "https://create-awesome-node-app.vercel.app",
|
|
15
15
|
"keywords": [
|
|
16
16
|
"code generator"
|
|
17
17
|
],
|
|
@@ -45,15 +45,16 @@
|
|
|
45
45
|
"scope": "@create-node-app"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
|
-
"build": "tsup src/index.ts --format cjs,esm --dts",
|
|
49
|
-
"dev": "tsup src/index.ts --watch --format cjs,esm --dts",
|
|
48
|
+
"build": "tsup src/index.ts src/templates.ts --format cjs,esm --dts --sourcemap",
|
|
49
|
+
"dev": "tsup src/index.ts src/templates.ts --watch --format cjs,esm --dts --sourcemap",
|
|
50
50
|
"type-check": "tsc --noEmit",
|
|
51
51
|
"lint": "eslint 'src/**/*.{ts,tsx,js}'",
|
|
52
52
|
"lint:fix": "eslint 'src/**/*.{ts,tsx,js}' --fix",
|
|
53
|
-
"test": "
|
|
53
|
+
"test": "tsx --test tests/**/*.test.mts",
|
|
54
|
+
"test:src": "npm run test"
|
|
54
55
|
},
|
|
55
56
|
"dependencies": {
|
|
56
|
-
"@create-node-app/core": "^0.5.
|
|
57
|
+
"@create-node-app/core": "^0.5.6",
|
|
57
58
|
"axios": "^1.12.2",
|
|
58
59
|
"ci-info": "^4.3.0",
|
|
59
60
|
"commander": "^14.0.1",
|
|
@@ -63,13 +64,16 @@
|
|
|
63
64
|
},
|
|
64
65
|
"devDependencies": {
|
|
65
66
|
"@create-node-app/eslint-config-ts": "*",
|
|
67
|
+
"@create-node-app/core": "^0.5.6",
|
|
66
68
|
"@types/node": "^24.5.2",
|
|
67
69
|
"@types/prompts": "^2.4.9",
|
|
68
70
|
"@types/yargs": "^17.0.33",
|
|
69
71
|
"@types/semver": "^7.5.8",
|
|
72
|
+
"nock": "^13.5.4",
|
|
70
73
|
"eslint": "^9.35.0",
|
|
71
74
|
"eslint-config-turbo": "^2.5.6",
|
|
72
75
|
"tsup": "^8.5.0",
|
|
73
|
-
"eslint-plugin-turbo": "^2.5.6"
|
|
76
|
+
"eslint-plugin-turbo": "^2.5.6",
|
|
77
|
+
"tsx": "^4.19.0"
|
|
74
78
|
}
|
|
75
79
|
}
|