unplugin-dingtalk 0.5.5 → 1001.0.0
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/README.md +1 -6
- package/dist/astro.js +1 -1
- package/dist/{chunk-2MTCPWWF.js → chunk-W5UIO4ZZ.js} +4 -40
- package/dist/{chunk-JXEH4EKT.js → chunk-WE6LHUBA.js} +1 -1
- package/dist/esbuild.js +1 -1
- package/dist/index.d.ts +1 -4
- package/dist/index.js +1 -3
- package/dist/nuxt.js +2 -2
- package/dist/rollup.js +1 -1
- package/dist/rspack.js +1 -4
- package/dist/types.d.ts +0 -7
- package/dist/vite.js +2 -2
- package/dist/webpack.js +1 -4
- package/package.json +12 -54
- package/dist/astro.cjs +0 -6888
- package/dist/astro.d.cts +0 -13
- package/dist/esbuild.cjs +0 -6878
- package/dist/esbuild.d.cts +0 -9
- package/dist/index.cjs +0 -6887
- package/dist/index.d.cts +0 -21
- package/dist/nuxt.cjs +0 -6904
- package/dist/nuxt.d.cts +0 -11
- package/dist/rollup.cjs +0 -6878
- package/dist/rollup.d.cts +0 -9
- package/dist/rspack.cjs +0 -6943
- package/dist/rspack.d.cts +0 -8
- package/dist/types.cjs +0 -19
- package/dist/types.d.cts +0 -47
- package/dist/vite.cjs +0 -6886
- package/dist/vite.d.cts +0 -9
- package/dist/webpack.cjs +0 -6937
- package/dist/webpack.d.cts +0 -9
package/dist/rspack.d.cts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Options, RspackSetupMiddlewares } from './types.cjs';
|
|
2
|
-
import 'webpack-dev-server';
|
|
3
|
-
import 'node:http';
|
|
4
|
-
import 'vite-plugin-vconsole';
|
|
5
|
-
|
|
6
|
-
declare const _default: (options: Options) => readonly [RspackSetupMiddlewares, _rspack_core_dist_config_types.RspackPluginInstance];
|
|
7
|
-
|
|
8
|
-
export { _default as default };
|
package/dist/types.cjs
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __copyProps = (to, from, except, desc) => {
|
|
7
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
-
for (let key of __getOwnPropNames(from))
|
|
9
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
-
}
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
-
|
|
16
|
-
// src/types.ts
|
|
17
|
-
var types_exports = {};
|
|
18
|
-
module.exports = __toCommonJS(types_exports);
|
|
19
|
-
exports.default = module.exports;
|
package/dist/types.d.cts
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import * as webpack_dev_server from 'webpack-dev-server';
|
|
2
|
-
import { IncomingMessage, ServerResponse } from 'node:http';
|
|
3
|
-
import { viteVConsoleOptions } from 'vite-plugin-vconsole';
|
|
4
|
-
|
|
5
|
-
interface Options {
|
|
6
|
-
enable?: boolean;
|
|
7
|
-
targetUrl?: string;
|
|
8
|
-
/** 是否启动dns服务器 */
|
|
9
|
-
dns?: {
|
|
10
|
-
host: string;
|
|
11
|
-
ip: string;
|
|
12
|
-
};
|
|
13
|
-
corpId?: string;
|
|
14
|
-
debug?: boolean;
|
|
15
|
-
/** only support vite */
|
|
16
|
-
vconsole?: viteVConsoleOptions;
|
|
17
|
-
chii?: {
|
|
18
|
-
/** default true */
|
|
19
|
-
enable?: boolean;
|
|
20
|
-
/** default 127.0.0.1 */
|
|
21
|
-
host: string;
|
|
22
|
-
};
|
|
23
|
-
debugCookies?: string[];
|
|
24
|
-
vueDevtools?: {
|
|
25
|
-
enable?: boolean;
|
|
26
|
-
/** default 127.0.0.1 */
|
|
27
|
-
host?: string;
|
|
28
|
-
/** default 8098 */
|
|
29
|
-
port?: number;
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
type SetupMiddlewares = (middlewares: webpack_dev_server.Middleware[], devServer: webpack_dev_server) => webpack_dev_server.Middleware[];
|
|
33
|
-
type NextFunction = () => void;
|
|
34
|
-
type RequestHandler = (req: IncomingMessage, res: ServerResponse, next: NextFunction) => void;
|
|
35
|
-
interface ServerAPIs {
|
|
36
|
-
sockWrite: (type: string, data?: string | boolean | Record<string, any>) => void;
|
|
37
|
-
}
|
|
38
|
-
type RspackSetupMiddlewares = (
|
|
39
|
-
/** Order: `unshift` => internal middlewares => `push` */
|
|
40
|
-
middlewares: {
|
|
41
|
-
/** Use the `unshift` method if you want to run a middleware before all other middlewares */
|
|
42
|
-
unshift: (...handlers: RequestHandler[]) => void;
|
|
43
|
-
/** Use the `push` method if you want to run a middleware after all other middlewares */
|
|
44
|
-
push: (...handlers: RequestHandler[]) => void;
|
|
45
|
-
}, server: ServerAPIs) => void;
|
|
46
|
-
|
|
47
|
-
export type { Options, RspackSetupMiddlewares, SetupMiddlewares };
|