schemasketch-render 1.0.0 → 1.0.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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  `schemasketch-render`, the SchemaSketch SVG renderer. Versions follow
4
4
  [Semantic Versioning](https://semver.org).
5
5
 
6
+ ## 1.0.1 (2026-11-17)
7
+
8
+ - The public repository now runs the full test suite: the renderer's own tests (with the
9
+ sample schemas they draw) and new parser tests, on Node 18, 22 and 24. They ship on
10
+ GitHub, not in the npm package.
11
+ - README badges: version, tests, downloads, Node, dependencies, license, service status.
12
+ - No change to the rendered output.
13
+
6
14
  ## 1.0.0 (2026-11-17)
7
15
 
8
16
  - First release: `renderSvg`, `renderSvgFromDbml`, `layout`, `measureTable`, `esc` and
package/README.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # schemasketch-render
2
2
 
3
+ [![Latest version](https://img.shields.io/npm/v/schemasketch-render?label=version)](https://www.npmjs.com/package/schemasketch-render)
4
+ [![Tests](https://github.com/SchemaSketch-dev/schemasketch-render/actions/workflows/check.yml/badge.svg?branch=main)](https://github.com/SchemaSketch-dev/schemasketch-render/actions/workflows/check.yml)
5
+ [![Downloads](https://img.shields.io/npm/dm/schemasketch-render)](https://www.npmjs.com/package/schemasketch-render)
6
+ [![Node](https://img.shields.io/node/v/schemasketch-render)](package.json)
7
+ [![Dependencies](https://img.shields.io/badge/dependencies-0-brightgreen)](package.json)
8
+ [![License](https://img.shields.io/npm/l/schemasketch-render)](LICENSE)
9
+ [![SchemaSketch status](https://img.shields.io/endpoint?url=https%3A%2F%2Fstatus.schemasketch.dev%2Fbadge.json)](https://status.schemasketch.dev)
10
+
3
11
  Turn a database schema into a standalone SVG image. Give it DBML (or an already parsed
4
12
  schema) and get back SVG text: tables, columns, keys, relationship lines and table
5
13
  groups. It's the same drawing that [SchemaSketch](https://schemasketch.dev) serves for
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "schemasketch-render",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Render a database schema (DBML or a parsed schema) as a standalone SVG image. No dependencies, no browser, runs in Node 18+.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -19,7 +19,7 @@
19
19
  "node": ">=18"
20
20
  },
21
21
  "scripts": {
22
- "test": "node --test index.test.mjs",
22
+ "test": "node --test index.test.mjs parser.test.mjs svg-render.test.mjs",
23
23
  "prepublishOnly": "npm test"
24
24
  },
25
25
  "license": "MIT",
package/svg-render.js CHANGED
@@ -9,7 +9,7 @@
9
9
  //
10
10
  // Drawing constants mirror frontend/renderer.js (the interactive editor).
11
11
 
12
- export const RENDERER_VERSION = '1.0.0';
12
+ export const RENDERER_VERSION = '1.0.1';
13
13
 
14
14
  const ROW_H = 26;
15
15
  const HEADER_H = 32;