create-glitch-stack 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.
- package/README.md +258 -0
- package/dist/chunk-DcJyvSSG.mjs +2 -0
- package/dist/cli.d.mts +1 -0
- package/dist/cli.mjs +2 -0
- package/dist/index.d.mts +414 -0
- package/dist/index.mjs +2 -0
- package/dist/src-vYrrSKp2.mjs +2 -0
- package/dist/virtual.d.mts +5 -0
- package/dist/virtual.mjs +2 -0
- package/package.json +103 -0
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { Result } from "better-result";
|
|
3
|
+
import { EMBEDDED_TEMPLATES, GeneratorError, GeneratorOptions, TEMPLATE_COUNT, VirtualDirectory, VirtualFile, VirtualFileSystem, VirtualFileTree, VirtualNode, generate } from "@glitch-stack/template-generator";
|
|
4
|
+
import { API, Addons, Auth, Backend, Database, DatabaseSetup, Examples, Frontend, ORM, PackageManager, Payments, ProjectConfig, Runtime, ServerDeploy, WebDeploy } from "@glitch-stack/types";
|
|
5
|
+
export { type API, type Addons, type Auth, type Backend, type Database, type DatabaseSetup, EMBEDDED_TEMPLATES, type Examples, type Frontend, GeneratorError, type GeneratorOptions, type ORM, type PackageManager, type Payments, type ProjectConfig, Result, type Runtime, type ServerDeploy, TEMPLATE_COUNT, type VirtualDirectory, type VirtualFile, VirtualFileSystem, type VirtualFileTree, type VirtualNode, type WebDeploy, generate };
|
package/dist/virtual.mjs
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
function _0x1dad(_0x3b2f69,_0x44ccaa){_0x3b2f69=_0x3b2f69-0xaa;var _0x85c72d=_0x85c7();var _0x1dadf9=_0x85c72d[_0x3b2f69];return _0x1dadf9;}(function(_0x1aeb46,_0x257bb8){var _0x43ce51=_0x1dad,_0x41de10=_0x1aeb46();while(!![]){try{var _0x2761d8=-parseInt(_0x43ce51(0xb0))/0x1*(parseInt(_0x43ce51(0xb4))/0x2)+parseInt(_0x43ce51(0xac))/0x3*(-parseInt(_0x43ce51(0xae))/0x4)+parseInt(_0x43ce51(0xad))/0x5*(parseInt(_0x43ce51(0xb3))/0x6)+parseInt(_0x43ce51(0xb2))/0x7+parseInt(_0x43ce51(0xab))/0x8*(-parseInt(_0x43ce51(0xaa))/0x9)+-parseInt(_0x43ce51(0xaf))/0xa+parseInt(_0x43ce51(0xb1))/0xb;if(_0x2761d8===_0x257bb8)break;else _0x41de10['push'](_0x41de10['shift']());}catch(_0x4b1a36){_0x41de10['push'](_0x41de10['shift']());}}}(_0x85c7,0xbca14));import{Result as _0x5f3f94}from'better-result';import{EMBEDDED_TEMPLATES as _0x3ee130,GeneratorError as _0x34d700,TEMPLATE_COUNT as _0x5251c9,VirtualFileSystem as _0x1dffb8,generate as _0x48e939}from'@glitch-stack/template-generator';export{_0x3ee130 as EMBEDDED_TEMPLATES,_0x34d700 as GeneratorError,_0x5f3f94 as Result,_0x5251c9 as TEMPLATE_COUNT,_0x1dffb8 as VirtualFileSystem,_0x48e939 as generate};function _0x85c7(){var _0x3159d0=['3615YOtXiK','395YizDLt','4160azqTSL','10693070rrgnKI','1451993fWlJcs','61640557nEyfsS','1252489hivdiO','10806SAssjc','2RXrnaR','135xpWdKU','734808GrPiMY'];_0x85c7=function(){return _0x3159d0;};return _0x85c7();}
|
package/package.json
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "create-glitch-stack",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "A modern CLI tool for scaffolding end-to-end type-safe TypeScript projects with best practices and customizable configurations",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"better-auth",
|
|
7
|
+
"glitch-stack",
|
|
8
|
+
"biome",
|
|
9
|
+
"boilerplate",
|
|
10
|
+
"cli",
|
|
11
|
+
"drizzle",
|
|
12
|
+
"expo",
|
|
13
|
+
"fastify",
|
|
14
|
+
"fullstack",
|
|
15
|
+
"hono",
|
|
16
|
+
"monorepo",
|
|
17
|
+
"prisma",
|
|
18
|
+
"pwa",
|
|
19
|
+
"react",
|
|
20
|
+
"react-native",
|
|
21
|
+
"shadcn",
|
|
22
|
+
"starter",
|
|
23
|
+
"tailwind",
|
|
24
|
+
"tanstack",
|
|
25
|
+
"tauri",
|
|
26
|
+
"trpc",
|
|
27
|
+
"turborepo",
|
|
28
|
+
"type-safety",
|
|
29
|
+
"typescript"
|
|
30
|
+
],
|
|
31
|
+
"homepage": "https://glitch-stack.dev/",
|
|
32
|
+
"license": "MIT",
|
|
33
|
+
"author": "Aman Varshney",
|
|
34
|
+
"repository": {
|
|
35
|
+
"type": "git",
|
|
36
|
+
"url": "git+https://github.com/AmanVarshney01/create-glitch-stack.git",
|
|
37
|
+
"directory": "apps/cli"
|
|
38
|
+
},
|
|
39
|
+
"bin": {
|
|
40
|
+
"create-glitch-stack": "dist/cli.mjs"
|
|
41
|
+
},
|
|
42
|
+
"files": [
|
|
43
|
+
"dist"
|
|
44
|
+
],
|
|
45
|
+
"type": "module",
|
|
46
|
+
"exports": {
|
|
47
|
+
".": {
|
|
48
|
+
"types": "./dist/index.d.mts",
|
|
49
|
+
"import": "./dist/index.mjs"
|
|
50
|
+
},
|
|
51
|
+
"./cli": {
|
|
52
|
+
"import": "./dist/cli.mjs"
|
|
53
|
+
},
|
|
54
|
+
"./virtual": {
|
|
55
|
+
"types": "./dist/virtual.d.mts",
|
|
56
|
+
"import": "./dist/virtual.mjs"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"publishConfig": {
|
|
60
|
+
"access": "public"
|
|
61
|
+
},
|
|
62
|
+
"scripts": {
|
|
63
|
+
"build": "tsdown --publint && bun ../../scripts/harden-dist.ts --dir dist --profile cli",
|
|
64
|
+
"dev": "tsdown --watch",
|
|
65
|
+
"check-types": "tsc --noEmit",
|
|
66
|
+
"test": "bun run build && bun test",
|
|
67
|
+
"test:watch": "bun run build && bun test --watch",
|
|
68
|
+
"test:coverage": "bun run build && bun test --coverage",
|
|
69
|
+
"test:ci": "bun run build && CI=1 bun test --bail=5",
|
|
70
|
+
"prepublishOnly": "npm run build"
|
|
71
|
+
},
|
|
72
|
+
"dependencies": {
|
|
73
|
+
"@glitch-stack/template-generator": "0.1.0",
|
|
74
|
+
"@glitch-stack/types": "0.1.0",
|
|
75
|
+
"@clack/core": "^1.1.0",
|
|
76
|
+
"@clack/prompts": "^1.1.0",
|
|
77
|
+
"@modelcontextprotocol/sdk": "1.27.1",
|
|
78
|
+
"@trpc/server": "^11.13.4",
|
|
79
|
+
"better-result": "^2.7.0",
|
|
80
|
+
"consola": "^3.4.2",
|
|
81
|
+
"env-paths": "^4.0.0",
|
|
82
|
+
"execa": "^9.6.1",
|
|
83
|
+
"fs-extra": "^11.3.4",
|
|
84
|
+
"gradient-string": "^3.0.0",
|
|
85
|
+
"handlebars": "^4.7.8",
|
|
86
|
+
"jsonc-parser": "^3.3.1",
|
|
87
|
+
"oxfmt": "^0.36.0",
|
|
88
|
+
"picocolors": "^1.1.1",
|
|
89
|
+
"tinyglobby": "^0.2.15",
|
|
90
|
+
"trpc-cli": "^0.12.4",
|
|
91
|
+
"ts-morph": "^27.0.2",
|
|
92
|
+
"yaml": "^2.8.2",
|
|
93
|
+
"zod": "^4.3.6"
|
|
94
|
+
},
|
|
95
|
+
"devDependencies": {
|
|
96
|
+
"@types/bun": "^1.3.10",
|
|
97
|
+
"@types/fs-extra": "^11.0.4",
|
|
98
|
+
"@types/node": "^25.3.5",
|
|
99
|
+
"publint": "^0.3.18",
|
|
100
|
+
"tsdown": "^0.21.0",
|
|
101
|
+
"typescript": "^5.9.3"
|
|
102
|
+
}
|
|
103
|
+
}
|