Mercurial > code > home > repos > pi_mqtt
changeset 1:f92cec01b59e
merge with template project
author | drewp@bigasterisk.com |
---|---|
date | Fri, 01 Sep 2023 23:57:45 -0700 |
parents | 3989f073ed9e |
children | b7b6d7f1ce56 |
files | .hgignore .style.yapf proxy.yaml tsconfig.json |
diffstat | 4 files changed, 25 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/.hgignore Thu Aug 24 16:28:05 2023 -0700 +++ b/.hgignore Fri Sep 01 23:57:45 2023 -0700 @@ -1,3 +1,5 @@ __pycache__ __pypackages__ +.pdm-python +.ruff_cache node_modules
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.style.yapf Fri Sep 01 23:57:45 2023 -0700 @@ -0,0 +1,3 @@ +[style] +based_on_style = google +column_limit = 160
--- a/proxy.yaml Thu Aug 24 16:28:05 2023 -0700 +++ b/proxy.yaml Fri Sep 01 23:57:45 2023 -0700 @@ -7,18 +7,21 @@ error_log /dev/stderr; pid /dev/null; events { - worker_connections 16; + worker_connections 64; } http { log_format main '[$time_local] code=$status bytes_sent=$bytes_sent req="$request"'; proxy_headers_hash_bucket_size 128; proxy_buffering off; server { - access_log /dev/stderr main; + access_log off; location = /metrics { proxy_pass http://127.0.0.1:8001/metrics; } + location = /pi-mqtt/metrics { + proxy_pass http://127.0.0.1:8001/metrics; + } location /pi-mqtt/api/ { proxy_pass http://127.0.0.1:8001/api/; } @@ -34,4 +37,4 @@ proxy_pass http://127.0.0.1:8002/pi-mqtt/; } } - } \ No newline at end of file + }
--- a/tsconfig.json Thu Aug 24 16:28:05 2023 -0700 +++ b/tsconfig.json Fri Sep 01 23:57:45 2023 -0700 @@ -1,28 +1,32 @@ { "compilerOptions": { - "strict": true, + "allowSyntheticDefaultImports": true, + "alwaysStrict": true, + "forceConsistentCasingInFileNames": true, "noFallthroughCasesInSwitch": true, "noImplicitAny": true, "noImplicitReturns": true, "noImplicitThis": true, + "strict": true, "strictFunctionTypes": true, "strictNullChecks": true, "strictPropertyInitialization": true, - "alwaysStrict": true, - "types": [], - + "allowJs": true, + "declaration": true, + "downlevelIteration": true, + "esModuleInterop": true, + "experimentalDecorators": true, "module": "ES6", - "target": "ES6", "moduleResolution": "node", "sourceMap": true, - "declaration": true, - "experimentalDecorators": true, - "allowJs": true, - "esModuleInterop": true, + "target": "ES6", "traceResolution": true, + "useDefineForClassFields": false, + "baseUrl": ".", - "lib": ["es6", "dom", "ES2019.Object"] + "lib": ["es6", "dom", "ES2019.Object"], + "types": [] }, "include": ["src/**/*.ts"] }