GoDoxy/package.json
Yuzerion 1a5f3735cf
Feat/fileserver (#60)
* cleanup code for URL type

* fix makefile for trace mode

* refactor, merge Entry, RawEntry and Route into one. 

* Implement fileserver.

* refactor: rename HTTPRoute to ReverseProxyRoute to avoid confusion

* refactor: move metrics logger to middleware package

- fix prometheus metrics for load balanced routes
  - route will now fail when health monitor fail to start

* fix extra output of ls-* commands by defer initializaing stuff, speed up start time

* add test for path traversal attack, small fix on FileServer.Start method

* rename rule.on.bypass to pass

* refactor and fixed map-to-map  deserialization

* updated route loading logic

* schemas: add "add_prefix" option to modify_request middleware


* updated route JSONMarshalling

---------

Co-authored-by: yusing <yusing@6uo.me>
2025-02-06 18:23:10 +08:00

36 lines
No EOL
796 B
JSON

{
"name": "godoxy-schemas",
"version": "0.9.2-2",
"description": "JSON Schema and typescript types for GoDoxy configuration",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/yusing/go-proxy"
},
"files": [
"schemas/",
"README.md",
"LICENSE"
],
"type": "module",
"main": "./schemas/index.ts",
"exports": {
".": {
"types": "./schemas/index.d.ts",
"import": "./schemas/index.ts",
"require": "./schemas/index.js"
}
},
"devDependencies": {
"prettier": "^3.4.2",
"typescript": "^5.7.3",
"typescript-json-schema": "^0.65.1"
},
"displayName": "GoDoxy Types",
"packageManager": "bun@1.2.0",
"publisher": "yusing",
"scripts": {
"gen-schema": "make gen-schema",
"format:write": "prettier --write \"schemas/**/*.ts\" --cache"
}
}