Skip to content

Commit 0a8da35

Browse files
committed
Release v26.2.2
New Features: - cli: Add debug option (Lauri Rooden) - release: Add setVersion option (Lauri Rooden) - build: Add jsmin option (Lauri Rooden) - build: Allow to build ui files (Lauri Rooden) - build: Allow to build js+ui (Lauri Rooden) Fixes: - build: Fix #path only urls (Lauri Rooden) - Fix mkdirp crash without dir (Lauri Rooden) Enhancements: - build: Remove out.split(",") (Lauri Rooden) - build: Resolve {h} in --out (Lauri Rooden) - Log engine version (Lauri Rooden) - Do not allow recursion in cli.cp (Lauri Rooden) - opts: Do not overwrite objects with assignOpts (Lauri Rooden)
1 parent 944c3df commit 0a8da35

4 files changed

Lines changed: 8 additions & 13 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Command line tools for [LiteJS][] full-stack framework.
1616
See [Quick Start Guide](https://github.com/litejs/litejs/wiki/Quick-Start)
1717
and [wiki](https://github.com/litejs/cli/wiki) for more.
1818

19-
> Copyright (c) 2013-2025 Lauri Rooden <lauri@rooden.ee>
19+
> Copyright (c) 2013-2026 Lauri Rooden <lauri@rooden.ee>
2020
[MIT License](https://litejs.com/MIT-LICENSE.txt) |
2121
[GitHub repo](https://github.com/litejs/cli) |
2222
[npm package](https://npmjs.org/package/@litejs/cli) |

cli.js

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,8 @@
33
//- Usage
44
//- lj [init|bench|build|help|test]
55
//-
6-
//- build options
7-
//- --banner Add commented banner to output
8-
//- --cat Build src files (default: true)
9-
//- --assets URL template for assets eg "assets/{h}.{ext}"
10-
//- --fetch Fetch remote resources (default: true)
11-
//- --min Minified output file
12-
//- --out Output file
13-
//- --readme Replace readme tags in file
14-
//- --ver Override version string
15-
//- --worker Update worker file
6+
//- global options
7+
//- --debug Print parsed options
168
//-
179
//- Examples
1810
//- lj b --out=ui/index.html ui/dev.html

lib/release.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//-
22
//- Deletes node_modules, runs `npm install`,
3-
//- runs `lj build` and `lj test`, updates version in package.json,
3+
//- runs `lj build` and `lj test`, updates version,
44
//- commit and create version tag.
55
//-
66
//- Usage
@@ -15,9 +15,12 @@
1515
//- --no-update Ignore outdated dependencies
1616
//- --no-upstream Ignore new commits on upstream
1717
//- --rewrite Rewrite last tag
18+
//- --set-version Files to update version in (default: package.json#version)
19+
//- Supports JSON (dot path) and TOML (section.key)
1820
//-
1921
//- Examples
2022
//- lj r --no-install
23+
//- lj r --set-version="package.json#version" --set-version="config.toml#package.version"
2124
//-
2225

2326

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@litejs/cli",
3-
"version": "26.2.1",
3+
"version": "26.2.2",
44
"description": "Command line tools for LiteJS framework",
55
"license": "MIT",
66
"author": "Lauri Rooden <lauri@rooden.ee>",

0 commit comments

Comments
 (0)