@inditextech/swagger-ui-plugin-diff-highlight 0.1.0 → 0.2.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/README.md +2 -1
- package/package.json +7 -5
package/README.md
CHANGED
|
@@ -272,7 +272,8 @@ Please read our [CONTRIBUTING.md](./CONTRIBUTING.md) and follow the [Code of Con
|
|
|
272
272
|
|
|
273
273
|
## Acknowledgments
|
|
274
274
|
|
|
275
|
-
|
|
275
|
+
- Built on top of [Swagger UI](https://github.com/swagger-api/swagger-ui) and [`swagger-ui-react`](https://www.npmjs.com/package/swagger-ui-react), whose [`wrapComponents`](https://swagger-ui.github.io/swagger-ui/usage/customization/plugin-api/) plugin API makes this plugin possible.
|
|
276
|
+
- Interoperable with popular API-diff tools such as [`oasdiff`](https://github.com/oasdiff/oasdiff), [`openapi-diff`](https://github.com/OpenAPITools/openapi-diff), and [`bump diff`](https://github.com/bump-sh/cli).
|
|
276
277
|
|
|
277
278
|
## License
|
|
278
279
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inditextech/swagger-ui-plugin-diff-highlight",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Highlight API changes (added/updated/deleted) inline in swagger-ui-react via a custom diff-highlighting plugin.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"swagger",
|
|
@@ -62,6 +62,7 @@
|
|
|
62
62
|
"lint:fix": "eslint . --fix",
|
|
63
63
|
"format": "prettier --write .",
|
|
64
64
|
"format:check": "prettier --check .",
|
|
65
|
+
"verify": "npm run lint && npm run format:check && npm run test && npm run build",
|
|
65
66
|
"prepublishOnly": "npm run lint && npm run format:check && npm test && npm run build"
|
|
66
67
|
},
|
|
67
68
|
"peerDependencies": {
|
|
@@ -78,18 +79,19 @@
|
|
|
78
79
|
"eslint-plugin-react": "^7.37.5",
|
|
79
80
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
80
81
|
"globals": "^17.7.0",
|
|
81
|
-
"immutable": "^4.3.
|
|
82
|
+
"immutable": "^4.3.9",
|
|
82
83
|
"jsdom": "^29.1.1",
|
|
83
84
|
"prettier": "^3.9.4",
|
|
84
85
|
"react": "^18.3.1",
|
|
85
86
|
"react-dom": "^18.3.1",
|
|
86
|
-
"swagger-ui-react": "^5.32.
|
|
87
|
+
"swagger-ui-react": "^5.32.14",
|
|
87
88
|
"tsup": "^8.3.5",
|
|
88
89
|
"typescript-eslint": "^8.62.1",
|
|
89
|
-
"vitest": "^
|
|
90
|
+
"vitest": "^5.0.1"
|
|
90
91
|
},
|
|
91
92
|
"overrides": {
|
|
92
|
-
"esbuild": "^0.28.1"
|
|
93
|
+
"esbuild": "^0.28.1",
|
|
94
|
+
"js-yaml": "^4.3.2"
|
|
93
95
|
},
|
|
94
96
|
"publishConfig": {
|
|
95
97
|
"access": "public"
|