@danielx/civet 0.6.74 → 0.6.76
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/browser.js +3566 -3401
- package/dist/civet +66 -13
- package/dist/esbuild.js +3 -3
- package/dist/main.js +3566 -3401
- package/dist/main.mjs +3612 -3447
- package/dist/rollup.js +3 -3
- package/dist/types.d.ts +1 -0
- package/dist/unplugin-shared.mjs +4 -3
- package/dist/unplugin.d.mts +4 -3
- package/dist/unplugin.d.ts +4 -3
- package/dist/unplugin.js +5 -3
- package/dist/unplugin.mjs +2 -0
- package/dist/vite.js +3 -3
- package/dist/webpack.js +3 -3
- package/package.json +1 -1
package/dist/rollup.js
CHANGED
|
@@ -80,7 +80,7 @@ function implicitCivet(file) {
|
|
|
80
80
|
return civet2;
|
|
81
81
|
return;
|
|
82
82
|
}
|
|
83
|
-
var
|
|
83
|
+
var rawPlugin = (options = {}, meta) => {
|
|
84
84
|
if (options.dts)
|
|
85
85
|
options.emitDeclaration = options.dts;
|
|
86
86
|
if (options.js)
|
|
@@ -389,8 +389,8 @@ var civetUnplugin = (0, import_unplugin.createUnplugin)((options = {}, meta) =>
|
|
|
389
389
|
}
|
|
390
390
|
}
|
|
391
391
|
};
|
|
392
|
-
}
|
|
393
|
-
var src_default =
|
|
392
|
+
};
|
|
393
|
+
var src_default = (0, import_unplugin.createUnplugin)(rawPlugin);
|
|
394
394
|
|
|
395
395
|
// src/rollup.ts
|
|
396
396
|
var rollup_default = src_default.rollup;
|
package/dist/types.d.ts
CHANGED
package/dist/unplugin-shared.mjs
CHANGED
|
@@ -47,7 +47,7 @@ function implicitCivet(file) {
|
|
|
47
47
|
return civet2;
|
|
48
48
|
return;
|
|
49
49
|
}
|
|
50
|
-
var
|
|
50
|
+
var rawPlugin = (options = {}, meta) => {
|
|
51
51
|
if (options.dts)
|
|
52
52
|
options.emitDeclaration = options.dts;
|
|
53
53
|
if (options.js)
|
|
@@ -356,10 +356,11 @@ var civetUnplugin = createUnplugin((options = {}, meta) => {
|
|
|
356
356
|
}
|
|
357
357
|
}
|
|
358
358
|
};
|
|
359
|
-
}
|
|
360
|
-
var src_default =
|
|
359
|
+
};
|
|
360
|
+
var src_default = createUnplugin(rawPlugin);
|
|
361
361
|
|
|
362
362
|
export {
|
|
363
363
|
slash,
|
|
364
|
+
rawPlugin,
|
|
364
365
|
src_default
|
|
365
366
|
};
|
package/dist/unplugin.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as unplugin from 'unplugin';
|
|
2
|
-
import { TransformResult } from 'unplugin';
|
|
2
|
+
import { TransformResult, createUnplugin } from 'unplugin';
|
|
3
3
|
|
|
4
4
|
type PluginOptions = {
|
|
5
5
|
implicitExtension?: boolean;
|
|
@@ -14,6 +14,7 @@ type PluginOptions = {
|
|
|
14
14
|
dts?: boolean;
|
|
15
15
|
};
|
|
16
16
|
declare function slash(p: string): string;
|
|
17
|
-
declare const
|
|
17
|
+
declare const rawPlugin: Parameters<typeof createUnplugin<PluginOptions>>[0];
|
|
18
|
+
declare const _default: unplugin.UnpluginInstance<PluginOptions, boolean>;
|
|
18
19
|
|
|
19
|
-
export { PluginOptions,
|
|
20
|
+
export { PluginOptions, _default as default, rawPlugin, slash };
|
package/dist/unplugin.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as unplugin from 'unplugin';
|
|
2
|
-
import { TransformResult } from 'unplugin';
|
|
2
|
+
import { TransformResult, createUnplugin } from 'unplugin';
|
|
3
3
|
|
|
4
4
|
type PluginOptions = {
|
|
5
5
|
implicitExtension?: boolean;
|
|
@@ -14,6 +14,7 @@ type PluginOptions = {
|
|
|
14
14
|
dts?: boolean;
|
|
15
15
|
};
|
|
16
16
|
declare function slash(p: string): string;
|
|
17
|
-
declare const
|
|
17
|
+
declare const rawPlugin: Parameters<typeof createUnplugin<PluginOptions>>[0];
|
|
18
|
+
declare const _default: unplugin.UnpluginInstance<PluginOptions, boolean>;
|
|
18
19
|
|
|
19
|
-
export { PluginOptions,
|
|
20
|
+
export { PluginOptions, _default as default, rawPlugin, slash };
|
package/dist/unplugin.js
CHANGED
|
@@ -31,6 +31,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
31
31
|
var src_exports = {};
|
|
32
32
|
__export(src_exports, {
|
|
33
33
|
default: () => src_default,
|
|
34
|
+
rawPlugin: () => rawPlugin,
|
|
34
35
|
slash: () => slash
|
|
35
36
|
});
|
|
36
37
|
module.exports = __toCommonJS(src_exports);
|
|
@@ -79,7 +80,7 @@ function implicitCivet(file) {
|
|
|
79
80
|
return civet2;
|
|
80
81
|
return;
|
|
81
82
|
}
|
|
82
|
-
var
|
|
83
|
+
var rawPlugin = (options = {}, meta) => {
|
|
83
84
|
if (options.dts)
|
|
84
85
|
options.emitDeclaration = options.dts;
|
|
85
86
|
if (options.js)
|
|
@@ -388,9 +389,10 @@ var civetUnplugin = (0, import_unplugin.createUnplugin)((options = {}, meta) =>
|
|
|
388
389
|
}
|
|
389
390
|
}
|
|
390
391
|
};
|
|
391
|
-
}
|
|
392
|
-
var src_default =
|
|
392
|
+
};
|
|
393
|
+
var src_default = (0, import_unplugin.createUnplugin)(rawPlugin);
|
|
393
394
|
// Annotate the CommonJS export names for ESM import in node:
|
|
394
395
|
0 && (module.exports = {
|
|
396
|
+
rawPlugin,
|
|
395
397
|
slash
|
|
396
398
|
});
|
package/dist/unplugin.mjs
CHANGED
package/dist/vite.js
CHANGED
|
@@ -80,7 +80,7 @@ function implicitCivet(file) {
|
|
|
80
80
|
return civet2;
|
|
81
81
|
return;
|
|
82
82
|
}
|
|
83
|
-
var
|
|
83
|
+
var rawPlugin = (options = {}, meta) => {
|
|
84
84
|
if (options.dts)
|
|
85
85
|
options.emitDeclaration = options.dts;
|
|
86
86
|
if (options.js)
|
|
@@ -389,8 +389,8 @@ var civetUnplugin = (0, import_unplugin.createUnplugin)((options = {}, meta) =>
|
|
|
389
389
|
}
|
|
390
390
|
}
|
|
391
391
|
};
|
|
392
|
-
}
|
|
393
|
-
var src_default =
|
|
392
|
+
};
|
|
393
|
+
var src_default = (0, import_unplugin.createUnplugin)(rawPlugin);
|
|
394
394
|
|
|
395
395
|
// src/vite.ts
|
|
396
396
|
var vite_default = src_default.vite;
|
package/dist/webpack.js
CHANGED
|
@@ -80,7 +80,7 @@ function implicitCivet(file) {
|
|
|
80
80
|
return civet2;
|
|
81
81
|
return;
|
|
82
82
|
}
|
|
83
|
-
var
|
|
83
|
+
var rawPlugin = (options = {}, meta) => {
|
|
84
84
|
if (options.dts)
|
|
85
85
|
options.emitDeclaration = options.dts;
|
|
86
86
|
if (options.js)
|
|
@@ -389,8 +389,8 @@ var civetUnplugin = (0, import_unplugin.createUnplugin)((options = {}, meta) =>
|
|
|
389
389
|
}
|
|
390
390
|
}
|
|
391
391
|
};
|
|
392
|
-
}
|
|
393
|
-
var src_default =
|
|
392
|
+
};
|
|
393
|
+
var src_default = (0, import_unplugin.createUnplugin)(rawPlugin);
|
|
394
394
|
|
|
395
395
|
// src/webpack.ts
|
|
396
396
|
var webpack_default = src_default.webpack;
|