lody-code-review-viewer 0.60.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/README.md +20 -0
- package/package.json +24 -0
- package/standalone.html +29832 -0
package/README.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# lody-code-review-viewer
|
|
2
|
+
|
|
3
|
+
The self-contained, single-file HTML viewer for [Lody](https://lody.dev) code
|
|
4
|
+
reviews. It is the prebuilt renderer that `lody review` downloads on demand to turn
|
|
5
|
+
a `.review.md` / review snapshot into a shareable `.review.html`.
|
|
6
|
+
|
|
7
|
+
This package ships exactly one asset — `standalone.html` (all JS/CSS inlined) — so
|
|
8
|
+
it can be served from a CDN and opened over `file://` with no server. The `lody`
|
|
9
|
+
CLI fetches the version it was built against (e.g. via
|
|
10
|
+
`https://cdn.jsdelivr.net/npm/lody-code-review-viewer@<version>/standalone.html`)
|
|
11
|
+
and verifies its sha256 before use.
|
|
12
|
+
|
|
13
|
+
You normally don't depend on this package directly; use the `lody` CLI:
|
|
14
|
+
|
|
15
|
+
```sh
|
|
16
|
+
npx lody review <file>.review.md
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Generated by the Lody monorepo; the viewer source lives in
|
|
20
|
+
`@lody/code-review-helper`.
|
package/package.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "lody-code-review-viewer",
|
|
3
|
+
"version": "0.60.1",
|
|
4
|
+
"description": "Self-contained single-file HTML viewer for Lody code reviews, fetched on demand by `lody review`.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"files": [
|
|
8
|
+
"standalone.html"
|
|
9
|
+
],
|
|
10
|
+
"exports": {
|
|
11
|
+
"./manifest": {
|
|
12
|
+
"types": "./src/manifest.d.ts",
|
|
13
|
+
"import": "./dist/manifest.generated.ts"
|
|
14
|
+
},
|
|
15
|
+
"./standalone.html": "./standalone.html"
|
|
16
|
+
},
|
|
17
|
+
"scripts": {
|
|
18
|
+
"build": "pnpm --filter @lody/code-review-helper build:standalone && node scripts/build-viewer.mjs",
|
|
19
|
+
"typecheck": "tsgo --noEmit"
|
|
20
|
+
},
|
|
21
|
+
"devDependencies": {
|
|
22
|
+
"typescript": "catalog:"
|
|
23
|
+
}
|
|
24
|
+
}
|