create-shipkitai-app 1.0.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/index.js +35 -0
- package/package.json +35 -0
package/index.js
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
#!/usr/bin/env node
|
2
|
+
|
3
|
+
// Alias for shipkit-ai package
|
4
|
+
// This simply delegates to the main shipkit-ai binary
|
5
|
+
|
6
|
+
const { spawn } = require("child_process");
|
7
|
+
const path = require("path");
|
8
|
+
|
9
|
+
// Find the shipkit-ai binary
|
10
|
+
const shipkitBinary = path.resolve(
|
11
|
+
__dirname,
|
12
|
+
"node_modules",
|
13
|
+
".bin",
|
14
|
+
"shipkit-ai"
|
15
|
+
);
|
16
|
+
|
17
|
+
// Pass through all arguments
|
18
|
+
const args = process.argv.slice(2);
|
19
|
+
|
20
|
+
// Spawn the main shipkit-ai process
|
21
|
+
const child = spawn(shipkitBinary, args, {
|
22
|
+
stdio: "inherit",
|
23
|
+
shell: true,
|
24
|
+
});
|
25
|
+
|
26
|
+
// Exit with the same code as the child process
|
27
|
+
child.on("exit", (code) => {
|
28
|
+
process.exit(code);
|
29
|
+
});
|
30
|
+
|
31
|
+
child.on("error", (error) => {
|
32
|
+
console.error("Error running shipkit-ai:", error.message);
|
33
|
+
console.error("Make sure shipkit-ai is properly installed.");
|
34
|
+
process.exit(1);
|
35
|
+
});
|
package/package.json
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
{
|
2
|
+
"name": "create-shipkitai-app",
|
3
|
+
"version": "1.0.0",
|
4
|
+
"description": "Generate AI SaaS applications with ShipKit templates (alias for shipkit-ai)",
|
5
|
+
"main": "index.js",
|
6
|
+
"bin": {
|
7
|
+
"create-shipkitai-app": "./index.js"
|
8
|
+
},
|
9
|
+
"scripts": {
|
10
|
+
"postinstall": "echo 'create-shipkitai-app is an alias for shipkit-ai'"
|
11
|
+
},
|
12
|
+
"keywords": [
|
13
|
+
"ai",
|
14
|
+
"saas",
|
15
|
+
"nextjs",
|
16
|
+
"template",
|
17
|
+
"shipkit",
|
18
|
+
"chatgpt",
|
19
|
+
"cli",
|
20
|
+
"create-app"
|
21
|
+
],
|
22
|
+
"author": "Brandon Hancock",
|
23
|
+
"license": "SEE LICENSE IN LICENSE.txt",
|
24
|
+
"dependencies": {
|
25
|
+
"shipkit-ai": "^1.0.0"
|
26
|
+
},
|
27
|
+
"engines": {
|
28
|
+
"node": ">=18.0.0"
|
29
|
+
},
|
30
|
+
"homepage": "https://shipkit.ai",
|
31
|
+
"repository": {
|
32
|
+
"type": "git",
|
33
|
+
"url": "https://github.com/shipkit-ai/shipkit"
|
34
|
+
}
|
35
|
+
}
|