create-aixyz-app 0.2.4 → 0.5.2
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 +1 -10
- package/package.json +13 -3
- package/templates/default/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1074,7 +1074,7 @@ function detectPackageManager() {
|
|
|
1074
1074
|
function sanitizePkgName(name) {
|
|
1075
1075
|
return name.toLowerCase().replace(/[^a-z0-9-\s]/g, "").replace(/\s+/g, "-").replace(/-+/g, "-").replace(/^-|-$/g, "");
|
|
1076
1076
|
}
|
|
1077
|
-
We("Create
|
|
1077
|
+
We("Create aixyz app");
|
|
1078
1078
|
var hasBun = checkBunInstalled();
|
|
1079
1079
|
var packageManager = detectPackageManager();
|
|
1080
1080
|
if (!hasBun) {
|
|
@@ -1171,15 +1171,6 @@ try {
|
|
|
1171
1171
|
} catch {
|
|
1172
1172
|
s.stop("Failed to install dependencies. You can run `bun install` manually.");
|
|
1173
1173
|
}
|
|
1174
|
-
s.start("Initializing git...");
|
|
1175
|
-
try {
|
|
1176
|
-
execSync("git init", { cwd: targetDir, stdio: "ignore" });
|
|
1177
|
-
execSync("git add -A", { cwd: targetDir, stdio: "ignore" });
|
|
1178
|
-
execSync('git commit -m "Initial commit from create-aixyz-app"', { cwd: targetDir, stdio: "ignore" });
|
|
1179
|
-
s.stop("Git initialized.");
|
|
1180
|
-
} catch {
|
|
1181
|
-
s.stop("Failed to initialize git. You can run `git init` manually.");
|
|
1182
|
-
}
|
|
1183
1174
|
if (packageManager !== "bun" && packageManager !== "unknown") {
|
|
1184
1175
|
R2.warn("");
|
|
1185
1176
|
R2.error(`⚠️ You are using ${packageManager}, but this project requires Bun.`);
|
package/package.json
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-aixyz-app",
|
|
3
|
-
"version": "0.2
|
|
4
|
-
"
|
|
3
|
+
"version": "0.5.2",
|
|
4
|
+
"description": "Payment-native SDK for AI Agent",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"ai",
|
|
7
|
+
"payments",
|
|
8
|
+
"agent",
|
|
9
|
+
"aixyz"
|
|
10
|
+
],
|
|
11
|
+
"homepage": "https://ai-xyz.dev",
|
|
12
|
+
"bugs": "https://github.com/AgentlyHQ/aixyz/issues",
|
|
5
13
|
"repository": {
|
|
6
14
|
"type": "git",
|
|
7
15
|
"url": "git+https://github.com/AgentlyHQ/aixyz.git"
|
|
@@ -14,12 +22,14 @@
|
|
|
14
22
|
"templates"
|
|
15
23
|
],
|
|
16
24
|
"scripts": {
|
|
17
|
-
"build": "bun build src/index.ts --outfile dist/index.js --target node"
|
|
25
|
+
"build": "bun build src/index.ts --outfile dist/index.js --target node",
|
|
26
|
+
"test": "bun test"
|
|
18
27
|
},
|
|
19
28
|
"dependencies": {
|
|
20
29
|
"@clack/prompts": "^1.0.1"
|
|
21
30
|
},
|
|
22
31
|
"devDependencies": {
|
|
32
|
+
"@types/bun": "^1.3.9",
|
|
23
33
|
"@types/node": "^22",
|
|
24
34
|
"typescript": "^5"
|
|
25
35
|
}
|