create-textmode 1.1.0 → 1.1.1

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
@@ -48,7 +48,7 @@ The CLI will prompt for project name, template, textmode.js version, official ad
48
48
 
49
49
  ```bash
50
50
  # TypeScript template, pin textmode.js, auto-install, do not run dev server
51
- npm create textmode@latest my-textmode-app -- --template vanilla-ts --textmode-version 0.17.2 --install --no-run
51
+ npm create textmode@latest my-textmode-app -- --template vanilla-ts --textmode-version 0.18.0 --install --no-run
52
52
 
53
53
  # JavaScript template with pnpm, skip install and run
54
54
  pnpm create textmode@latest demo -- --template vanilla-js --pm pnpm --no-install --no-run
@@ -62,7 +62,7 @@ npm create textmode@latest audio-art -- --template vanilla-js --addons synth,exp
62
62
  - `--template <name>`: choose a template *(prompts if omitted)*
63
63
  - `--addons <name1,name2,...>`: pre-install official textmode.js add-ons and wire their plugins into the starter sketch *(prompts via multi-select if omitted)*
64
64
  - `--name <projectName>` or first positional arg: directory/package name *(default suggestion if omitted)*
65
- - `--textmode-version <ver>`: pin textmode.js *(prompts from fetched stable versions >= 0.17.2; defaults to `latest`)*
65
+ - `--textmode-version <ver>`: pin textmode.js *(prompts from fetched stable versions >= 0.18.0; defaults to `latest`)*
66
66
  - `--pm <npm|pnpm|yarn|bun>`: force a package manager *(auto-detected otherwise)*
67
67
  - `--install` / `--no-install`: install dependencies after scaffold *(prompts if neither is provided)*
68
68
  - `--run` / `--no-run`: start the dev server after install *(prompts if neither is provided)*
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-textmode",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Scaffold textmode.js projects with zero friction",
5
5
  "type": "module",
6
6
  "bin": {
@@ -71,6 +71,6 @@
71
71
  "@textmode/build": "^0.1.0",
72
72
  "@textmode/lint": "^0.1.0",
73
73
  "@textmode/release": "^0.2.1",
74
- "textmode.js": "^0.17.2"
74
+ "textmode.js": "^0.18.0"
75
75
  }
76
76
  }
package/src/constants.js CHANGED
@@ -50,7 +50,7 @@ export const addons = [
50
50
 
51
51
  // Minimum textmode.js version the scaffolder will offer. All official add-ons
52
52
  // peer-depend on a lower bound well below this floor, so it also covers them.
53
- export const MIN_TEXTMODE_VERSION = '0.17.2';
53
+ export const MIN_TEXTMODE_VERSION = '0.18.0';
54
54
 
55
55
  // File name patterns considered text for placeholder replacement.
56
56
  export const TEXT_FILE_REGEX = /\.(json|js|jsx|ts|tsx|vue|md|html|txt|cjs|mjs)$/i;
@@ -19,7 +19,7 @@ export async function resolveTextmodeVersion(requestedTextmodeVersion, promptTex
19
19
  textmodeVersion = 'latest';
20
20
  }
21
21
 
22
- // Only offer versions at or above the global minimum (e.g. >= 0.17.1).
22
+ // Only offer versions at or above the global minimum (e.g. >= 0.18.0).
23
23
  // Every official add-on peer-depends on a lower floor, so this also covers
24
24
  // add-on compatibility.
25
25
  const eligibleVersions = filterAtLeast(stableVersions, MIN_TEXTMODE_VERSION);