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 CHANGED
@@ -1,34 +1,24 @@
1
1
  # create-bts
2
2
 
3
- This is a convenient alias for the [`create-better-t-stack`](https://www.npmjs.com/package/create-better-t-stack) package.
3
+ This is an alias package for [`create-better-t-stack`](https://www.npmjs.com/package/create-better-t-stack).
4
4
 
5
- ## Quick Start
5
+ ## Usage
6
6
 
7
7
  ```bash
8
- # Both commands do exactly the same thing:
9
- npx create-bts
10
- npx create-better-t-stack
8
+ npx create-bts@latest
11
9
  ```
12
10
 
13
- ## About
11
+ or
14
12
 
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.
13
+ ```bash
14
+ bun create bts
15
+ ```
16
16
 
17
- For full documentation, examples, and more information, please visit:
17
+ For full documentation, please visit [better-t-stack.dev](https://better-t-stack.dev/).
18
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)
19
+ ## About
22
20
 
23
- ## What You Can Build
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
- - 🌟 **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
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
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ import("create-better-t-stack/dist/cli.js");
3
+
package/index.js ADDED
@@ -0,0 +1,2 @@
1
+ export * from "create-better-t-stack";
2
+
package/package.json CHANGED
@@ -1,17 +1,19 @@
1
1
  {
2
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)",
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": "bin/create-bts.js"
9
+ "create-bts": "cli.js"
10
10
  },
11
11
  "files": [
12
- "bin"
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": "apps/create-bts"
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.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
+ "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
- });