@thi.ng/block-fs 0.5.1 → 0.5.3

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 +7 -1
  2. package/cli.js +9 -10
  3. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2025-06-24T21:39:38Z
3
+ - **Last updated**: 2025-06-27T13:16:16Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
@@ -11,6 +11,12 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
11
11
  **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
12
12
  and/or version bumps of transitive dependencies.
13
13
 
14
+ ### [0.5.3](https://github.com/thi-ng/umbrella/tree/@thi.ng/block-fs@0.5.3) (2025-06-27)
15
+
16
+ #### ♻️ Refactoring
17
+
18
+ - minor update CLI wrapper ([8138d88](https://github.com/thi-ng/umbrella/commit/8138d88))
19
+
14
20
  ## [0.5.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/block-fs@0.5.0) (2025-06-18)
15
21
 
16
22
  #### 🚀 Features
package/cli.js CHANGED
@@ -3,7 +3,8 @@ import {
3
3
  flag,
4
4
  int,
5
5
  string,
6
- strings
6
+ strings,
7
+ THING_HEADER
7
8
  } from "@thi.ng/args";
8
9
  import { align, isPow2 } from "@thi.ng/binary";
9
10
  import { illegalArgs } from "@thi.ng/errors";
@@ -204,6 +205,8 @@ const LIST = {
204
205
  }
205
206
  };
206
207
  cliApp({
208
+ name: "blockfs",
209
+ start: 3,
207
210
  opts: {
208
211
  verbose: flag({
209
212
  alias: "v",
@@ -218,21 +221,17 @@ cliApp({
218
221
  convert: CONVERT,
219
222
  list: LIST
220
223
  },
221
- name: "blockfs",
222
224
  ctx: async (ctx) => {
223
225
  if (ctx.opts.quiet) ctx.logger.level = LogLevel.NONE;
224
226
  else if (ctx.opts.verbose) ctx.logger.level = LogLevel.DEBUG;
225
227
  return ctx;
226
228
  },
227
- start: 3,
228
229
  usage: {
229
- prefix: `
230
- \u2588 \u2588 \u2588 \u2502
231
- \u2588\u2588 \u2588 \u2502
232
- \u2588 \u2588 \u2588 \u2588 \u2588 \u2588 \u2588 \u2588 \u2502 ${PKG.name} ${PKG.version}
233
- \u2588 \u2588 \u2588 \u2588 \u2588 \u2588 \u2588 \u2588 \u2588 \u2502 Block-based storage & file system layer
234
- \u2588 \u2502
235
- \u2588 \u2588 \u2502
230
+ prefix: `${THING_HEADER(
231
+ PKG.name,
232
+ PKG.version,
233
+ "Block-based storage & file system layer"
234
+ )}
236
235
 
237
236
  Usage: blockfs <cmd> [opts] input [...]
238
237
  blockfs <cmd> --help
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/block-fs",
3
- "version": "0.5.1",
3
+ "version": "0.5.3",
4
4
  "description": "Customizable block-based storage, adapters & file system layer",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -43,7 +43,7 @@
43
43
  },
44
44
  "dependencies": {
45
45
  "@thi.ng/api": "^8.11.29",
46
- "@thi.ng/args": "^2.3.71",
46
+ "@thi.ng/args": "^2.5.0",
47
47
  "@thi.ng/binary": "^3.4.52",
48
48
  "@thi.ng/bitfield": "^2.4.5",
49
49
  "@thi.ng/checks": "^3.7.9",
@@ -132,5 +132,5 @@
132
132
  "status": "alpha",
133
133
  "year": 2024
134
134
  },
135
- "gitHead": "45e91ee75236e39fc87ea10fbabac1272bef62e3\n"
135
+ "gitHead": "71294b20c04b6ee35db08d30b43b292b07af0d1b\n"
136
136
  }