@lbu/server
Advanced tools
Comparing version 0.0.88 to 0.0.89
{ | ||
"name": "@lbu/server", | ||
"version": "0.0.88", | ||
"version": "0.0.89", | ||
"description": "Koa server and common middleware", | ||
@@ -19,4 +19,4 @@ "main": "./index.js", | ||
"dependencies": { | ||
"@lbu/insight": "0.0.88", | ||
"@lbu/stdlib": "0.0.88", | ||
"@lbu/insight": "0.0.89", | ||
"@lbu/stdlib": "0.0.89", | ||
"formidable": "2.0.0-canary.20200504.1", | ||
@@ -49,3 +49,3 @@ "keygrip": "1.1.0", | ||
}, | ||
"gitHead": "f95775597389435d11e6ef713651a2d1d4816067" | ||
"gitHead": "96683eacc77885317739cc1dc3a30d58c74324c7" | ||
} |
@@ -14,2 +14,3 @@ # @lbu/server | ||
- Script runner, can watch & reload almost anything | ||
- Test and benchmark runner | ||
- Flexible code generators supporting routers, validators, api clients, CRUD | ||
@@ -39,4 +40,7 @@ queries and more in the future. | ||
- Run user scripts (in watch mode) | ||
- Run the linter or tests | ||
- Run the linter | ||
- A LBU based boilerplate | ||
- Test runner | ||
- Benchmark runner | ||
- Necessary Docker container management | ||
@@ -54,2 +58,3 @@ **@lbu/lint-config**: | ||
- Various utilities to get insight in the running process | ||
- A manual event system | ||
@@ -60,3 +65,2 @@ **@lbu/stdlib**: | ||
- Wrappers for child_process execution and spawning | ||
- Basic templating system | ||
- A `mainFn` wrapper that reads `.env` and calls the provided function if the | ||
@@ -72,3 +76,3 @@ file is the process entrypoint | ||
- Send file helper | ||
- Re-exports koa-session and koa-compose | ||
- Session support with safe browser readable cookies | ||
@@ -83,4 +87,4 @@ **@lbu/store**: | ||
- Caching files from S3 in memory or on local disk | ||
- Postgres powered JobQueue implementation | ||
- Supports priority, scheduling, multiple async workers | ||
- Postgres powered queue implementation | ||
- Supports priority, scheduling, multiple async workers and recurring jobs | ||
- koa-session compatible SessionStore backed by Postgres | ||
@@ -92,6 +96,7 @@ | ||
- router, with wildcard and path parameter support | ||
- validators, with pre- and postValidate hooks | ||
- queries, CRUD postgres queries | ||
- validators, pure JavaScript implementation | ||
- sql, CRUD postgres queries, graph traversal | ||
- Axios based api client | ||
- Typescript or JSDoc types | ||
- TypeScript or JSDoc types | ||
- react-query hooks | ||
- An extendable set of types: | ||
@@ -123,3 +128,4 @@ - boolean, number, string; | ||
Although some parts heavily rely on conventions set by the packages, we | ||
currently aim not to be a framework. However, the idea of being a bit more of | ||
framework is not completely out of the door yet. | ||
currently aim not to be a framework. We aim to provide a good developer | ||
experience, useful abstractions around the basics, and a stable backend <-> | ||
client interface. |
@@ -47,3 +47,3 @@ import { AppError, isNil, isStaging } from "@lbu/stdlib"; | ||
log({ | ||
type: "API_ERROR", | ||
type: "api_error", | ||
...formatted, | ||
@@ -50,0 +50,0 @@ }); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
57813
124
+ Added@lbu/insight@0.0.89(transitive)
+ Added@lbu/stdlib@0.0.89(transitive)
+ Added@types/node@14.14.5(transitive)
- Removed@lbu/insight@0.0.88(transitive)
- Removed@lbu/stdlib@0.0.88(transitive)
- Removed@types/node@14.14.2(transitive)
Updated@lbu/insight@0.0.89
Updated@lbu/stdlib@0.0.89