@rollup-extras/plugin-serve 1.3.0 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +6 -6
  2. package/package.json +7 -2
package/README.md CHANGED
@@ -9,7 +9,7 @@ Points:
9
9
 
10
10
  Uses [`@niceties/logger`](https://github.com/kshutkin/niceties/blob/main/logger/README.md) to log messages, can be configured through `@niceties/logger` API.
11
11
 
12
- [Changlelog](./CHANGELOG.md)
12
+ [Changelog](./CHANGELOG.md)
13
13
 
14
14
  ## Installation
15
15
 
@@ -51,7 +51,7 @@ For additional plugin instances (in case of multiple configs) please use: `first
51
51
 
52
52
  Optional, `string`.
53
53
 
54
- For debugging purposes, so many instances of a plugin can be differenciated in debugging output.
54
+ For debugging purposes, so many instances of a plugin can be differentiated in debugging output.
55
55
 
56
56
  ### useWriteBundle
57
57
 
@@ -75,7 +75,7 @@ Port to use for server.
75
75
 
76
76
  Optional, `string`.
77
77
 
78
- Host to use, by default it does not provide host to createServer and lets nodejs to decide.
78
+ Host to use, by default it does not provide host to createServer and lets nodejs decide.
79
79
 
80
80
  ### useKoaLogger
81
81
 
@@ -99,13 +99,13 @@ Key and certificate to use for https. Best way to generate cert and key (and to
99
99
 
100
100
  Optional, `(koa: Koa) => void`
101
101
 
102
- Extention point to customize `koa`.
102
+ Extension point to customize `koa`.
103
103
 
104
104
  ### onListen
105
105
 
106
106
  Optional, `(server: Server) => void | true`
107
107
 
108
- Extention point after server is live. Please return true to suppress default banner.
108
+ Extension point after server is live. Please return true to suppress the default banner.
109
109
 
110
110
  ## Configuration
111
111
 
@@ -137,4 +137,4 @@ type ServePluginOptions = {
137
137
 
138
138
  # License
139
139
 
140
- [MIT](https://github.com/kshutkin/rollup-extras/blob/main/LICENSE)
140
+ [MIT](https://github.com/kshutkin/rollup-extras/blob/main/LICENSE)
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.3.0",
2
+ "version": "1.3.1",
3
3
  "license": "MIT",
4
4
  "name": "@rollup-extras/plugin-serve",
5
5
  "author": {
@@ -46,12 +46,17 @@
46
46
  "peerDependencies": {
47
47
  "rollup": "^2.60.1 || ^3.0.0"
48
48
  },
49
+ "peerDependenciesMeta": {
50
+ "rollup": {
51
+ "optional": true
52
+ }
53
+ },
49
54
  "dependencies": {
50
55
  "koa": "^2.14.1",
51
56
  "koa-static": "^5.0.0",
52
57
  "koa-logger": "^3.2.1",
53
58
  "@niceties/logger": "^1.1.4",
54
- "@rollup-extras/utils": "^1.3.5"
59
+ "@rollup-extras/utils": "^1.4.0"
55
60
  },
56
61
  "scripts": {
57
62
  "build": "pkgbld-internal",