create-solidrt 0.0.65 → 0.0.67

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 CHANGED
@@ -8,10 +8,10 @@ cd my-app
8
8
  bun run dev
9
9
  ```
10
10
 
11
- This forwards to `srt init` from `@solidrt/cli`, which writes a starter project
11
+ This forwards to `sol init` from `@solidrt/cli`, which writes a starter project
12
12
  (package.json, tsconfig.json, AGENTS.md, src/index.tsx) into a new, empty folder
13
13
  and installs the dependencies.
14
14
 
15
- Bun is only used for development: it runs the scaffolder, the `srt` CLI and the
15
+ Bun is only used for development: it runs the scaffolder, the `sol` CLI and the
16
16
  dev server. A SolidRT app itself runs on the SolidRT runtime, which embeds its
17
17
  own JavaScript engine, so Bun is not needed to run or ship the app.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-solidrt",
3
- "version": "0.0.65",
3
+ "version": "0.0.67",
4
4
  "license": "MIT",
5
5
  "funding": "https://github.com/sponsors/wellawaretech",
6
6
  "author": "Antoine van Wel",
package/src/main.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  // `bun create solidrt <dir>` entry point. A thin wrapper that forwards to
2
- // `srt init` in @solidrt/cli, so there is one source of truth for what a new
2
+ // `sol init` in @solidrt/cli, so there is one source of truth for what a new
3
3
  // SolidRT project looks like. We shell out via `bun x` rather than depend on
4
4
  // @solidrt/cli directly, to avoid pulling its native-binary tree into the
5
- // scaffolder. The empty/existing-folder guard lives in `srt init`.
5
+ // scaffolder. The empty/existing-folder guard lives in `sol init`.
6
6
  import pkg from "../package.json" with { type: "json" }
7
7
 
8
8
  let dir = process.argv[2]
@@ -18,7 +18,7 @@ if (!dir || dir.startsWith("-")) {
18
18
  // unpublished 0.0.0 workspace version, which has no npm release to pin to.
19
19
  let cli = pkg.version === "0.0.0" ? "@solidrt/cli@latest" : `@solidrt/cli@${pkg.version}`
20
20
 
21
- // Forward any trailing flags to `srt init` untouched.
21
+ // Forward any trailing flags to `sol init` untouched.
22
22
  let extra = process.argv.slice(3)
23
23
  let proc = Bun.spawnSync(["bun", "x", cli, "init", dir, ...extra], {
24
24
  stdin: "inherit",