@scalar/nextjs-api-reference 0.9.0 → 0.9.2
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/CHANGELOG.md +16 -0
- package/README.md +18 -5
- package/package.json +21 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @scalar/nextjs-api-reference
|
|
2
2
|
|
|
3
|
+
## 0.9.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#7375](https://github.com/scalar/scalar/pull/7375) [`55bb334`](https://github.com/scalar/scalar/commit/55bb3346d1f9ac964770acc90aa810266a972d96) Thanks [@stefanprobst](https://github.com/stefanprobst)! - relax peerDependency range for nextjs to support v16
|
|
8
|
+
|
|
9
|
+
- Updated dependencies []:
|
|
10
|
+
- @scalar/core@0.3.23
|
|
11
|
+
|
|
12
|
+
## 0.9.1
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies [[`2377b76`](https://github.com/scalar/scalar/commit/2377b76d050f8de70037b17a32d0dd1181d3311d)]:
|
|
17
|
+
- @scalar/core@0.3.22
|
|
18
|
+
|
|
3
19
|
## 0.9.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -1,17 +1,30 @@
|
|
|
1
|
-
|
|
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
|
+
-->
|
|
2
7
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
[](https://www.npmjs.com/package/@scalar/nextjs-api-reference)
|
|
11
|
+
[](https://www.npmjs.com/package/@scalar/nextjs-api-reference)
|
|
12
|
+
[](https://www.npmjs.com/package/@scalar/nextjs-api-reference)
|
|
6
13
|
[](https://discord.gg/scalar)
|
|
7
14
|
|
|
15
|
+
Next.js API route handler to serve beautiful, interactive API documentation from OpenAPI/Swagger documents.
|
|
16
|
+
|
|
8
17
|
## Documentation
|
|
9
18
|
|
|
10
19
|
[Read the documentation here](https://guides.scalar.com/scalar/scalar-api-references/integrations/nextjs)
|
|
11
20
|
|
|
21
|
+
## Changelog
|
|
22
|
+
|
|
23
|
+
See [CHANGELOG.md](https://github.com/scalar/scalar/blob/main/integrations/nextjs/CHANGELOG.md) for a list of changes.
|
|
24
|
+
|
|
12
25
|
## Community
|
|
13
26
|
|
|
14
|
-
We are API nerds. You too? Let
|
|
27
|
+
We are API nerds. You too? Let’s chat on Discord: <https://discord.gg/scalar>
|
|
15
28
|
|
|
16
29
|
## License
|
|
17
30
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scalar/nextjs-api-reference",
|
|
3
|
-
"description": "
|
|
3
|
+
"description": "Next.js API route handler 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",
|
|
@@ -18,12 +18,13 @@
|
|
|
18
18
|
"openapi",
|
|
19
19
|
"swagger"
|
|
20
20
|
],
|
|
21
|
-
"version": "0.9.
|
|
21
|
+
"version": "0.9.2",
|
|
22
22
|
"engines": {
|
|
23
23
|
"node": ">=20"
|
|
24
24
|
},
|
|
25
25
|
"type": "module",
|
|
26
26
|
"main": "./dist/index.cjs",
|
|
27
|
+
"module": "./dist/index.js",
|
|
27
28
|
"types": "dist/index.d.ts",
|
|
28
29
|
"exports": {
|
|
29
30
|
"import": "./dist/index.js",
|
|
@@ -33,9 +34,23 @@
|
|
|
33
34
|
"dist",
|
|
34
35
|
"CHANGELOG.md"
|
|
35
36
|
],
|
|
36
|
-
"
|
|
37
|
+
"readme": {
|
|
38
|
+
"title": "Scalar API Reference Handler for Next.js",
|
|
39
|
+
"badges": [
|
|
40
|
+
{
|
|
41
|
+
"type": "npm-version"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"type": "npm-downloads"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"type": "npm-license"
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
"documentation": "https://guides.scalar.com/scalar/scalar-api-references/integrations/nextjs"
|
|
51
|
+
},
|
|
37
52
|
"dependencies": {
|
|
38
|
-
"@scalar/core": "0.3.
|
|
53
|
+
"@scalar/core": "0.3.23"
|
|
39
54
|
},
|
|
40
55
|
"devDependencies": {
|
|
41
56
|
"@types/node": "^22.9.0",
|
|
@@ -48,10 +63,10 @@
|
|
|
48
63
|
"vite": "7.1.11",
|
|
49
64
|
"vite-plugin-dts": "^4.3.0",
|
|
50
65
|
"vitest": "3.2.4",
|
|
51
|
-
"@scalar/api-reference": "1.
|
|
66
|
+
"@scalar/api-reference": "1.40.0"
|
|
52
67
|
},
|
|
53
68
|
"peerDependencies": {
|
|
54
|
-
"next": "^15.0.0",
|
|
69
|
+
"next": "^15.0.0 || ^16.0.0",
|
|
55
70
|
"react": "^19.0.0"
|
|
56
71
|
},
|
|
57
72
|
"scripts": {
|