create-disposabl-app 0.20.1 → 0.20.3
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/disposabl.js +1 -1
- package/dist/index.js +14 -1
- package/dist/templates/default/turbo.json +16 -0
- package/package.json +1 -1
package/dist/disposabl.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -1563,7 +1563,7 @@ import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
|
1563
1563
|
import { Command, CommanderError } from "commander";
|
|
1564
1564
|
import * as p2 from "@clack/prompts";
|
|
1565
1565
|
// package.json
|
|
1566
|
-
var version = "0.20.
|
|
1566
|
+
var version = "0.20.3";
|
|
1567
1567
|
|
|
1568
1568
|
// ../cli/telemetry.ts
|
|
1569
1569
|
var import_proper_lockfile2 = __toESM(require_proper_lockfile(), 1);
|
|
@@ -9342,6 +9342,19 @@ export const Route = createFileRoute("/_providers/_authenticated/dashboard")({
|
|
|
9342
9342
|
`);
|
|
9343
9343
|
await rm4(join4(destination, "packages/disposabl-kit/server/lib/docs.ts"));
|
|
9344
9344
|
}
|
|
9345
|
+
const turboPath = join4(destination, "turbo.json");
|
|
9346
|
+
const turbo = JSON.parse(await readFile4(turboPath, "utf8"));
|
|
9347
|
+
if (folders.includes("packages/sdk")) {
|
|
9348
|
+
turbo.tasks["@disposabl/tests#typecheck"].dependsOn = [
|
|
9349
|
+
"^typecheck",
|
|
9350
|
+
`${name}-sdk#typecheck`
|
|
9351
|
+
];
|
|
9352
|
+
turbo.tasks[`${name}-sdk#typecheck`] = turbo.tasks["@disposabl/sdk#typecheck"];
|
|
9353
|
+
} else
|
|
9354
|
+
delete turbo.tasks["@disposabl/tests#typecheck"];
|
|
9355
|
+
delete turbo.tasks["@disposabl/sdk#typecheck"];
|
|
9356
|
+
await writeFile4(turboPath, JSON.stringify(turbo, null, 2) + `
|
|
9357
|
+
`);
|
|
9345
9358
|
for (const kind of ["cli", "sdk"]) {
|
|
9346
9359
|
const folder = join4(destination, "packages", kind);
|
|
9347
9360
|
if (!folders.includes(`packages/${kind}`)) {
|
|
@@ -39,6 +39,22 @@
|
|
|
39
39
|
"^typecheck"
|
|
40
40
|
]
|
|
41
41
|
},
|
|
42
|
+
"@disposabl/tests#typecheck": {
|
|
43
|
+
"dependsOn": [
|
|
44
|
+
"^typecheck",
|
|
45
|
+
"@disposabl/sdk#typecheck"
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
"@disposabl/sdk#typecheck": {
|
|
49
|
+
"dependsOn": [
|
|
50
|
+
"^typecheck"
|
|
51
|
+
],
|
|
52
|
+
"inputs": [
|
|
53
|
+
"$TURBO_DEFAULT$",
|
|
54
|
+
"$TURBO_ROOT$/packages/backend/generated/openapi.json"
|
|
55
|
+
],
|
|
56
|
+
"cache": false
|
|
57
|
+
},
|
|
42
58
|
"@disposabl/web#typecheck": {
|
|
43
59
|
"dependsOn": [
|
|
44
60
|
"^typecheck"
|