@rshono/create 1.0.0-rc.17 → 1.0.0-rc.18

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/api.mjs CHANGED
@@ -147,7 +147,7 @@ __webpack_require__.d(__webpack_exports__, {
147
147
 
148
148
  ;// CONCATENATED MODULE: ./src/generated/framework.ts
149
149
  // GENERATED by scripts/codegen.mjs from packages/core — do not edit. Run `pnpm --filter @rshono/create codegen`.
150
- /** The framework release a scaffolded app is pinned to: this package and rshono ship together. */ const RSHONO_VERSION = '1.0.0-rc.17';
150
+ /** The framework release a scaffolded app is pinned to: this package and rshono ship together. */ const RSHONO_VERSION = '1.0.0-rc.18';
151
151
  /**
152
152
  * The Node range rshono declares, restated in every scaffolded app's `engines` — so a CI image or a contributor
153
153
  * on an older Node hears it from their package manager rather than from a stack trace.
@@ -160,7 +160,7 @@ __webpack_require__.d(__webpack_exports__, {
160
160
  react: '19.2.8',
161
161
  'react-dom': '19.2.8',
162
162
  typescript: '^7.0.2',
163
- '@types/node': '^26.2.0',
163
+ '@types/node': '^26.4.0',
164
164
  '@types/react': '^19.2.18'
165
165
  };
166
166
  /** Every `deploy` target the installed framework knows, with the command that ships what it built. */ const DEPLOY_TARGETS = [
package/dist/cli.mjs CHANGED
@@ -846,7 +846,7 @@ function dist_m(l, e) {
846
846
  if (e)
847
847
  return l ? e : e[0];
848
848
  }
849
- let T$1 = class T extends (/* unused pure expression or super */ null && (dist_V)) {
849
+ let T$1 = class T extends dist_V {
850
850
  filteredOptions;
851
851
  multiple;
852
852
  isNavigating = false;
@@ -862,11 +862,11 @@ let T$1 = class T extends (/* unused pure expression or super */ null && (dist_V
862
862
  }
863
863
  get userInputWithCursor() {
864
864
  if (!this.userInput)
865
- return styleText(["inverse", "hidden"], "_");
865
+ return external_node_util_styleText(["inverse", "hidden"], "_");
866
866
  if (this._cursor >= this.userInput.length)
867
867
  return `${this.userInput}\u2588`;
868
868
  const e = this.userInput.slice(0, this.cursor), t = this.userInput.slice(this.cursor, this.cursor + 1), i = this.userInput.slice(this.cursor + 1);
869
- return `${e}${styleText("inverse", t)}${i}`;
869
+ return `${e}${external_node_util_styleText("inverse", t)}${i}`;
870
870
  }
871
871
  get options() {
872
872
  return typeof this.#i == "function" ? this.#i() : this.#i;
@@ -1160,7 +1160,7 @@ class U extends dist_V {
1160
1160
  }
1161
1161
  }
1162
1162
 
1163
- let u$2 = class u extends (/* unused pure expression or super */ null && (dist_V)) {
1163
+ let u$2 = class u extends dist_V {
1164
1164
  options;
1165
1165
  cursor = 0;
1166
1166
  #t;
@@ -1364,7 +1364,7 @@ class dist_a extends dist_V {
1364
1364
  }
1365
1365
  }
1366
1366
 
1367
- let u$1 = class u extends (/* unused pure expression or super */ null && (dist_V)) {
1367
+ let u$1 = class u extends dist_V {
1368
1368
  _mask = "\u2022";
1369
1369
  get cursor() {
1370
1370
  return this._cursor;
@@ -1377,9 +1377,9 @@ let u$1 = class u extends (/* unused pure expression or super */ null && (dist_V
1377
1377
  return this.masked;
1378
1378
  const t = this.userInput;
1379
1379
  if (this.cursor >= t.length)
1380
- return `${this.masked}${styleText(["inverse", "hidden"], "_")}`;
1380
+ return `${this.masked}${external_node_util_styleText(["inverse", "hidden"], "_")}`;
1381
1381
  const s = this.masked, r = s.slice(0, this.cursor), i = s.slice(this.cursor, this.cursor + 1), o = s.slice(this.cursor + 1);
1382
- return `${r}${styleText("inverse", i)}${o}`;
1382
+ return `${r}${external_node_util_styleText("inverse", i)}${o}`;
1383
1383
  }
1384
1384
  clear() {
1385
1385
  this._clearUserInput();
@@ -2941,7 +2941,7 @@ function hasGit(cwd) {
2941
2941
 
2942
2942
  ;// CONCATENATED MODULE: ./src/generated/framework.ts
2943
2943
  // GENERATED by scripts/codegen.mjs from packages/core — do not edit. Run `pnpm --filter @rshono/create codegen`.
2944
- /** The framework release a scaffolded app is pinned to: this package and rshono ship together. */ const RSHONO_VERSION = '1.0.0-rc.17';
2944
+ /** The framework release a scaffolded app is pinned to: this package and rshono ship together. */ const RSHONO_VERSION = '1.0.0-rc.18';
2945
2945
  /**
2946
2946
  * The Node range rshono declares, restated in every scaffolded app's `engines` — so a CI image or a contributor
2947
2947
  * on an older Node hears it from their package manager rather than from a stack trace.
@@ -2954,7 +2954,7 @@ function hasGit(cwd) {
2954
2954
  react: '19.2.8',
2955
2955
  'react-dom': '19.2.8',
2956
2956
  typescript: '^7.0.2',
2957
- '@types/node': '^26.2.0',
2957
+ '@types/node': '^26.4.0',
2958
2958
  '@types/react': '^19.2.18'
2959
2959
  };
2960
2960
  /** Every `deploy` target the installed framework knows, with the command that ships what it built. */ const DEPLOY_TARGETS = [
@@ -3920,7 +3920,7 @@ function fail(message) {
3920
3920
  async function main() {
3921
3921
  const { values, positionals } = parse();
3922
3922
  if (values.help) return console.log(HELP);
3923
- if (values.version) return console.log("1.0.0-rc.17");
3923
+ if (values.version) return console.log("1.0.0-rc.18");
3924
3924
  // A pipe, a CI job or an agent gets the defaults rather than a prompt nothing can answer. Both streams have to
3925
3925
  // be a terminal: the prompts draw on stdout but read from stdin.
3926
3926
  const interactive = Boolean(process.stdin.isTTY && process.stdout.isTTY) && !values.yes;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rshono/create",
3
- "version": "1.0.0-rc.17",
3
+ "version": "1.0.0-rc.18",
4
4
  "description": "Scaffold a new rshono app — Hono + Rspack + React Server Components",
5
5
  "author": "Lasse <lasse@lassetange.com> (https://www.lassetange.com)",
6
6
  "license": "MIT",
@@ -43,10 +43,10 @@
43
43
  },
44
44
  "devDependencies": {
45
45
  "@clack/prompts": "^1.7.0",
46
- "@rspack/core": "2.2.0",
47
- "@types/node": "^26.2.0",
46
+ "@rspack/core": "2.2.1",
47
+ "@types/node": "^26.4.0",
48
48
  "typescript": "^7.0.2",
49
- "@rshono/core": "1.0.0-rc.17"
49
+ "@rshono/core": "1.0.0-rc.18"
50
50
  },
51
51
  "scripts": {
52
52
  "build": "node scripts/codegen.mjs && node scripts/build.mjs",