You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/release.yaml
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -73,9 +73,25 @@ jobs:
73
73
env:
74
74
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
75
75
76
+
- name: Update create-bts alias package version
77
+
if: steps.version.outputs.version != ''
78
+
run: |
79
+
VERSION=${{ steps.version.outputs.version }}
80
+
cd packages/create-bts
81
+
bun run node -e "const pkg=require('./package.json');pkg.version='$VERSION';pkg.dependencies['create-better-t-stack']='^$VERSION';require('fs').writeFileSync('package.json',JSON.stringify(pkg,null,2)+'\n')"
82
+
76
83
- name: Publish CLI to NPM
77
84
if: steps.version.outputs.version != ''
78
85
run: cd apps/cli && bun publish --access public
86
+
env:
87
+
NPM_CONFIG_TOKEN: ${{ secrets.NPM_TOKEN }}
88
+
BTS_TELEMETRY: 1
89
+
POSTHOG_API_KEY: ${{ secrets.POSTHOG_API_KEY }}
90
+
POSTHOG_HOST: ${{ secrets.POSTHOG_HOST }}
91
+
92
+
- name: Publish create-bts alias to NPM
93
+
if: steps.version.outputs.version != ''
94
+
run: cd packages/create-bts && bun publish --access public
This is an alias package for [`create-better-t-stack`](https://www.npmjs.com/package/create-better-t-stack).
4
+
5
+
## Usage
6
+
7
+
```bash
8
+
npx create-bts@latest
9
+
```
10
+
11
+
or
12
+
13
+
```bash
14
+
bun create bts
15
+
```
16
+
17
+
For full documentation, please visit [better-t-stack.dev](https://better-t-stack.dev/).
18
+
19
+
## About
20
+
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.
22
+
23
+
All functionality is provided by the main [`create-better-t-stack`](https://www.npmjs.com/package/create-better-t-stack) package.
"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)",
0 commit comments