create-disposabl-app 0.2.1 → 0.2.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/dist/index.js CHANGED
@@ -8,7 +8,7 @@ import { fileURLToPath } 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.2.1";
11
+ var version = "0.2.2";
12
12
 
13
13
  // options.ts
14
14
  var platforms = [
@@ -36,6 +36,14 @@ jobs:
36
36
  with:
37
37
  bun-version: "1.4.4"
38
38
 
39
+ - name: Cache Turbo tasks
40
+ uses: actions/cache@v4
41
+ with:
42
+ path: .turbo/cache
43
+ key: turbo-${{ runner.os }}-${{ runner.arch }}-node24-bun1.4.4-${{ github.sha }}
44
+ restore-keys: |
45
+ turbo-${{ runner.os }}-${{ runner.arch }}-node24-bun1.4.4-
46
+
39
47
  - name: Install dependencies
40
48
  run: bun install --frozen-lockfile
41
49
 
@@ -53,6 +61,8 @@ jobs:
53
61
  run: bun test --pass-with-no-tests
54
62
 
55
63
  - name: Build
64
+ # Trusted branches build once below, with their actual deployment URLs.
65
+ if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository
56
66
  env:
57
67
  VITE_CONVEX_URL: https://ci.invalid
58
68
  VITE_CONVEX_SITE_URL: https://ci.invalid
@@ -3,57 +3,35 @@
3
3
  "ui": "tui",
4
4
  "tasks": {
5
5
  "build": {
6
- "dependsOn": [
7
- "^build"
8
- ],
9
- "inputs": [
10
- "$TURBO_DEFAULT$",
11
- ".env*"
12
- ],
13
- "outputs": [
14
- "dist/**",
15
- ".output/app/**"
16
- ],
17
- "env": [
18
- "VITE_CONVEX_SITE_URL",
19
- "VITE_CONVEX_URL"
20
- ],
21
- "cache": false
6
+ "dependsOn": ["^build"],
7
+ "inputs": ["$TURBO_DEFAULT$", ".env*"],
8
+ "outputs": ["dist/**", ".output/app/**"],
9
+ "env": ["VITE_CONVEX_SITE_URL", "VITE_CONVEX_URL"]
22
10
  },
23
11
  "lint": {
24
- "dependsOn": [
25
- "^lint"
26
- ]
12
+ "dependsOn": ["^lint"]
27
13
  },
28
14
  "format": {
29
- "dependsOn": [
30
- "^format"
31
- ],
15
+ "dependsOn": ["^format"],
32
16
  "cache": false
33
17
  },
34
18
  "typecheck": {
35
- "dependsOn": [
36
- "^typecheck"
37
- ]
19
+ "dependsOn": ["^typecheck"]
20
+ },
21
+ "@disposabl/web#typecheck": {
22
+ "dependsOn": ["^typecheck"],
23
+ "outputs": ["src/routeTree.gen.ts"]
38
24
  },
39
25
  "@disposabl/backend#dev:setup": {
40
26
  "cache": false,
41
- "passThroughEnv": [
42
- "CONVEX_DEPLOY_KEY"
43
- ]
27
+ "passThroughEnv": ["CONVEX_DEPLOY_KEY"]
44
28
  },
45
29
  "dev": {
46
- "dependsOn": [
47
- "@disposabl/backend#dev:setup"
48
- ],
30
+ "dependsOn": ["@disposabl/backend#dev:setup"],
49
31
  "cache": false,
50
32
  "persistent": true,
51
- "passThroughEnv": [
52
- "VITE_*"
53
- ]
33
+ "passThroughEnv": ["VITE_*"]
54
34
  }
55
35
  },
56
- "globalDependencies": [
57
- "disposabl.json"
58
- ]
36
+ "globalDependencies": ["disposabl.json", "packages/backend/convex/**"]
59
37
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-disposabl-app",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Create a Disposabl app",
5
5
  "type": "module",
6
6
  "license": "MIT",