From 2beb2a013430e2c082c28b3b233a26c996922b3e Mon Sep 17 00:00:00 2001 From: Raymond Feng Date: Thu, 7 Mar 2019 10:58:08 -0800 Subject: [PATCH] chore: add express-middleware as a new package --- CODEOWNERS | 1 + docs/apidocs.html | 1 + docs/site/DEVELOPING.md | 2 +- docs/site/MONOREPO.md | 1 + docs/site/Reserved-binding-keys.md | 1 + packages/express-middleware/package.json | 3 +++ 6 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CODEOWNERS b/CODEOWNERS index 28e0d2fb2e39..072adadaebcf 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -14,6 +14,7 @@ packages/http-server/* @hacksparrow @bajtos packages/cli/* @raymondfeng @bajtos packages/context/* @bajtos @raymondfeng packages/core/* @bajtos @raymondfeng +packages/express-middleware/* @raymondfeng packages/metadata/* @raymondfeng packages/openapi-spec-builder/* @bajtos @raymondfeng packages/openapi-v3/* @bajtos @jannyHou diff --git a/docs/apidocs.html b/docs/apidocs.html index 37086c7cff9c..b5e1a779fe4f 100644 --- a/docs/apidocs.html +++ b/docs/apidocs.html @@ -23,6 +23,7 @@

List of packages

  • @loopback/core
  • @loopback/http-caching-proxy
  • @loopback/http-server
  • +
  • @loopback/express-middleware
  • @loopback/metadata
  • @loopback/openapi-spec-builder
  • @loopback/openapi-v3-types
  • diff --git a/docs/site/DEVELOPING.md b/docs/site/DEVELOPING.md index 09026d83dac7..3e4fdaaf99fe 100644 --- a/docs/site/DEVELOPING.md +++ b/docs/site/DEVELOPING.md @@ -430,7 +430,7 @@ Please register the new package in the following files: new package, please keep the rows sorted by package name. - Update [docs/apidocs.html](../apidocs.html) - add a link to API docs for this new package. -- Update [Reserved-binding-keys.md](./Reserved-binding-keys.mds) - add a link to +- Update [Reserved-binding-keys.md](./Reserved-binding-keys.md) - add a link to the apidocs on Binding Keys if the new package has any. - Update [CODEOWNERS](../../CODEOWNERS) - add a new entry listing the primary maintainers (owners) of the new package. diff --git a/docs/site/MONOREPO.md b/docs/site/MONOREPO.md index 92b3aa9b1b81..43a3a1b2a171 100644 --- a/docs/site/MONOREPO.md +++ b/docs/site/MONOREPO.md @@ -22,6 +22,7 @@ The [loopback-next](https://github.com/strongloop/loopback-next) repository uses | [example-todo-list](../../examples/todo-list) | _(private)_ | Continuation of the todo example using relations in LoopBack 4 | | [http-caching-proxy](../../packages/http-caching-proxy) | @loopback/http-caching-proxy | A caching HTTP proxy for integration tests. NOT SUITABLE FOR PRODUCTION USE! | | [http-server](../../packages/http-server) | @loopback/http-server | A wrapper for creating HTTP/HTTPS servers | +| [express-middleware](../../packages/express-middleware) | @loopback/express-middleware | Extensions to manage Express middleware | | [metadata](../../packages/metadata) | @loopback/metadata | Utilities to help developers implement TypeScript decorators, define/merge metadata, and inspect metadata | | [openapi-spec-builder](../../packages/openapi-spec-builder) | @loopback/openapi-spec-builder | Builders to create OpenAPI (Swagger) specification documents in tests | | [openapi-v3](../../packages/openapi-v3) | @loopback/openapi-v3 | Decorators that annotate LoopBack artifacts with OpenAPI v3 metadata and utilities that transform LoopBack metadata to OpenAPI v3 specifications | diff --git a/docs/site/Reserved-binding-keys.md b/docs/site/Reserved-binding-keys.md index 731e92125939..48b83ca9d578 100644 --- a/docs/site/Reserved-binding-keys.md +++ b/docs/site/Reserved-binding-keys.md @@ -43,3 +43,4 @@ the prefix. Example: `@loopback/authentication` component uses the prefix - [RestBindings](http://apidocs.loopback.io/@loopback%2fdocs/rest.html#RestBindings) - [RestBindings.Http](http://apidocs.loopback.io/@loopback%2fdocs/rest.html#Http) - [RestBindings.SequenceActions](http://apidocs.loopback.io/@loopback%2fdocs/rest.html#SequenceActions) +- [ExpressBindings](http://apidocs.loopback.io/@loopback%2fdocs/express-middleware.html#ExpressBindings) diff --git a/packages/express-middleware/package.json b/packages/express-middleware/package.json index 89be79d38cc5..fd7fcfbf174f 100644 --- a/packages/express-middleware/package.json +++ b/packages/express-middleware/package.json @@ -43,6 +43,9 @@ "src", "!*/__tests__" ], + "publishConfig": { + "access": "public" + }, "repository": { "type": "git", "url": "https://github.com/strongloop/loopback-next.git"