@aseity/idocs 0.5.0 → 0.7.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @aseity/idocs
2
2
 
3
+ ## 0.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Accept inline runs in list items and custom fill and border colors on callouts. Give fix suggestions for missing block types, misplaced styles, cell and table fields, and paragraph spacing affected by callout indentation. Preserve paragraph line breaks and document edits when applying source patches.
8
+
9
+ ## 0.6.0
10
+
11
+ ### Minor Changes
12
+
13
+ - Add `idocs pages` to inspect compact pagination summaries without writing a full layout file. Summaries include page labels, source locations, table row ranges and page-break reasons. Use `--pages` to select a page range and `--details` to include font records and diagnostic details. Existing document commands and source files remain compatible.
14
+
3
15
  ## 0.5.0
4
16
 
5
17
  ### Minor Changes
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Create, check and render iDocs source documents and export editable DOCX files.
4
4
 
5
- This distribution is in local acceptance. Public registry publication is pending.
5
+ The CLI is available from the public npm registry.
6
6
 
7
7
  The first native target is Linux x64 with glibc 2.36 or newer. The npm launcher requires Node 24 or newer. npm 11 is the tested package manager. musl, other CPU architectures and other operating systems are unsupported.
8
8
 
@@ -13,12 +13,15 @@ The native archive runs without Node or Rust. It needs the system loader, glibc
13
13
  ```sh
14
14
  idocs --version
15
15
  idocs check report.idoc --layout report.layout.json
16
+ idocs pages report.idoc
16
17
  idocs export report.idoc --out report.docx
17
18
  idocs snapshot report.idoc --out preview
18
19
  ```
19
20
 
20
21
  Standard output is JSON for document commands. Exit codes are 0 for success, 1 for document failure and 2 for usage or environment failure. Inspect warnings and conversion losses even after success. Native snapshots use the current font environment; Word may paginate differently with other fonts.
21
22
 
23
+ Use `idocs pages report.idoc --pages 2-4` to inspect a page range without writing a layout file. The summary reports page labels, source locations, table row ranges and page-break reasons. Add `--details` for font records and diagnostic details.
24
+
22
25
  Linux system and user fonts are discovered through `fc-list`. Additional font directories can be saved in `$XDG_CONFIG_HOME/idocs/config.json`, or `$HOME/.config/idocs/config.json` when XDG_CONFIG_HOME is unset. Use `{"fontDirs":["/absolute/font/directory"]}`. Relative directories resolve beside the config file. New processes load the saved directories automatically. Remove entries or the config file to clear them. Repeated `--font-dir` arguments add directories for one run without modifying configuration.
23
26
 
24
27
  Font priority is document registration, command-line directories, saved directories, system fonts, then the existing fallback resource directory. `IDOCS_FONTS` names that fallback directory, not a system font list. Missing or unreadable fonts and missing glyphs produce diagnostics. `--strict` makes relevant warnings fail. The CLI does not embed user fonts into exported DOCX.
package/package.json CHANGED
@@ -1,8 +1,13 @@
1
1
  {
2
2
  "name": "@aseity/idocs",
3
- "version": "0.5.0",
3
+ "version": "0.7.0",
4
4
  "description": "iDocs native command-line tools for editable DOCX documents",
5
5
  "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/Ty026/idocs.git",
9
+ "directory": "cli"
10
+ },
6
11
  "type": "module",
7
12
  "bin": {
8
13
  "idocs": "bin/idocs.mjs"
@@ -22,6 +27,6 @@
22
27
  "registry": "https://registry.npmjs.org/"
23
28
  },
24
29
  "optionalDependencies": {
25
- "@aseity/idocs-linux-x64-gnu": "0.5.0"
30
+ "@aseity/idocs-linux-x64-gnu": "0.7.0"
26
31
  }
27
32
  }