@untool/express
Advanced tools
Comparing version 1.10.3 to 1.10.4
@@ -6,2 +6,10 @@ # Change Log | ||
## [1.10.4](https://github.com/untool/untool/compare/v1.10.3...v1.10.4) (2019-12-11) | ||
**Note:** Version bump only for package @untool/express | ||
## [1.10.3](https://github.com/untool/untool/compare/v1.10.2...v1.10.3) (2019-12-09) | ||
@@ -8,0 +16,0 @@ |
{ | ||
"name": "@untool/express", | ||
"version": "1.10.3", | ||
"version": "1.10.4", | ||
"description": "untool express mixin", | ||
@@ -19,4 +19,4 @@ "repository": { | ||
"dependencies": { | ||
"@untool/core": "^1.10.3", | ||
"@untool/yargs": "^1.10.3", | ||
"@untool/core": "^1.10.4", | ||
"@untool/yargs": "^1.10.4", | ||
"chalk": "^3.0.0", | ||
@@ -44,3 +44,3 @@ "debug": "^4.0.0", | ||
}, | ||
"gitHead": "715345d9dc44320007f41d57f704a00946839248" | ||
"gitHead": "9ce7d10785cfdfff0a35c19383bee0f792dcf843" | ||
} |
@@ -5,3 +5,3 @@ # `@untool/express` | ||
`@untool/express` provides both an `untool` [preset](https://github.com/untool/untool/blob/master/packages/core/README.md#presets) and a [mixin](https://github.com/untool/untool/blob/master/packages/core/README.md#mixins) to set up your project to work with [Express](https://expressjs.com). | ||
`@untool/express` provides both an `untool` [preset](../core/README.md#presets) and a [mixin](../core/README.md#mixins) to set up your project to work with [Express](https://expressjs.com). | ||
@@ -22,3 +22,3 @@ It does not only provide full featured development and production mode servers, but also a mechanism for rendering static files using Express style middlewares without having to launch an actual server. | ||
`@untool/express` registers a single command using [`@untool/yargs`](https://github.com/untool/untool/blob/master/packages/yargs/README.md#registercommandsyargs-pipe): `serve`. As to be expected, this command launches a stand-alone Express server featuring [Helmet](https://helmetjs.github.io) and a [Express' static](https://expressjs.com/en/4x/api.html#express.static) file server middlewares. | ||
`@untool/express` registers a single command using [`@untool/yargs`](../yargs/README.md#registercommandsyargs-pipe): `serve`. As to be expected, this command launches a stand-alone Express server featuring [Helmet](https://helmetjs.github.io) and a [Express' static](https://expressjs.com/en/4x/api.html#express.static) file server middlewares. | ||
@@ -62,3 +62,3 @@ ```bash | ||
The above example is functionally equivalent to directly working with `@untool/core`'s [`bootstrap`](https://github.com/untool/untool/blob/master/packages/core/README.md#bootstrapconfigoverrides-options-build-only) export. | ||
The above example is functionally equivalent to directly working with `@untool/core`'s [`bootstrap`](../core/README.md#bootstrapconfigoverrides-options-build-only) export. | ||
@@ -92,3 +92,3 @@ ### `configureServer(app, middlewares, mode)` ([sequence](https://github.com/untool/mixinable/blob/master/README.md#defineparallel)) | ||
Implement this hook in your `@untool/core` [`core` mixin](https://github.com/untool/untool/blob/master/packages/core/README.md#mixins) and you will be able to set up Express in any way you like. | ||
Implement this hook in your `@untool/core` [`core` mixin](../core/README.md#mixins) and you will be able to set up Express in any way you like. | ||
@@ -103,3 +103,3 @@ **Caveat**: please do not rely on the exact number and order of middlewares and handlers passed to your mixin in the `middlewares` argument: it is highly dynamic and can be altered by other mixins (or configs). It can also change between `@untool/express` versions without triggering a `major` release. | ||
If you want to programmatically start a production ready Express server set up using `@untool/express`' [config](https://github.com/untool/untool/blob/master/packages/express/README.md#settings), you can use this utility mixin method. It accepts a string: `serve` or `develop`. | ||
If you want to programmatically start a production ready Express server set up using `@untool/express`' [config](../express/README.md#settings), you can use this utility mixin method. It accepts a string: `serve` or `develop`. | ||
@@ -110,3 +110,3 @@ _This method is also exported so that you can use it in your own, non-mixin code. Import it like so: `import { runServer } from '@untool/express';`. In this mode, it also accepts another argument, `options`, which you can pass any CLI argument to._ | ||
To create an Express app to use in your own server, you can use this utility mixin method. It uses `@untool/express`' [settings](https://github.com/untool/untool/blob/master/packages/express/README.md#settings) for its configuration. It accepts a string: `serve`, `develop` or `static`. | ||
To create an Express app to use in your own server, you can use this utility mixin method. It uses `@untool/express`' [settings](../express/README.md#settings) for its configuration. It accepts a string: `serve`, `develop` or `static`. | ||
@@ -123,3 +123,3 @@ _This method is also exported so that you can use it in your own, non-mixin code. Import it like so: `import { createServer } from '@untool/express';`. In this mode, it also accepts another argument, `options`, which you can pass any CLI argument to._ | ||
`@untool/express` defines a couple of settings as a preset for `@untool/core`'s [configuration engine](https://github.com/untool/untool/blob/master/packages/core/README.md#configuration). You can manage and access them using the mechanisms outlined there. | ||
`@untool/express` defines a couple of settings as a preset for `@untool/core`'s [configuration engine](../core/README.md#configuration). You can manage and access them using the mechanisms outlined there. | ||
@@ -126,0 +126,0 @@ | Property | Type | Default | |
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
42245
Updated@untool/core@^1.10.4
Updated@untool/yargs@^1.10.4