create-bts 2.22.4 → 3.2.3
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 +11 -21
- package/cli.js +3 -0
- package/index.js +2 -0
- package/package.json +11 -10
- package/bin/create-bts.js +0 -24
package/README.md
CHANGED
|
@@ -1,34 +1,24 @@
|
|
|
1
1
|
# create-bts
|
|
2
2
|
|
|
3
|
-
This is
|
|
3
|
+
This is an alias package for [`create-better-t-stack`](https://www.npmjs.com/package/create-better-t-stack).
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Usage
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
|
|
9
|
-
npx create-bts
|
|
10
|
-
npx create-better-t-stack
|
|
8
|
+
npx create-bts@latest
|
|
11
9
|
```
|
|
12
10
|
|
|
13
|
-
|
|
11
|
+
or
|
|
14
12
|
|
|
15
|
-
|
|
13
|
+
```bash
|
|
14
|
+
bun create bts
|
|
15
|
+
```
|
|
16
16
|
|
|
17
|
-
For full documentation,
|
|
17
|
+
For full documentation, please visit [better-t-stack.dev](https://better-t-stack.dev/).
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
- **Website:** [better-t-stack.dev](https://better-t-stack.dev/)
|
|
21
|
-
- **Repository:** [GitHub](https://github.com/AmanVarshney01/create-better-t-stack)
|
|
19
|
+
## About
|
|
22
20
|
|
|
23
|
-
|
|
21
|
+
`create-bts` is a shorter alias for the full `create-better-t-stack` command. Both packages provide the same functionality - a modern CLI tool for scaffolding end-to-end type-safe TypeScript projects.
|
|
24
22
|
|
|
25
|
-
|
|
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
|
|
23
|
+
All functionality is provided by the main [`create-better-t-stack`](https://www.npmjs.com/package/create-better-t-stack) package.
|
|
33
24
|
|
|
34
|
-
This alias package simply forwards all commands to the main `create-better-t-stack` package.
|
package/cli.js
ADDED
package/index.js
ADDED
package/package.json
CHANGED
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-bts",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"description": "A modern CLI tool for
|
|
3
|
+
"version": "3.2.3",
|
|
4
|
+
"description": "A modern CLI tool for scaffolding end-to-end type-safe TypeScript projects with best practices and customizable configurations (alias for create-better-t-stack)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "Aman Varshney",
|
|
8
8
|
"bin": {
|
|
9
|
-
"create-bts": "
|
|
9
|
+
"create-bts": "cli.js"
|
|
10
10
|
},
|
|
11
11
|
"files": [
|
|
12
|
-
"
|
|
12
|
+
"cli.js",
|
|
13
|
+
"index.js"
|
|
13
14
|
],
|
|
14
15
|
"keywords": [
|
|
16
|
+
"bts",
|
|
15
17
|
"better-t-stack",
|
|
16
18
|
"typescript",
|
|
17
19
|
"boilerplate",
|
|
@@ -40,14 +42,13 @@
|
|
|
40
42
|
"repository": {
|
|
41
43
|
"type": "git",
|
|
42
44
|
"url": "git+https://github.com/AmanVarshney01/create-better-t-stack.git",
|
|
43
|
-
"directory": "
|
|
45
|
+
"directory": "packages/create-bts"
|
|
46
|
+
},
|
|
47
|
+
"publishConfig": {
|
|
48
|
+
"access": "public"
|
|
44
49
|
},
|
|
45
50
|
"homepage": "https://better-t-stack.dev/",
|
|
46
51
|
"dependencies": {
|
|
47
|
-
"create-better-t-stack": "2.
|
|
48
|
-
},
|
|
49
|
-
"scripts": {
|
|
50
|
-
"sync-version": "node sync-version.js",
|
|
51
|
-
"prepublishOnly": "chmod +x bin/create-bts.js && npm run sync-version"
|
|
52
|
+
"create-better-t-stack": "^3.2.3"
|
|
52
53
|
}
|
|
53
54
|
}
|
package/bin/create-bts.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
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
|
-
});
|