@rollup-extras/plugin-serve 1.1.1 → 1.1.4
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.
- package/dist/index.d.ts +5 -4
- package/package.json +17 -16
package/dist/index.d.ts
CHANGED
|
@@ -5,12 +5,13 @@ export default function (options?: ServePluginOptions): {
|
|
|
5
5
|
buildEnd?: ((this: PluginContext, err?: Error | undefined) => void | Promise<void>) | undefined;
|
|
6
6
|
buildStart?: ((this: PluginContext, options: NormalizedInputOptions) => void | Promise<void>) | undefined;
|
|
7
7
|
closeBundle?: ((this: PluginContext) => void | Promise<void>) | undefined;
|
|
8
|
-
closeWatcher?: ((this: PluginContext) => void) | undefined;
|
|
8
|
+
closeWatcher?: ((this: PluginContext) => void | Promise<void>) | undefined;
|
|
9
9
|
load?: import("rollup").LoadHook | undefined;
|
|
10
10
|
moduleParsed?: import("rollup").ModuleParsedHook | undefined;
|
|
11
|
-
options?: ((this: import("rollup").MinimalPluginContext, options: import("rollup").InputOptions) => import("rollup").InputOptions | Promise<import("rollup").InputOptions | null
|
|
11
|
+
options?: ((this: import("rollup").MinimalPluginContext, options: import("rollup").InputOptions) => void | import("rollup").InputOptions | Promise<void | import("rollup").InputOptions | null> | null) | undefined;
|
|
12
12
|
resolveDynamicImport?: import("rollup").ResolveDynamicImportHook | undefined;
|
|
13
13
|
resolveId?: import("rollup").ResolveIdHook | undefined;
|
|
14
|
+
shouldTransformCachedModule?: import("rollup").ShouldTransformCachedModuleHook | undefined;
|
|
14
15
|
transform?: import("rollup").TransformHook | undefined;
|
|
15
16
|
watchChange?: import("rollup").WatchChangeHook | undefined;
|
|
16
17
|
augmentChunkHash?: ((this: PluginContext, chunk: import("rollup").PreRenderedChunk) => string | void) | undefined;
|
|
@@ -21,10 +22,10 @@ export default function (options?: ServePluginOptions): {
|
|
|
21
22
|
format: import("rollup").InternalModuleFormat;
|
|
22
23
|
moduleId: string;
|
|
23
24
|
targetModuleId: string | null;
|
|
24
|
-
}) => {
|
|
25
|
+
}) => void | {
|
|
25
26
|
left: string;
|
|
26
27
|
right: string;
|
|
27
|
-
} | null
|
|
28
|
+
} | null) | undefined;
|
|
28
29
|
renderError?: ((this: PluginContext, err?: Error | undefined) => void | Promise<void>) | undefined;
|
|
29
30
|
renderStart?: ((this: PluginContext, outputOptions: NormalizedOutputOptions, inputOptions: NormalizedInputOptions) => void | Promise<void>) | undefined;
|
|
30
31
|
resolveAssetUrl?: import("rollup").ResolveAssetUrlHook | undefined;
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.1.
|
|
2
|
+
"version": "1.1.4",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"name": "@rollup-extras/plugin-serve",
|
|
5
5
|
"author": {
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
".": {
|
|
12
12
|
"require": "./dist/index.cjs",
|
|
13
13
|
"default": "./dist/index.mjs"
|
|
14
|
-
}
|
|
14
|
+
},
|
|
15
|
+
"./package.json": "./package.json"
|
|
15
16
|
},
|
|
16
17
|
"main": "./dist/index.cjs",
|
|
17
18
|
"module": "./dist/index.mjs",
|
|
@@ -29,7 +30,7 @@
|
|
|
29
30
|
"bugs": {
|
|
30
31
|
"url": "https://github.com/kshutkin/rollup-extras/issues"
|
|
31
32
|
},
|
|
32
|
-
"homepage": "https://github.com/kshutkin/rollup-extras/plugin-serve/README.md",
|
|
33
|
+
"homepage": "https://github.com/kshutkin/rollup-extras/blob/main/plugin-serve/README.md",
|
|
33
34
|
"readme": "README.md",
|
|
34
35
|
"description": "Rollup plugin for dev server based on koa.",
|
|
35
36
|
"keywords": [
|
|
@@ -47,23 +48,23 @@
|
|
|
47
48
|
"@semantic-release/changelog": "6.0.1",
|
|
48
49
|
"@semantic-release/commit-analyzer": "9.0.2",
|
|
49
50
|
"@semantic-release/git": "10.0.1",
|
|
50
|
-
"@semantic-release/npm": "
|
|
51
|
+
"@semantic-release/npm": "9.0.1",
|
|
51
52
|
"@semantic-release/release-notes-generator": "10.0.3",
|
|
52
|
-
"@types/jest": "27.
|
|
53
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
54
|
-
"@typescript-eslint/parser": "5.
|
|
53
|
+
"@types/jest": "27.5.1",
|
|
54
|
+
"@typescript-eslint/eslint-plugin": "5.24.0",
|
|
55
|
+
"@typescript-eslint/parser": "5.24.0",
|
|
55
56
|
"conventional-changelog-angular": "5.0.13",
|
|
56
|
-
"eslint": "8.
|
|
57
|
-
"jest": "
|
|
58
|
-
"semantic-release": "
|
|
57
|
+
"eslint": "8.15.0",
|
|
58
|
+
"jest": "28.1.0",
|
|
59
|
+
"semantic-release": "19.0.2",
|
|
59
60
|
"semantic-release-monorepo": "7.0.5",
|
|
60
|
-
"ts-jest": "
|
|
61
|
-
"typescript": "4.
|
|
61
|
+
"ts-jest": "28.0.2",
|
|
62
|
+
"typescript": "4.6.x",
|
|
62
63
|
"update-monorepo-package-json": "0.2.0",
|
|
64
|
+
"pkgbld": "1.2.12",
|
|
63
65
|
"@types/koa": "^2.13.4",
|
|
64
66
|
"@types/koa-logger": "^3.1.2",
|
|
65
|
-
"@types/koa-static": "^4.0.2"
|
|
66
|
-
"pkgbld": "1.1.3"
|
|
67
|
+
"@types/koa-static": "^4.0.2"
|
|
67
68
|
},
|
|
68
69
|
"peerDependencies": {
|
|
69
70
|
"rollup": "^2.60.1"
|
|
@@ -72,7 +73,7 @@
|
|
|
72
73
|
"koa": "^2.13.4",
|
|
73
74
|
"koa-static": "^5.0.0",
|
|
74
75
|
"koa-logger": "^3.2.1",
|
|
75
|
-
"@niceties/logger": "^1.1.
|
|
76
|
-
"@rollup-extras/utils": "^1.2.
|
|
76
|
+
"@niceties/logger": "^1.1.3",
|
|
77
|
+
"@rollup-extras/utils": "^1.2.3"
|
|
77
78
|
}
|
|
78
79
|
}
|