radiant-docs 0.1.8 → 0.1.10

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/package.json CHANGED
@@ -1,16 +1,17 @@
1
1
  {
2
2
  "name": "radiant-docs",
3
- "version": "0.1.8",
3
+ "version": "0.1.10",
4
4
  "description": "CLI tool for previewing Radiant documentation locally",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "radiant": "./dist/index.js"
8
8
  },
9
9
  "scripts": {
10
+ "bundle-template": "node scripts/bundle-template.js",
10
11
  "build": "tsup src/index.ts --format esm --clean && npm run bundle-template",
11
12
  "dev": "tsup src/index.ts --format esm --watch",
12
- "prepublishOnly": "npm run build",
13
- "bundle-template": "node scripts/bundle-template.js"
13
+ "prepublishOnly": "npm run build && npm version patch",
14
+ "publish": "npm publish"
14
15
  },
15
16
  "dependencies": {
16
17
  "chokidar": "^4.0.3",
@@ -46,7 +46,7 @@ const totalLineCount = Math.max(1, raw.split("\n").length);
46
46
  ---
47
47
 
48
48
  <div
49
- class="rd-component-preview not-prose my-6 flex w-full max-w-full min-w-0 flex-col"
49
+ class="rd-component-preview my-6 flex w-full max-w-full min-w-0 flex-col"
50
50
  data-rd-component-preview-root="true"
51
51
  >
52
52
  <div
@@ -55,7 +55,7 @@ const totalLineCount = Math.max(1, raw.split("\n").length);
55
55
  <slot />
56
56
  </div>
57
57
  <div
58
- class="rd-component-preview__code relative"
58
+ class="rd-component-preview__code not-prose relative"
59
59
  data-rd-preview-expanded="false"
60
60
  style={{ "--rd-preview-visible-lines": String(visibleLines) }}
61
61
  >