FastAPI backend (Python 3.11, MSSQL ODBC for SambaPOS, Azure DI OCR),
kitchen_db on central PG. React/TS/Vite frontend with navy sidebar layout.
Backend: auth.py (APP_SLUG=kitchen, SimpleNamespace — archive routes use
.kitchen_id/.is_admin without modification), main.py (51 migrations, scheduler,
internal router for KDS bookings feed), api/internal.py, full archive API
(31 routers: invoices, recipes, menus, sambapos, resos, newbook, disputes,
purchase_orders, etc.), models, migrations, OCR pipeline.
kitchen_id pinned to 1 (B1 — single hotel).
Frontend: AuthGate (app=kitchen, token shim for archive compat — B5b pending),
Layout (navy sidebar, 6 sections, Lucide icons, teal --app-primary),
App.tsx (Outlet pattern, UploadApp outside Layout), index.css (full :root block).
strict: false — archive components have type issues; build clean.
Note: 45 archive components call fetch('/api/...') without /kitchen/ prefix
(B5b). Runtime 404s; deferred until after initial testing.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
43 lines
1.2 KiB
JSON
43 lines
1.2 KiB
JSON
{
|
|
"name": "proxy-from-env",
|
|
"version": "2.1.0",
|
|
"description": "Offers getProxyForUrl to get the proxy URL for a URL, respecting the *_PROXY (e.g. HTTP_PROXY) and NO_PROXY environment variables.",
|
|
"main": "index.cjs",
|
|
"exports": {
|
|
"import": "./index.js",
|
|
"require": "./index.cjs"
|
|
},
|
|
"files": ["index.js", "index.cjs"],
|
|
"scripts": {
|
|
"lint": "eslint *.js *.mjs *.cjs",
|
|
"test": "node --test ./test.js",
|
|
"test-require": "node ./test-require.cjs",
|
|
"test-coverage": "node --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=lcov.info ./test.js",
|
|
"test-coverage-as-html": "npm run test-coverage && genhtml lcov.info -o coverage/"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/Rob--W/proxy-from-env.git"
|
|
},
|
|
"keywords": [
|
|
"proxy",
|
|
"http_proxy",
|
|
"https_proxy",
|
|
"no_proxy",
|
|
"environment"
|
|
],
|
|
"author": "Rob Wu <rob@robwu.nl> (https://robwu.nl/)",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/Rob--W/proxy-from-env/issues"
|
|
},
|
|
"homepage": "https://github.com/Rob--W/proxy-from-env#readme",
|
|
"devDependencies": {
|
|
"eslint": "^9.39.2"
|
|
},
|
|
"type": "module",
|
|
"engines": {
|
|
"node": ">=10"
|
|
},
|
|
"sideEffects": false
|
|
}
|