@danielx/civet 0.6.31 → 0.6.33
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 +177 -84
- package/dist/config.js +4 -0
- package/dist/esbuild-plugin.js +4 -0
- package/dist/esbuild.d.mts +1 -1
- package/dist/esbuild.d.ts +1 -1
- package/dist/esm.mjs +3 -0
- package/dist/main.js +177 -84
- package/dist/main.mjs +177 -84
- package/dist/rollup.d.mts +1 -1
- package/dist/rollup.d.ts +1 -1
- package/dist/unplugin.d.mts +2 -2
- package/dist/unplugin.d.ts +2 -2
- package/dist/vite.d.mts +1 -1
- package/dist/vite.d.ts +1 -1
- package/dist/webpack.d.mts +1 -1
- package/dist/webpack.d.ts +1 -1
- package/package.json +4 -3
package/dist/rollup.d.mts
CHANGED
|
@@ -2,6 +2,6 @@ import * as rollup from 'rollup';
|
|
|
2
2
|
import { PluginOptions } from './unplugin.mjs';
|
|
3
3
|
import 'unplugin';
|
|
4
4
|
|
|
5
|
-
declare const _default: (options
|
|
5
|
+
declare const _default: (options: PluginOptions) => rollup.Plugin | rollup.Plugin[];
|
|
6
6
|
|
|
7
7
|
export { _default as default };
|
package/dist/rollup.d.ts
CHANGED
|
@@ -2,6 +2,6 @@ import * as rollup from 'rollup';
|
|
|
2
2
|
import { PluginOptions } from './unplugin.js';
|
|
3
3
|
import 'unplugin';
|
|
4
4
|
|
|
5
|
-
declare const _default: (options
|
|
5
|
+
declare const _default: (options: PluginOptions) => rollup.Plugin | rollup.Plugin[];
|
|
6
6
|
|
|
7
7
|
export { _default as default };
|
package/dist/unplugin.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as unplugin from 'unplugin';
|
|
2
2
|
import { TransformResult } from 'unplugin';
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
type PluginOptions = {
|
|
5
5
|
outputExtension?: string;
|
|
6
6
|
transformOutput?: (code: string, id: string) => TransformResult | Promise<TransformResult>;
|
|
7
7
|
} & ({
|
|
@@ -11,6 +11,6 @@ declare type PluginOptions = {
|
|
|
11
11
|
dts?: true;
|
|
12
12
|
js?: false;
|
|
13
13
|
});
|
|
14
|
-
declare const civetUnplugin: unplugin.UnpluginInstance<PluginOptions
|
|
14
|
+
declare const civetUnplugin: unplugin.UnpluginInstance<PluginOptions, boolean>;
|
|
15
15
|
|
|
16
16
|
export { PluginOptions, civetUnplugin as default };
|
package/dist/unplugin.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as unplugin from 'unplugin';
|
|
2
2
|
import { TransformResult } from 'unplugin';
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
type PluginOptions = {
|
|
5
5
|
outputExtension?: string;
|
|
6
6
|
transformOutput?: (code: string, id: string) => TransformResult | Promise<TransformResult>;
|
|
7
7
|
} & ({
|
|
@@ -11,6 +11,6 @@ declare type PluginOptions = {
|
|
|
11
11
|
dts?: true;
|
|
12
12
|
js?: false;
|
|
13
13
|
});
|
|
14
|
-
declare const civetUnplugin: unplugin.UnpluginInstance<PluginOptions
|
|
14
|
+
declare const civetUnplugin: unplugin.UnpluginInstance<PluginOptions, boolean>;
|
|
15
15
|
|
|
16
16
|
export { PluginOptions, civetUnplugin as default };
|
package/dist/vite.d.mts
CHANGED
|
@@ -2,6 +2,6 @@ import * as vite from 'vite';
|
|
|
2
2
|
import { PluginOptions } from './unplugin.mjs';
|
|
3
3
|
import 'unplugin';
|
|
4
4
|
|
|
5
|
-
declare const _default: (options
|
|
5
|
+
declare const _default: (options: PluginOptions) => vite.Plugin | vite.Plugin[];
|
|
6
6
|
|
|
7
7
|
export { _default as default };
|
package/dist/vite.d.ts
CHANGED
|
@@ -2,6 +2,6 @@ import * as vite from 'vite';
|
|
|
2
2
|
import { PluginOptions } from './unplugin.js';
|
|
3
3
|
import 'unplugin';
|
|
4
4
|
|
|
5
|
-
declare const _default: (options
|
|
5
|
+
declare const _default: (options: PluginOptions) => vite.Plugin | vite.Plugin[];
|
|
6
6
|
|
|
7
7
|
export { _default as default };
|
package/dist/webpack.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PluginOptions } from './unplugin.mjs';
|
|
2
2
|
import 'unplugin';
|
|
3
3
|
|
|
4
|
-
declare const _default: (options
|
|
4
|
+
declare const _default: (options: PluginOptions) => WebpackPluginInstance;
|
|
5
5
|
|
|
6
6
|
export { _default as default };
|
package/dist/webpack.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PluginOptions } from './unplugin.js';
|
|
2
2
|
import 'unplugin';
|
|
3
3
|
|
|
4
|
-
declare const _default: (options
|
|
4
|
+
declare const _default: (options: PluginOptions) => WebpackPluginInstance;
|
|
5
5
|
|
|
6
6
|
export { _default as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@danielx/civet",
|
|
3
|
-
"
|
|
3
|
+
"type": "commonjs",
|
|
4
|
+
"version": "0.6.33",
|
|
4
5
|
"description": "CoffeeScript style syntax for TypeScript",
|
|
5
6
|
"main": "dist/main.js",
|
|
6
7
|
"module": "dist/main.mjs",
|
|
@@ -72,7 +73,7 @@
|
|
|
72
73
|
"@types/node": "^20.5.1",
|
|
73
74
|
"axios": "^1.2.2",
|
|
74
75
|
"c8": "^7.12.0",
|
|
75
|
-
"esbuild": "
|
|
76
|
+
"esbuild": "0.16.17",
|
|
76
77
|
"marked": "^4.2.4",
|
|
77
78
|
"mocha": "^10.0.0",
|
|
78
79
|
"prettier": "^2.8.1",
|
|
@@ -80,7 +81,7 @@
|
|
|
80
81
|
"ts-node": "^10.9.1",
|
|
81
82
|
"tslib": "^2.4.0",
|
|
82
83
|
"tsup": "^7.2.0",
|
|
83
|
-
"typescript": "^
|
|
84
|
+
"typescript": "^5.2.2",
|
|
84
85
|
"vite": "^4.4.9",
|
|
85
86
|
"vitepress": "^1.0.0-alpha.35",
|
|
86
87
|
"vue": "^3.2.45"
|