create-disposabl-app 0.9.0 → 0.9.1

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,51 +1,83 @@
1
1
  # create-disposabl-app
2
2
 
3
- Create a Disposabl app with Bun:
3
+ Create a Disposabl app for web, mobile, desktop, and developer tools.
4
+
5
+ ## Get started
6
+
7
+ Install [Bun](https://bun.sh) and [Git](https://git-scm.com), then run:
4
8
 
5
9
  ```sh
6
- bun create disposabl-app@latest my-app
10
+ bunx create-disposabl-app@latest
7
11
  ```
8
12
 
9
- Web is always included. Frontend authentication is enabled by default; pass
10
- `--features none` to disable it, or include `authentication` in a comma-separated
11
- feature list. Auth-disabled projects omit login/signup routes and auth-dependent
12
- example screens, so missing routes return 404. Backend authentication code and
13
- its access checks remain installed.
13
+ Choose your app's name and platforms. Web is always included, and app sign-in is enabled by default.
14
14
 
15
- Releases publish automatically after changes reach `main`. Commit messages
16
- determine the next version; no manual version edit is needed.
15
+ Setup asks you to sign in to [Disposabl](https://www.disposabl.dev) and connect GitHub and Convex. Mobile apps also need an Expo account. It creates your project and configures its development environment.
17
16
 
18
- Every creation checks your Disposabl login and asks you to sign in through `disposabl login` if needed. It then creates the app, saves its UUID in `disposabl.json`, and configures a named development preview. There is no setup option. `--yes`, `--json`, and `--skip-install` still require login and app creation. The service is `https://www.disposabl.dev`.
17
+ When setup finishes:
19
18
 
20
19
  ```sh
21
- bun create disposabl-app@latest my-app
22
20
  cd my-app
23
21
  bun run dev
24
22
  ```
25
23
 
26
- New apps start on `main`, which is also their initial preview name. No branch prompt is needed.
24
+ Use the app name you chose instead of `my-app`. Your website opens automatically. Mobile apps need a development build before you can open them on a device; they do not use Expo Go. See the generated `apps/mobile/README.md` for the next steps.
25
+
26
+ You can also launch setup with npm, pnpm, or Yarn 2+. The generated project still requires Bun. These launchers also need Node.js 22.12 or newer.
27
+
28
+ | Tool | Command |
29
+ | ---- | -------------------------------------- |
30
+ | npm | `npx create-disposabl-app@latest` |
31
+ | pnpm | `pnpm dlx create-disposabl-app@latest` |
32
+ | Yarn | `yarn dlx create-disposabl-app@latest` |
33
+
34
+ ## Prefer a coding agent?
35
+
36
+ Paste this into Codex, Claude Code, Cursor, or another coding agent:
37
+
38
+ ```text
39
+ Help me build an app with Disposabl. Read https://github.com/disposabl-dev/create-disposabl-app, then ask me what I want to make and where it should run.
40
+ ```
41
+
42
+ ## Choose options in the command
43
+
44
+ For example, create a web and mobile app with sign-in:
45
+
46
+ ```sh
47
+ bunx create-disposabl-app@latest my-app --platforms web,ios,android --yes
48
+ ```
49
+
50
+ | Option | What it does |
51
+ | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
52
+ | `--platforms <ids>` | Choose `web`, `ios`, `android`, `macos`, `windows`, `linux`, `mcp`, `api`, `cli`, or `typescript-sdk`. Separate multiple choices with commas. Web is always included. |
53
+ | `--features <ids>` | Choose features from `--list-options`, such as `authentication` and `docs`. The default is `authentication`. Use `--features none` to omit optional features. |
54
+ | `--yes` | Skip the name, platform, and feature questions. Supply an app name in the command. |
55
+ | `--list-options` | Show available platforms and features without creating an app. |
56
+ | `--skip-install` | Create files without installing dependencies. Account setup still runs. |
57
+ | `--json` | Return a result coding agents can read. Supply an app name. Account setup still runs. |
27
58
 
28
- The website opens automatically and Metro starts with development-client support. Install a development build once with `bun run --cwd apps/mobile android` or `bun run --cwd apps/mobile ios`. Expo Go is not used.
59
+ CLI and TypeScript SDK include API support automatically. Backend authentication and access checks remain installed even with `--features none`.
29
60
 
30
- To get another development key in a worktree, run `disposabl previews token create --configure .`. The branch is detected automatically, or the worktree name when detached. Repeated requests reuse the preview and issue a new key. This configures local development; it does not deploy or require a git push. Push the scaffold Initial commit to `main` first, then open a same-repository feature PR to `main` for a CI preview. A feature branch push alone does not deploy.
61
+ ## If setup stops
31
62
 
32
- If app creation is interrupted, rerun `bun create disposabl-app@latest my-app` from the parent directory. It resumes setup using the existing files and app UUID.
63
+ Your files are saved. Follow the error's instructions, then run the same command from the parent folder:
64
+
65
+ ```sh
66
+ bunx create-disposabl-app@latest my-app
67
+ ```
33
68
 
34
- Generated apps do not include the `create-disposabl-app` package, its workspace lockfile entry, or its Turbo build task. The generator and bundled Disposabl CLI run externally.
69
+ Setup resumes using the existing project and app ID. If dependency installation failed, run `bun install` inside the app folder before retrying.
35
70
 
36
- Each new app installs the bundled `disposabl-app` skill and its references into
37
- `.agents/skills/disposabl-app` for Codex and `.claude/skills/disposabl-app` for
38
- Claude Code. `AGENTS.md` links to the skill. No separate skill installation or
39
- global configuration is needed; the source copy remains in `packages/skill`.
71
+ ## Development and publishing
72
+
73
+ New apps start on the `main` branch with a configured local development environment. Use `bun run dev` for local work.
74
+
75
+ For a separate Git worktree, run this inside that worktree to configure its development environment:
76
+
77
+ ```sh
78
+ bunx --package create-disposabl-app disposabl previews token create --configure .
79
+ ```
40
80
 
41
- Generated backends start with only `users: defineTable({})`. The starter keeps
42
- authentication, static hosting, and API/MCP support, with `users/current` as its
43
- only application operation. Disposabl's apps, previews, releases, provider
44
- connections, GitHub handlers, and service credentials stay in the Disposabl
45
- backend. Product-generated API bindings, contracts, and SDK operations are not
46
- copied into new apps.
81
+ Push the generated initial commit to `main` before opening feature pull requests. A same-repository pull request to `main` starts a CI preview; changes pushed to `main` start the production workflow. A feature branch push by itself does not deploy. Build and delivery requirements depend on the selected platforms.
47
82
 
48
- The root `reset.ts` script owns the product-to-starter cleanup. The generator
49
- runs it only inside its disposable staging copy before packaging. Replacement
50
- backend files live in `starter/backend`; platform and feature selection still
51
- happens when the user creates an app.
83
+ See the [coding-agent guide](https://github.com/disposabl-dev/create-disposabl-app/blob/main/packages/skill/SKILL.md) for the full delivery workflow, or [report a problem](https://github.com/disposabl-dev/create-disposabl-app/issues).
package/dist/disposabl.js CHANGED
@@ -255,7 +255,7 @@ Sign in to Expo if needed and choose Delete project. Then rerun this command to
255
255
  // ../cli/package.json
256
256
  var package_default = {
257
257
  name: "@disposabl/cli",
258
- version: "0.9.0",
258
+ version: "0.9.1",
259
259
  type: "module",
260
260
  description: "Command-line access to your Disposabl app",
261
261
  license: "MIT",
package/dist/index.js CHANGED
@@ -8,7 +8,7 @@ import { fileURLToPath as fileURLToPath2 } from "node:url";
8
8
  import { Command, CommanderError } from "commander";
9
9
  import * as p2 from "@clack/prompts";
10
10
  // package.json
11
- var version = "0.9.0";
11
+ var version = "0.9.1";
12
12
 
13
13
  // ../disposabl-kit/platforms.ts
14
14
  var platforms = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-disposabl-app",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "Create a Disposabl app",
5
5
  "type": "module",
6
6
  "license": "MIT",