create-disposabl-app 0.8.8 → 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/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/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
|
|
|
@@ -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
|
}
|