create-stackforge 0.0.1 → 0.1.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.
@@ -1,8 +1,8 @@
1
1
  // src/utils/npm-registry.ts
2
- import { exec } from "child_process";
2
+ import { execFile } from "child_process";
3
3
  function fetchLatestVersion(pkg) {
4
4
  return new Promise((resolve) => {
5
- exec(`npm view ${pkg} version`, (err, stdout) => {
5
+ execFile("npm", ["view", pkg, "version"], (err, stdout) => {
6
6
  if (err) {
7
7
  resolve(null);
8
8
  return;
@@ -15,4 +15,4 @@ function fetchLatestVersion(pkg) {
15
15
  export {
16
16
  fetchLatestVersion
17
17
  };
18
- //# sourceMappingURL=npm-registry-F7EVX3RR.js.map
18
+ //# sourceMappingURL=npm-registry-NY37YK2P.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/utils/npm-registry.ts"],"sourcesContent":["import { execFile } from 'node:child_process';\n\nexport function fetchLatestVersion(pkg: string): Promise<string | null> {\n return new Promise((resolve) => {\n execFile('npm', ['view', pkg, 'version'], (err, stdout) => {\n if (err) {\n resolve(null);\n return;\n }\n const version = String(stdout).trim();\n resolve(version || null);\n });\n });\n}\n"],"mappings":";AAAA,SAAS,gBAAgB;AAElB,SAAS,mBAAmB,KAAqC;AACtE,SAAO,IAAI,QAAQ,CAAC,YAAY;AAC9B,aAAS,OAAO,CAAC,QAAQ,KAAK,SAAS,GAAG,CAAC,KAAK,WAAW;AACzD,UAAI,KAAK;AACP,gBAAQ,IAAI;AACZ;AAAA,MACF;AACA,YAAM,UAAU,OAAO,MAAM,EAAE,KAAK;AACpC,cAAQ,WAAW,IAAI;AAAA,IACzB,CAAC;AAAA,EACH,CAAC;AACH;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,46 @@
1
1
  {
2
2
  "name": "create-stackforge",
3
- "version": "0.0.1",
3
+ "version": "0.1.0",
4
+ "description": "The universal full-stack boilerplate generator. Scaffold production-ready apps with Next.js/Vite, 8 UI libraries, 6 databases, 4 ORMs, 3 auth providers, REST/tRPC/GraphQL, and AI agent integrations.",
5
+ "license": "MIT",
6
+ "author": "Lakshay Kapoor",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/kapoor08/stackforge-cli.git"
10
+ },
11
+ "homepage": "https://github.com/kapoor08/stackforge-cli#readme",
12
+ "bugs": {
13
+ "url": "https://github.com/kapoor08/stackforge-cli/issues"
14
+ },
15
+ "keywords": [
16
+ "boilerplate",
17
+ "generator",
18
+ "scaffold",
19
+ "nextjs",
20
+ "vite",
21
+ "react",
22
+ "typescript",
23
+ "tailwind",
24
+ "shadcn",
25
+ "prisma",
26
+ "drizzle",
27
+ "trpc",
28
+ "graphql",
29
+ "rest",
30
+ "nextauth",
31
+ "clerk",
32
+ "supabase",
33
+ "postgres",
34
+ "mysql",
35
+ "sqlite",
36
+ "stripe",
37
+ "ai-agents",
38
+ "mcp",
39
+ "full-stack",
40
+ "cli",
41
+ "create-app",
42
+ "stackforge"
43
+ ],
4
44
  "private": false,
5
45
  "type": "module",
6
46
  "bin": {
@@ -0,0 +1,6 @@
1
+ import NextAuth from 'next-auth';
2
+ import { authOptions } from '../../../../auth/auth-options';
3
+
4
+ const handler = NextAuth(authOptions);
5
+
6
+ export { handler as GET, handler as POST };
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/utils/npm-registry.ts"],"sourcesContent":["import { exec } from 'node:child_process';\n\nexport function fetchLatestVersion(pkg: string): Promise<string | null> {\n return new Promise((resolve) => {\n exec(`npm view ${pkg} version`, (err, stdout) => {\n if (err) {\n resolve(null);\n return;\n }\n const version = String(stdout).trim();\n resolve(version || null);\n });\n });\n}\n"],"mappings":";AAAA,SAAS,YAAY;AAEd,SAAS,mBAAmB,KAAqC;AACtE,SAAO,IAAI,QAAQ,CAAC,YAAY;AAC9B,SAAK,YAAY,GAAG,YAAY,CAAC,KAAK,WAAW;AAC/C,UAAI,KAAK;AACP,gBAAQ,IAAI;AACZ;AAAA,MACF;AACA,YAAM,UAAU,OAAO,MAAM,EAAE,KAAK;AACpC,cAAQ,WAAW,IAAI;AAAA,IACzB,CAAC;AAAA,EACH,CAAC;AACH;","names":[]}