@scalar/hono-api-reference 0.9.24 → 0.9.25

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 (2) hide show
  1. package/README.md +18 -9
  2. package/package.json +22 -7
package/README.md CHANGED
@@ -1,21 +1,30 @@
1
- # Scalar for Hono
2
-
3
- [![Version](https://img.shields.io/npm/v/%40scalar/hono-api-reference)](https://www.npmjs.com/package/@scalar/hono-api-reference)
4
- [![Downloads](https://img.shields.io/npm/dm/%40scalar/hono-api-reference)](https://www.npmjs.com/package/@scalar/hono-api-reference)
5
- [![License](https://img.shields.io/npm/l/%40scalar%2Fhono-api-reference)](https://www.npmjs.com/package/@scalar/hono-api-reference)
1
+ <!--
2
+ This file is auto-generated by the Scalar README generator.
3
+ Command: pnpm --filter @scalar-internal/build-scripts start generate-readme
4
+
5
+ Do not edit this file manually. Changes will be lost when the file is regenerated.
6
+ -->
7
+
8
+ # Scalar API Reference for Hono
9
+
10
+ [![Version](https://img.shields.io/npm/v/@scalar/hono-api-reference)](https://www.npmjs.com/package/@scalar/hono-api-reference)
11
+ [![Downloads](https://img.shields.io/npm/dm/@scalar/hono-api-reference)](https://www.npmjs.com/package/@scalar/hono-api-reference)
12
+ [![License](https://img.shields.io/npm/l/@scalar/hono-api-reference)](https://www.npmjs.com/package/@scalar/hono-api-reference)
6
13
  [![Discord](https://img.shields.io/discord/1135330207960678410?style=flat&color=5865F2)](https://discord.gg/scalar)
7
14
 
8
- This middleware provides an easy way to render a beautiful API reference based on an OpenAPI/Swagger document with Hono.
9
-
10
- ![hono-js](https://github.com/scalar/scalar/assets/6176314/6f5a2102-e377-4d4e-9cfb-a512f5e0a9ba)
15
+ Hono middleware to serve beautiful, interactive API documentation from OpenAPI/Swagger documents.
11
16
 
12
17
  ## Documentation
13
18
 
14
19
  [Read the documentation here](https://guides.scalar.com/scalar/scalar-api-references/integrations/hono)
15
20
 
21
+ ## Changelog
22
+
23
+ See [CHANGELOG.md](https://github.com/scalar/scalar/blob/main/integrations/hono/CHANGELOG.md) for a list of changes.
24
+
16
25
  ## Community
17
26
 
18
- We are API nerds. You too? Let's chat on Discord: <https://discord.gg/scalar>
27
+ We are API nerds. You too? Lets chat on Discord: <https://discord.gg/scalar>
19
28
 
20
29
  ## License
21
30
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scalar/hono-api-reference",
3
- "description": "A middleware for using the Scalar API reference in Hono",
3
+ "description": "Hono middleware to serve beautiful, interactive API documentation from OpenAPI/Swagger documents.",
4
4
  "license": "MIT",
5
5
  "author": "Scalar (https://github.com/scalar)",
6
6
  "homepage": "https://github.com/scalar/scalar",
@@ -10,12 +10,13 @@
10
10
  "url": "git+https://github.com/scalar/scalar.git",
11
11
  "directory": "integrations/hono"
12
12
  },
13
- "version": "0.9.24",
13
+ "version": "0.9.25",
14
14
  "engines": {
15
15
  "node": ">=20"
16
16
  },
17
17
  "type": "module",
18
18
  "main": "dist/index.js",
19
+ "module": "dist/index.js",
19
20
  "types": "dist/index.d.ts",
20
21
  "exports": {
21
22
  ".": {
@@ -27,18 +28,32 @@
27
28
  "files": [
28
29
  "dist"
29
30
  ],
30
- "module": "dist/index.js",
31
+ "readme": {
32
+ "title": "Scalar API Reference for Hono",
33
+ "badges": [
34
+ {
35
+ "type": "npm-version"
36
+ },
37
+ {
38
+ "type": "npm-downloads"
39
+ },
40
+ {
41
+ "type": "npm-license"
42
+ }
43
+ ],
44
+ "documentation": "https://guides.scalar.com/scalar/scalar-api-references/integrations/hono"
45
+ },
31
46
  "dependencies": {
32
- "@scalar/core": "0.3.22"
47
+ "@scalar/core": "0.3.23"
33
48
  },
34
49
  "devDependencies": {
35
50
  "@hono/node-server": "1.19.5",
36
51
  "@hono/zod-openapi": "^1.1.3",
37
- "hono": "4.10.2",
52
+ "hono": "4.10.3",
38
53
  "vite": "7.1.11",
39
54
  "vitest": "3.2.4",
40
- "@scalar/build-tooling": "0.2.8",
41
- "@scalar/openapi-to-markdown": "0.3.2"
55
+ "@scalar/build-tooling": "0.3.0",
56
+ "@scalar/openapi-to-markdown": "0.3.4"
42
57
  },
43
58
  "peerDependencies": {
44
59
  "hono": "^4.10.3"