@scalar/docusaurus 0.7.20 → 0.7.22

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scalar/docusaurus",
3
- "description": "Docusaurus integration for api references",
3
+ "description": "Docusaurus plugin to embed 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",
@@ -19,7 +19,7 @@
19
19
  "testing",
20
20
  "react"
21
21
  ],
22
- "version": "0.7.20",
22
+ "version": "0.7.22",
23
23
  "engines": {
24
24
  "node": ">=20"
25
25
  },
@@ -28,8 +28,27 @@
28
28
  "dist",
29
29
  "CHANGELOG.md"
30
30
  ],
31
+ "readme": {
32
+ "title": "Scalar API Reference Plugin for Docusaurus",
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/docusaurus",
45
+ "image": {
46
+ "url": "https://github.com/scalar/scalar/blob/main/integrations/docusaurus/docusaurus.png?raw=true",
47
+ "altText": "Screenshot of the Docusaurus integration"
48
+ }
49
+ },
31
50
  "dependencies": {
32
- "@scalar/types": "0.3.2"
51
+ "@scalar/types": "0.5.0"
33
52
  },
34
53
  "devDependencies": {
35
54
  "@docusaurus/types": "^3.7.0",
@@ -41,7 +60,8 @@
41
60
  "postcss-cli": "^11.0.0",
42
61
  "postcss-nesting": "^12.1.5",
43
62
  "react": "^19.1.0",
44
- "vite": "7.1.5"
63
+ "vite": "7.1.11",
64
+ "@scalar/build-tooling": "0.3.0"
45
65
  },
46
66
  "peerDependencies": {
47
67
  "@docusaurus/utils": "^3.7.0",
@@ -49,7 +69,7 @@
49
69
  },
50
70
  "scripts": {
51
71
  "build": "shx rm -Rf ./dist && tsc --declaration && postcss src/theme.css -o dist/theme.css",
52
- "dev:doesnt-work": "cd ./playground && pnpm dev",
72
+ "dev:doesnt-work": "cd ./playground && pnpm run dev",
53
73
  "format": "scalar-format",
54
74
  "format:check": "scalar-format-check",
55
75
  "lint:check": "scalar-lint-check",