rwsdk 1.0.0-beta.2 → 1.0.0-beta.2-test.20250930092748

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.
@@ -1,5 +1,5 @@
1
1
  import debug from "debug";
2
- import { join } from "path";
2
+ import { dirname, join } from "path";
3
3
  import { fileURLToPath } from "url";
4
4
  import { runSmokeTests } from "../lib/smokeTests/runSmokeTests.mjs";
5
5
  import { isRunningInCI } from "../lib/smokeTests/utils.mjs";
@@ -16,11 +16,13 @@ if (fileURLToPath(import.meta.url) === process.argv[1]) {
16
16
  // Check for CI flag first
17
17
  const ciFlag = args.includes("--ci");
18
18
  // Set initial default values (sync will be determined below)
19
+ const __dirname = dirname(fileURLToPath(import.meta.url));
20
+ const starterPath = join(__dirname, "..", "..", "..", "starter");
19
21
  const options = {
20
22
  skipDev: false,
21
23
  skipRelease: false,
22
24
  skipClient: false,
23
- projectDir: undefined,
25
+ projectDir: starterPath,
24
26
  artifactDir: join(process.cwd(), ".artifacts"), // Default to .artifacts in current directory
25
27
  keep: isRunningInCI(ciFlag), // Default to true in CI environments
26
28
  headless: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rwsdk",
3
- "version": "1.0.0-beta.2",
3
+ "version": "1.0.0-beta.2-test.20250930092748",
4
4
  "description": "Build fast, server-driven webapps on Cloudflare with SSR, RSC, and realtime",
5
5
  "type": "module",
6
6
  "bin": {