radiant-docs 0.1.64 → 0.1.65

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 (28) hide show
  1. package/package.json +4 -3
  2. package/template/package-lock.json +1991 -4096
  3. package/template/package.json +7 -19
  4. package/template/src/components/OpenApiPage.astro +107 -18
  5. package/template/src/components/Sidebar.astro +1 -0
  6. package/template/src/components/endpoint/PlaygroundBar.astro +1 -1
  7. package/template/src/components/endpoint/PlaygroundField.astro +433 -71
  8. package/template/src/components/endpoint/PlaygroundForm.astro +470 -87
  9. package/template/src/components/endpoint/RequestSnippets.astro +6 -1
  10. package/template/src/components/endpoint/ResponseDisplay.astro +109 -2
  11. package/template/src/components/endpoint/ResponseFieldTree.astro +1 -1
  12. package/template/src/components/endpoint/ResponseFields.astro +97 -28
  13. package/template/src/components/endpoint/ResponseSnippets.astro +19 -7
  14. package/template/src/layouts/Layout.astro +94 -0
  15. package/template/src/lib/openapi/operation-doc.ts +308 -70
  16. package/template/src/lib/openapi/response-content.ts +133 -0
  17. package/template/src/lib/openapi/schema-variant-labels.ts +213 -0
  18. package/template/.vscode/extensions.json +0 -4
  19. package/template/.vscode/launch.json +0 -11
  20. package/template/scripts/generate-og-images.mjs +0 -667
  21. package/template/scripts/generate-og-metadata.mjs +0 -206
  22. package/template/scripts/generate-proxy-allowed-origins.mjs +0 -48
  23. package/template/scripts/generate-robots-txt.mjs +0 -47
  24. package/template/scripts/publish-shiki-platform-assets.mjs +0 -1177
  25. package/template/scripts/remove-assistant-for-non-pro.mjs +0 -28
  26. package/template/scripts/stamp-image-versions.mjs +0 -355
  27. package/template/scripts/stamp-og-image-versions.mjs +0 -199
  28. package/template/scripts/stamp-pagefind-runtime-version.mjs +0 -140
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "radiant-docs",
3
- "version": "0.1.64",
3
+ "version": "0.1.65",
4
4
  "description": "CLI tool for previewing Radiant documentation locally",
5
5
  "type": "module",
6
6
  "bin": {
@@ -8,7 +8,8 @@
8
8
  },
9
9
  "scripts": {
10
10
  "bundle-template": "node scripts/bundle-template.js",
11
- "build": "tsup src/index.ts --format esm --clean && npm run bundle-template",
11
+ "audit-template": "node scripts/audit-template.js",
12
+ "build": "tsup src/index.ts --format esm --clean && npm run bundle-template && npm run audit-template",
12
13
  "dev": "tsup src/index.ts --format esm --watch",
13
14
  "prepublishOnly": "npm run build",
14
15
  "release": "npm version patch && npm publish"
@@ -35,5 +36,5 @@
35
36
  "radiant",
36
37
  "astro"
37
38
  ],
38
- "license": "MIT"
39
+ "license": "UNLICENSED"
39
40
  }