@scalar/nextjs-api-reference 0.4.107 → 0.5.0
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 +5 -0
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @scalar/nextjs-api-reference
|
|
2
2
|
|
|
3
|
+
## 0.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 63350ce: chore: react 19 upgrade minor bump
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 90529fc: chore: upgrade to react 19
|
|
12
|
+
|
|
13
|
+
## 0.4.108
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- 776dac0: chore: bump next.js peerDependencies fr fr
|
|
18
|
+
|
|
3
19
|
## 0.4.107
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -19,6 +19,11 @@ This plugin provides an easy way to render a beautiful API reference based on an
|
|
|
19
19
|
npm install @scalar/nextjs-api-reference
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
+
## Compatibility
|
|
23
|
+
|
|
24
|
+
This package is compatible with Next.js 15 and is untested on Next.js 14. If you want guaranteed Next.js 14 support
|
|
25
|
+
please use version `0.4.106` of this package.
|
|
26
|
+
|
|
22
27
|
## Usage
|
|
23
28
|
|
|
24
29
|
If you have a OpenAPI/Swagger file already, you can pass a URL to the plugin in an API [Route](https://nextjs.org/docs/app/building-your-application/routing/route-handlers):
|
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"openapi",
|
|
19
19
|
"swagger"
|
|
20
20
|
],
|
|
21
|
-
"version": "0.
|
|
21
|
+
"version": "0.5.0",
|
|
22
22
|
"engines": {
|
|
23
23
|
"node": ">=18"
|
|
24
24
|
},
|
|
@@ -39,18 +39,18 @@
|
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@types/node": "^20.17.10",
|
|
42
|
-
"@types/react": "^
|
|
43
|
-
"@types/react-dom": "^
|
|
44
|
-
"@vitejs/plugin-react": "^4.
|
|
45
|
-
"next": "^
|
|
46
|
-
"react-dom": "^
|
|
42
|
+
"@types/react": "^19.0.1",
|
|
43
|
+
"@types/react-dom": "^19.0.2",
|
|
44
|
+
"@vitejs/plugin-react": "^4.3.4",
|
|
45
|
+
"next": "^15.1.1",
|
|
46
|
+
"react-dom": "^19.0.0",
|
|
47
47
|
"vite": "^5.4.10",
|
|
48
|
-
"vite-plugin-dts": "^3.
|
|
49
|
-
"@scalar/api-reference": "1.25.
|
|
48
|
+
"vite-plugin-dts": "^4.3.0",
|
|
49
|
+
"@scalar/api-reference": "1.25.91"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"react": "^
|
|
53
|
-
"next": "^
|
|
52
|
+
"react": "^19.0.0",
|
|
53
|
+
"next": "^15.0.0"
|
|
54
54
|
},
|
|
55
55
|
"scripts": {
|
|
56
56
|
"build": "pnpm types:check && pnpm build-only",
|