tsoft-cli 3.10.0 → 3.10.2

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +20 -15
  3. package/package.json +5 -3
package/CHANGELOG.md CHANGED
@@ -5,6 +5,18 @@ All notable changes to T-Soft CLI will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [3.10.2] - 2026-08-03
9
+
10
+ ### Fixed
11
+ - The README documented `tsoft theme publish` as the way to publish a theme. The canonical command is `tsoft theme push`; `publish` is a deprecated alias that prints a warning and forwards to it. `push` did not appear in the README at all, so anyone starting from the npm package page was sent down the deprecated path and hit a warning on their first command. The command table and examples now use `push`, and the deprecated `publish` and `submit` aliases are covered by a single backwards-compatibility note rather than being advertised as commands.
12
+ - Two other rows in the command table had drifted from the code: `tsoft theme create` accepts an optional theme name argument, and `tsoft theme push` supports `--verbose`. Neither was documented.
13
+
14
+ ## [3.10.1] - 2026-07-30
15
+
16
+ ### Fixed
17
+ - The declared Node.js requirement now matches what the CLI actually needs: `>=20.19.0` instead of `>=18.0.0`. The old figure had not been true for some time. `@inquirer/prompts` dropped Node 18 and 19 entirely, and `chokidar` requires 20.19.0 or newer, so installing on Node 18 produced an `EBADENGINE` warning and then failed at runtime on any interactive command. Nothing about the CLI changed — the requirement is simply stated honestly now, so npm can warn before installation rather than leaving you with a broken command.
18
+ - The same version is now stated consistently in `package.json`, the README requirements list, and CONTRIBUTING. Previously all three repeated the outdated `18.0.0`, and the figure on the npm package page comes straight from `package.json`.
19
+
8
20
  ## [3.10.0] - 2026-07-30
9
21
 
10
22
  ### Added
package/README.md CHANGED
@@ -10,7 +10,7 @@ npm install -g tsoft-cli
10
10
 
11
11
  ## Requirements
12
12
 
13
- - Node.js >= 18.0.0
13
+ - Node.js >= 20.19.0
14
14
 
15
15
  ## Quick Start
16
16
 
@@ -40,28 +40,33 @@ tsoft theme dev
40
40
 
41
41
  ### Theme Management
42
42
 
43
- | Command | Description |
44
- | ---------------------------- | ----------------------------------------- |
45
- | `tsoft theme list` | List all themes |
46
- | `tsoft theme create` | Create a new theme (interactive) |
47
- | `tsoft theme pull` | Pull an existing theme |
48
- | `tsoft theme use [name]` | Set the active theme |
49
- | `tsoft theme dev [name]` | Start dev mode (hot-reload) |
50
- | `tsoft theme publish [name]` | Publish the theme to the TSoftApps market |
51
- | `tsoft theme section list` | List blocks and sections |
52
- | `tsoft theme section add` | Add a section (interactive) |
43
+ | Command | Description |
44
+ | -------------------------- | --------------------------------------- |
45
+ | `tsoft theme list` | List all themes |
46
+ | `tsoft theme create [name]` | Create a new theme |
47
+ | `tsoft theme pull` | Pull an existing theme |
48
+ | `tsoft theme use [name]` | Set the active theme |
49
+ | `tsoft theme dev [name]` | Start dev mode (hot-reload) |
50
+ | `tsoft theme push [name]` | Push theme files to your store |
51
+ | `tsoft theme section list` | List blocks and sections |
52
+ | `tsoft theme section add` | Add a section (interactive) |
53
53
 
54
- ## Publishing a Theme
54
+ `tsoft theme publish` and `tsoft theme submit` are deprecated aliases kept for backwards compatibility. `publish` forwards to `push`; submission is now done from the partner panel.
55
+
56
+ ## Pushing a Theme
55
57
 
56
58
  ```bash
57
59
  # Using the active theme
58
- tsoft theme publish
60
+ tsoft theme push
59
61
 
60
62
  # Using a specific theme
61
- tsoft theme publish my-theme
63
+ tsoft theme push my-theme
64
+
65
+ # With verbose error output
66
+ tsoft theme push --verbose
62
67
  ```
63
68
 
64
- On the first publish you enter the initial version number. Subsequent updates prompt for a semantic-versioning bump type (patch / minor / major).
69
+ On the first push you enter the initial version number. Subsequent updates prompt for a semantic-versioning bump type (patch / minor / major).
65
70
 
66
71
  ## Security
67
72
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tsoft-cli",
3
- "version": "3.10.0",
3
+ "version": "3.10.2",
4
4
  "description": "Command-line tool for tsoft360 theme development and management",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -8,14 +8,15 @@
8
8
  "tsoft": "src/index.js"
9
9
  },
10
10
  "engines": {
11
- "node": ">=18.0.0"
11
+ "node": ">=20.19.0"
12
12
  },
13
13
  "scripts": {
14
14
  "start": "node src/index.js",
15
15
  "dev": "node --watch src/index.js",
16
16
  "test": "vitest run",
17
17
  "test:watch": "vitest",
18
- "check-locales": "node scripts/check-locales.js"
18
+ "check-locales": "node scripts/check-locales.js",
19
+ "check-engine-floor": "node scripts/check-engine-floor.js"
19
20
  },
20
21
  "keywords": [
21
22
  "tsoft",
@@ -54,6 +55,7 @@
54
55
  "url": "git+https://github.com/tekrom/tsoft-cli.git"
55
56
  },
56
57
  "devDependencies": {
58
+ "semver": "^7.8.5",
57
59
  "vitest": "^4.1.5"
58
60
  }
59
61
  }