create-disposabl-app 0.8.7 → 0.8.9
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 +5 -3
- package/dist/disposabl.js +1 -1
- package/dist/index.js +14 -14
- package/dist/templates/default/.github/scripts/disposabl.mjs +3 -1
- package/dist/templates/default/bun.lock +28484 -5329
- package/dist/templates/default/dev.ts +1 -8
- package/dist/templates/default/packages/skill/SKILL.md +2 -2
- package/dist/templates/default/packages/skill/references/delivery.md +1 -0
- package/dist/templates/default/turbo.json +71 -24
- package/package.json +1 -1
|
@@ -11,14 +11,7 @@ const config = JSON.parse(await read(join(root, "disposabl.json")));
|
|
|
11
11
|
if (!env.CONVEX_DEPLOY_KEY && (!env.CONVEX_DEPLOYMENT || config.appId)) {
|
|
12
12
|
console.log("Setting up this app through your Disposabl connections…");
|
|
13
13
|
const configure = Bun.spawn(
|
|
14
|
-
[
|
|
15
|
-
"bun",
|
|
16
|
-
"create",
|
|
17
|
-
"disposabl-app@latest",
|
|
18
|
-
basename(root),
|
|
19
|
-
"--setup",
|
|
20
|
-
"--yes",
|
|
21
|
-
],
|
|
14
|
+
["bun", "create", "disposabl-app@latest", basename(root), "--yes"],
|
|
22
15
|
{
|
|
23
16
|
cwd: dirname(root),
|
|
24
17
|
stdin: "inherit",
|
|
@@ -8,10 +8,10 @@ description: Build and deliver a Disposabl app from a request, including develop
|
|
|
8
8
|
Aim for a first usable preview in five minutes when practical, without promising a deadline. Treat that as a web-preview target, not a first native-build deadline. In the meal-planner validation, one Android build took about 41 minutes and an iOS simulator job took about 10 minutes; later timings depend on cache and native changes. Select platform and feature IDs with `bun create disposabl-app@latest --list-options` and pass them explicitly. For example:
|
|
9
9
|
|
|
10
10
|
```sh
|
|
11
|
-
bun create disposabl-app@latest my-app --platforms web,android --features authentication --
|
|
11
|
+
bun create disposabl-app@latest my-app --platforms web,android --features authentication --yes
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
-
Use the requested platforms and features.
|
|
14
|
+
Use the requested platforms and features. Creation checks login, asks you to sign in if needed, and creates the app and its scoped development environment through Disposabl; do not create a project with the Convex CLI. If setup stops, preserve the generated files and follow its continuation instructions. Never print credentials.
|
|
15
15
|
|
|
16
16
|
Use the installed `disposabl` bin, or invoke it as `bunx --package create-disposabl-app disposabl`. Check `disposabl login status`; if needed, run `disposabl login` and use the existing authenticated browser session for signup or login when possible. Complete the required GitHub and Convex connections. Respect authorization already given for the task.
|
|
17
17
|
|
|
@@ -7,6 +7,7 @@ Read before a first native build, a toolchain change, or a failed preview/produc
|
|
|
7
7
|
- Verify GitHub and Convex connections after a browser reload. A completed OAuth screen does not prove that the callback saved a usable connection. Preserve the pending provider across redirects and inspect the account actually selected.
|
|
8
8
|
- Use managed setup and a worktree-scoped development token. If `bun run dev` asks to create or select a Convex project, repair setup instead of creating a personal project. Local worktree, PR preview, and production are separate deployments.
|
|
9
9
|
- Check the generated files, not only the generator source. Confirm the package includes `.github`, helper scripts, native packaging assets, and this skill. Check that provisioned secret names match workflow inputs without printing their values.
|
|
10
|
+
- Run shared delivery helpers from the working directories used by their callers. Resolve repository configuration relative to the helper module; an iOS job running in `apps/mobile` previously failed before EAS because the reporter looked for `disposabl.json` in that directory.
|
|
10
11
|
- Inspect the native dependency's compiler requirements and the selected runner's installed Xcode/Swift versions. Pin a compatible toolchain; do not assume the runner default is compatible or disable concurrency diagnostics to make a build pass.
|
|
11
12
|
- For iOS simulator builds using SecureStore, retain Xcode simulator signing (`CODE_SIGNING_ALLOWED=YES CODE_SIGN_IDENTITY=-`). Disabling signing can omit the embedded application identifier and cause Keychain error `-34018`, leaving session initialization stuck. Inspect the executable's `__TEXT,__entitlements` section, not just `codesign` output; simulator entitlements are embedded during linking. Verify login and persistence after relaunch before accepting the archive. Simulator ad-hoc signing does not establish device signing or TestFlight readiness.
|
|
12
13
|
- Verify production Android signing is configured before compiling. Check Apple signing and App Store Connect readiness separately; a simulator archive does not establish TestFlight readiness. Do not infer store submission authorization from build authorization.
|
|
@@ -1,53 +1,96 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://turbo.build/schema.json",
|
|
3
3
|
"ui": "tui",
|
|
4
|
-
"globalEnv": [
|
|
4
|
+
"globalEnv": [
|
|
5
|
+
"BUN_VERSION",
|
|
6
|
+
"NODE_VERSION"
|
|
7
|
+
],
|
|
5
8
|
"tasks": {
|
|
6
9
|
"build": {
|
|
7
|
-
"dependsOn": [
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
"
|
|
10
|
+
"dependsOn": [
|
|
11
|
+
"^build"
|
|
12
|
+
],
|
|
13
|
+
"inputs": [
|
|
14
|
+
"$TURBO_DEFAULT$",
|
|
15
|
+
".env*"
|
|
16
|
+
],
|
|
17
|
+
"outputs": [
|
|
18
|
+
"dist/**",
|
|
19
|
+
".output/app/**"
|
|
20
|
+
],
|
|
21
|
+
"env": [
|
|
22
|
+
"VITE_CONVEX_SITE_URL",
|
|
23
|
+
"VITE_CONVEX_URL"
|
|
24
|
+
]
|
|
11
25
|
},
|
|
12
26
|
"lint": {
|
|
13
|
-
"dependsOn": [
|
|
27
|
+
"dependsOn": [
|
|
28
|
+
"^lint"
|
|
29
|
+
]
|
|
14
30
|
},
|
|
15
31
|
"format": {
|
|
16
|
-
"dependsOn": [
|
|
32
|
+
"dependsOn": [
|
|
33
|
+
"^format"
|
|
34
|
+
],
|
|
17
35
|
"cache": false
|
|
18
36
|
},
|
|
19
37
|
"typecheck": {
|
|
20
|
-
"dependsOn": [
|
|
38
|
+
"dependsOn": [
|
|
39
|
+
"^typecheck"
|
|
40
|
+
]
|
|
21
41
|
},
|
|
22
42
|
"@disposabl/web#typecheck": {
|
|
23
|
-
"dependsOn": [
|
|
24
|
-
|
|
25
|
-
|
|
43
|
+
"dependsOn": [
|
|
44
|
+
"^typecheck"
|
|
45
|
+
],
|
|
46
|
+
"inputs": [
|
|
47
|
+
"$TURBO_DEFAULT$",
|
|
48
|
+
"!src/routeTree.gen.ts"
|
|
49
|
+
],
|
|
50
|
+
"outputs": [
|
|
51
|
+
"src/routeTree.gen.ts"
|
|
52
|
+
]
|
|
26
53
|
},
|
|
27
54
|
"@disposabl/disposabl-kit#build": {
|
|
28
|
-
"dependsOn": [
|
|
29
|
-
|
|
55
|
+
"dependsOn": [
|
|
56
|
+
"^build"
|
|
57
|
+
],
|
|
58
|
+
"inputs": [
|
|
59
|
+
"$TURBO_DEFAULT$",
|
|
60
|
+
"$TURBO_ROOT$/packages/backend/convex/**"
|
|
61
|
+
]
|
|
30
62
|
},
|
|
31
63
|
"@disposabl/disposabl-kit#lint": {
|
|
32
|
-
"dependsOn": [
|
|
33
|
-
|
|
64
|
+
"dependsOn": [
|
|
65
|
+
"^lint"
|
|
66
|
+
],
|
|
67
|
+
"inputs": [
|
|
68
|
+
"$TURBO_DEFAULT$",
|
|
69
|
+
"$TURBO_ROOT$/packages/backend/convex/**"
|
|
70
|
+
]
|
|
34
71
|
},
|
|
35
72
|
"@disposabl/disposabl-kit#typecheck": {
|
|
36
|
-
"dependsOn": [
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
73
|
+
"dependsOn": [
|
|
74
|
+
"^typecheck"
|
|
75
|
+
],
|
|
76
|
+
"inputs": [
|
|
77
|
+
"$TURBO_DEFAULT$",
|
|
78
|
+
"$TURBO_ROOT$/packages/backend/convex/**"
|
|
79
|
+
]
|
|
41
80
|
},
|
|
42
81
|
"dev": {
|
|
43
82
|
"cache": false,
|
|
44
83
|
"persistent": true,
|
|
45
|
-
"passThroughEnv": [
|
|
84
|
+
"passThroughEnv": [
|
|
85
|
+
"VITE_*"
|
|
86
|
+
]
|
|
46
87
|
},
|
|
47
88
|
"@disposabl/backend#dev": {
|
|
48
89
|
"cache": false,
|
|
49
90
|
"persistent": true,
|
|
50
|
-
"with": [
|
|
91
|
+
"with": [
|
|
92
|
+
"@disposabl/backend#generate:watch"
|
|
93
|
+
]
|
|
51
94
|
},
|
|
52
95
|
"generate:watch": {
|
|
53
96
|
"cache": false,
|
|
@@ -57,9 +100,13 @@
|
|
|
57
100
|
"cache": false
|
|
58
101
|
},
|
|
59
102
|
"@disposabl/web#build": {
|
|
60
|
-
"dependsOn": [
|
|
103
|
+
"dependsOn": [
|
|
104
|
+
"^build"
|
|
105
|
+
],
|
|
61
106
|
"cache": false
|
|
62
107
|
}
|
|
63
108
|
},
|
|
64
|
-
"globalDependencies": [
|
|
109
|
+
"globalDependencies": [
|
|
110
|
+
"disposabl.json"
|
|
111
|
+
]
|
|
65
112
|
}
|