@scalar/express-api-reference 0.8.23 → 0.8.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 (3) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +15 -4
  3. package/package.json +20 -5
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @scalar/express-api-reference
2
2
 
3
+ ## 0.8.25
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies []:
8
+ - @scalar/core@0.3.23
9
+
10
+ ## 0.8.24
11
+
12
+ ### Patch Changes
13
+
14
+ - [#7241](https://github.com/scalar/scalar/pull/7241) [`2377b76`](https://github.com/scalar/scalar/commit/2377b76d050f8de70037b17a32d0dd1181d3311d) Thanks [@hanspagel](https://github.com/hanspagel)! - chore: use "current" not "latest" scalar registry url
15
+
16
+ - Updated dependencies [[`2377b76`](https://github.com/scalar/scalar/commit/2377b76d050f8de70037b17a32d0dd1181d3311d)]:
17
+ - @scalar/core@0.3.22
18
+
3
19
  ## 0.8.23
4
20
 
5
21
  ### Patch Changes
package/README.md CHANGED
@@ -1,19 +1,30 @@
1
- # Scalar Express API Reference Plugin
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 Plugin for Express
2
9
 
3
10
  [![Version](https://img.shields.io/npm/v/@scalar/express-api-reference)](https://www.npmjs.com/package/@scalar/express-api-reference)
4
11
  [![Downloads](https://img.shields.io/npm/dm/@scalar/express-api-reference)](https://www.npmjs.com/package/@scalar/express-api-reference)
5
- [![License](https://img.shields.io/npm/l/%40scalar%2Fexpress-api-reference)](https://www.npmjs.com/package/@scalar/express-api-reference)
12
+ [![License](https://img.shields.io/npm/l/@scalar/express-api-reference)](https://www.npmjs.com/package/@scalar/express-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 file with Express.
15
+ Express middleware to serve beautiful, interactive API documentation from OpenAPI/Swagger documents.
9
16
 
10
17
  ## Documentation
11
18
 
12
19
  [Read the documentation here](https://guides.scalar.com/scalar/scalar-api-references/integrations/express)
13
20
 
21
+ ## Changelog
22
+
23
+ See [CHANGELOG.md](https://github.com/scalar/scalar/blob/main/integrations/express/CHANGELOG.md) for a list of changes.
24
+
14
25
  ## Community
15
26
 
16
- We are API nerds. You too? Let's chat on Discord: <https://discord.gg/scalar>
27
+ We are API nerds. You too? Let’s chat on Discord: <https://discord.gg/scalar>
17
28
 
18
29
  ## License
19
30
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scalar/express-api-reference",
3
- "description": "A middleware for using the Scalar API reference with Express",
3
+ "description": "Express 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/express"
12
12
  },
13
- "version": "0.8.23",
13
+ "version": "0.8.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
  ".": {
@@ -28,9 +29,23 @@
28
29
  "./dist",
29
30
  "CHANGELOG.md"
30
31
  ],
31
- "module": "dist/index.js",
32
+ "readme": {
33
+ "title": "Scalar API Reference Plugin for Express",
34
+ "badges": [
35
+ {
36
+ "type": "npm-version"
37
+ },
38
+ {
39
+ "type": "npm-downloads"
40
+ },
41
+ {
42
+ "type": "npm-license"
43
+ }
44
+ ],
45
+ "documentation": "https://guides.scalar.com/scalar/scalar-api-references/integrations/express"
46
+ },
32
47
  "dependencies": {
33
- "@scalar/core": "0.3.21"
48
+ "@scalar/core": "0.3.23"
34
49
  },
35
50
  "devDependencies": {
36
51
  "@types/express": "5.0.3",
@@ -41,7 +56,7 @@
41
56
  "swagger-jsdoc": "^6.2.8",
42
57
  "vite": "7.1.11",
43
58
  "vitest": "3.2.4",
44
- "@scalar/build-tooling": "0.2.8"
59
+ "@scalar/build-tooling": "0.3.0"
45
60
  },
46
61
  "scripts": {
47
62
  "build": "scalar-build-esbuild",