create-ts-saas 0.1.0 → 0.1.2
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 +67 -0
- package/dist/cli.mjs +790 -3
- package/dist/index.d.mts +0 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +792 -2
- package/dist/index.mjs.map +1 -0
- package/package.json +6 -5
- package/dist/cli.d.mts +0 -1
- package/dist/cli.mjs.map +0 -1
- package/dist/src-D4guDFsb.mjs +0 -794
- package/dist/src-D4guDFsb.mjs.map +0 -1
package/README.md
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# create-ts-saas
|
|
2
|
+
|
|
3
|
+
The official CLI for [ts-saas.com](https://ts-saas.com) — scaffold your paid TypeScript SaaS boilerplate in seconds.
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
npx create-ts-saas@latest
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
## Requirements
|
|
10
|
+
|
|
11
|
+
- Node.js 22+
|
|
12
|
+
- npm, pnpm, or bun
|
|
13
|
+
|
|
14
|
+
## Usage
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
# Interactive (recommended)
|
|
18
|
+
npx create-ts-saas@latest
|
|
19
|
+
|
|
20
|
+
# With a project name
|
|
21
|
+
npx create-ts-saas@latest my-app
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Commands
|
|
25
|
+
|
|
26
|
+
| Command | Description |
|
|
27
|
+
| ------------------------------------------ | ------------------------------------------ |
|
|
28
|
+
| `create-ts-saas` / `create-ts-saas create` | Scaffold a new project |
|
|
29
|
+
| `create-ts-saas login` | Authenticate with your ts-saas.com account |
|
|
30
|
+
| `create-ts-saas logout` | Clear local auth session |
|
|
31
|
+
| `create-ts-saas whoami` | Show authenticated account details |
|
|
32
|
+
| `create-ts-saas upgrade` | Check if your CLI is up to date |
|
|
33
|
+
| `create-ts-saas doctor` | Run local environment checks |
|
|
34
|
+
|
|
35
|
+
## Options
|
|
36
|
+
|
|
37
|
+
```
|
|
38
|
+
create-ts-saas [project-name] [options]
|
|
39
|
+
|
|
40
|
+
Options:
|
|
41
|
+
--template Template slug to use
|
|
42
|
+
--variant Variant slug to use
|
|
43
|
+
--package-manager npm | pnpm | bun
|
|
44
|
+
--install Run package install after scaffolding
|
|
45
|
+
--git Initialize a git repository
|
|
46
|
+
--yes, -y Skip all prompts using defaults
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
## Authentication
|
|
50
|
+
|
|
51
|
+
The CLI uses a device-flow login tied to your [ts-saas.com](https://ts-saas.com) account. A valid paid license is required to download templates.
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
create-ts-saas login
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
Your session is stored securely in your OS keychain (with a file fallback at `~/.config/ts-saas-cli/`).
|
|
58
|
+
|
|
59
|
+
## Links
|
|
60
|
+
|
|
61
|
+
- Website: [ts-saas.com](https://ts-saas.com)
|
|
62
|
+
- Documentation: [ts-saas.com/docs](https://ts-saas.com/docs)
|
|
63
|
+
- Issues: [ts-saas.com/contact](https://ts-saas.com/contact)
|
|
64
|
+
|
|
65
|
+
## License
|
|
66
|
+
|
|
67
|
+
This CLI is free to install and use. Template downloads require a paid [ts-saas.com](https://ts-saas.com) license.
|