create-bts 2.22.4
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 +34 -0
- package/bin/create-bts.js +24 -0
- package/package.json +53 -0
package/README.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# create-bts
|
|
2
|
+
|
|
3
|
+
This is a convenient alias for the [`create-better-t-stack`](https://www.npmjs.com/package/create-better-t-stack) package.
|
|
4
|
+
|
|
5
|
+
## Quick Start
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
# Both commands do exactly the same thing:
|
|
9
|
+
npx create-bts
|
|
10
|
+
npx create-better-t-stack
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## About
|
|
14
|
+
|
|
15
|
+
`create-bts` is a shorter alias for `create-better-t-stack` - a modern CLI tool for scaffolding end-to-end type-safe TypeScript projects with best practices and customizable configurations.
|
|
16
|
+
|
|
17
|
+
For full documentation, examples, and more information, please visit:
|
|
18
|
+
|
|
19
|
+
- **Main Package:** [create-better-t-stack](https://www.npmjs.com/package/create-better-t-stack)
|
|
20
|
+
- **Website:** [better-t-stack.dev](https://better-t-stack.dev/)
|
|
21
|
+
- **Repository:** [GitHub](https://github.com/AmanVarshney01/create-better-t-stack)
|
|
22
|
+
|
|
23
|
+
## What You Can Build
|
|
24
|
+
|
|
25
|
+
- 🌟 **Full-stack applications** with React, Next.js, Nuxt, SvelteKit, SolidStart
|
|
26
|
+
- 📱 **Mobile apps** with React Native and Expo
|
|
27
|
+
- 🖥️ **Desktop apps** with Tauri
|
|
28
|
+
- 🔗 **APIs** with tRPC, Hono, Elysia, Fastify, Express
|
|
29
|
+
- 🗄️ **Databases** with Drizzle, Prisma, MongoDB
|
|
30
|
+
- 🔐 **Authentication** with Better-Auth
|
|
31
|
+
- 🎨 **Styling** with Tailwind CSS, shadcn/ui
|
|
32
|
+
- ⚡ **Development tools** with Biome, Turborepo, and more
|
|
33
|
+
|
|
34
|
+
This alias package simply forwards all commands to the main `create-better-t-stack` package.
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
import { spawn } from "child_process";
|
|
4
|
+
|
|
5
|
+
// Forward all arguments to create-better-t-stack
|
|
6
|
+
const child = spawn(
|
|
7
|
+
"npx",
|
|
8
|
+
["create-better-t-stack", ...process.argv.slice(2)],
|
|
9
|
+
{
|
|
10
|
+
stdio: "inherit",
|
|
11
|
+
env: process.env,
|
|
12
|
+
}
|
|
13
|
+
);
|
|
14
|
+
|
|
15
|
+
// Forward exit code
|
|
16
|
+
child.on("exit", (code) => {
|
|
17
|
+
process.exit(code || 0);
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
// Handle errors
|
|
21
|
+
child.on("error", (error) => {
|
|
22
|
+
console.error("Error running create-better-t-stack:", error.message);
|
|
23
|
+
process.exit(1);
|
|
24
|
+
});
|
package/package.json
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "create-bts",
|
|
3
|
+
"version": "2.22.4",
|
|
4
|
+
"description": "A modern CLI tool for scaffolling end-to-end type-safe TypeScript projects with best practices and customizable configurations (alias for create-better-t-stack)",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"author": "Aman Varshney",
|
|
8
|
+
"bin": {
|
|
9
|
+
"create-bts": "bin/create-bts.js"
|
|
10
|
+
},
|
|
11
|
+
"files": [
|
|
12
|
+
"bin"
|
|
13
|
+
],
|
|
14
|
+
"keywords": [
|
|
15
|
+
"better-t-stack",
|
|
16
|
+
"typescript",
|
|
17
|
+
"boilerplate",
|
|
18
|
+
"starter",
|
|
19
|
+
"cli",
|
|
20
|
+
"turborepo",
|
|
21
|
+
"trpc",
|
|
22
|
+
"better-auth",
|
|
23
|
+
"monorepo",
|
|
24
|
+
"fullstack",
|
|
25
|
+
"type-safety",
|
|
26
|
+
"react",
|
|
27
|
+
"react-native",
|
|
28
|
+
"expo",
|
|
29
|
+
"hono",
|
|
30
|
+
"elysia",
|
|
31
|
+
"drizzle",
|
|
32
|
+
"prisma",
|
|
33
|
+
"tanstack",
|
|
34
|
+
"tailwind",
|
|
35
|
+
"shadcn",
|
|
36
|
+
"pwa",
|
|
37
|
+
"tauri",
|
|
38
|
+
"biome"
|
|
39
|
+
],
|
|
40
|
+
"repository": {
|
|
41
|
+
"type": "git",
|
|
42
|
+
"url": "git+https://github.com/AmanVarshney01/create-better-t-stack.git",
|
|
43
|
+
"directory": "apps/create-bts"
|
|
44
|
+
},
|
|
45
|
+
"homepage": "https://better-t-stack.dev/",
|
|
46
|
+
"dependencies": {
|
|
47
|
+
"create-better-t-stack": "2.22.4"
|
|
48
|
+
},
|
|
49
|
+
"scripts": {
|
|
50
|
+
"sync-version": "node sync-version.js",
|
|
51
|
+
"prepublishOnly": "chmod +x bin/create-bts.js && npm run sync-version"
|
|
52
|
+
}
|
|
53
|
+
}
|