@kitschpatrol/unplugin-tldraw 1.1.0 → 1.1.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.
- package/dist/api.d.ts +1 -1
- package/dist/api.js +1 -1
- package/dist/bun.d.ts +2 -3
- package/dist/esbuild.d.ts +2 -3
- package/dist/farm.d.ts +2 -3
- package/dist/index.d.ts +2 -3
- package/dist/index.js +2 -2
- package/dist/nuxt.d.ts +2 -3
- package/dist/rolldown.d.ts +2 -3
- package/dist/rollup.d.ts +2 -3
- package/dist/rspack.d.ts +2 -3
- package/dist/vite.d.ts +2 -3
- package/dist/webpack.d.ts +2 -3
- package/package.json +20 -20
- /package/dist/{options-CZOXoH7Y.d.ts → options-D2_OB7_C.d.ts} +0 -0
- /package/dist/{tldraw-D1GC-f9x.js → tldraw-C8VVllK_.js} +0 -0
package/dist/api.d.ts
CHANGED
package/dist/api.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { r as resolveOptions, t as TldrawExport } from "./tldraw-
|
|
1
|
+
import { r as resolveOptions, t as TldrawExport } from "./tldraw-C8VVllK_.js";
|
|
2
2
|
export { TldrawExport, resolveOptions };
|
package/dist/bun.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { n as Options } from "./options-
|
|
2
|
-
import * as _$unplugin from "unplugin";
|
|
1
|
+
import { n as Options } from "./options-D2_OB7_C.js";
|
|
3
2
|
|
|
4
3
|
//#region src/bun.d.ts
|
|
5
4
|
/**
|
|
@@ -7,6 +6,6 @@ import * as _$unplugin from "unplugin";
|
|
|
7
6
|
*
|
|
8
7
|
* @module
|
|
9
8
|
*/
|
|
10
|
-
declare const _default:
|
|
9
|
+
declare const _default: import("unplugin").UnpluginFactory<Options | undefined, boolean>;
|
|
11
10
|
//#endregion
|
|
12
11
|
export { _default as default };
|
package/dist/esbuild.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { n as Options } from "./options-
|
|
2
|
-
import * as _$esbuild from "esbuild";
|
|
1
|
+
import { n as Options } from "./options-D2_OB7_C.js";
|
|
3
2
|
|
|
4
3
|
//#region src/esbuild.d.ts
|
|
5
4
|
/**
|
|
@@ -16,6 +15,6 @@ import * as _$esbuild from "esbuild";
|
|
|
16
15
|
*
|
|
17
16
|
* build({ plugins: [tldraw()] })
|
|
18
17
|
*/
|
|
19
|
-
declare const _default: (options?: Options | undefined) =>
|
|
18
|
+
declare const _default: (options?: Options | undefined) => import("esbuild").Plugin;
|
|
20
19
|
//#endregion
|
|
21
20
|
export { _default as default };
|
package/dist/farm.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { n as Options } from "./options-
|
|
2
|
-
import * as _$_farmfe_core0 from "@farmfe/core";
|
|
1
|
+
import { n as Options } from "./options-D2_OB7_C.js";
|
|
3
2
|
|
|
4
3
|
//#region src/farm.d.ts
|
|
5
4
|
/**
|
|
@@ -18,6 +17,6 @@ import * as _$_farmfe_core0 from "@farmfe/core";
|
|
|
18
17
|
* plugins: [tldraw()],
|
|
19
18
|
* }
|
|
20
19
|
*/
|
|
21
|
-
declare const _default: (options?: Options | undefined) =>
|
|
20
|
+
declare const _default: (options?: Options | undefined) => import("@farmfe/core").JsPlugin;
|
|
22
21
|
//#endregion
|
|
23
22
|
export { _default as default };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { n as Options } from "./options-
|
|
2
|
-
import * as _$unplugin from "unplugin";
|
|
1
|
+
import { n as Options } from "./options-D2_OB7_C.js";
|
|
3
2
|
import { UnpluginFactory } from "unplugin";
|
|
4
3
|
|
|
5
4
|
//#region src/index.d.ts
|
|
6
5
|
declare const unpluginFactory: UnpluginFactory<Options | undefined>;
|
|
7
|
-
declare const unplugin:
|
|
6
|
+
declare const unplugin: import("unplugin").UnpluginInstance<Options | undefined, boolean>;
|
|
8
7
|
//#endregion
|
|
9
8
|
export { unplugin as default, unplugin, unpluginFactory };
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as parseImportOverrides, t as TldrawExport } from "./tldraw-
|
|
1
|
+
import { n as parseImportOverrides, t as TldrawExport } from "./tldraw-C8VVllK_.js";
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
import { createUnplugin } from "unplugin";
|
|
4
4
|
//#region src/index.ts
|
|
@@ -29,6 +29,6 @@ const unpluginFactory = (options) => {
|
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
31
|
};
|
|
32
|
-
const unplugin = /*
|
|
32
|
+
const unplugin = /* #__PURE__ */ createUnplugin(unpluginFactory);
|
|
33
33
|
//#endregion
|
|
34
34
|
export { unplugin as default, unplugin, unpluginFactory };
|
package/dist/nuxt.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { n as Options } from "./options-
|
|
2
|
-
import * as _$_nuxt_schema0 from "@nuxt/schema";
|
|
1
|
+
import { n as Options } from "./options-D2_OB7_C.js";
|
|
3
2
|
|
|
4
3
|
//#region src/nuxt.d.ts
|
|
5
4
|
type ModuleOptions = Options;
|
|
@@ -12,6 +11,6 @@ type ModuleOptions = Options;
|
|
|
12
11
|
* modules: ['@kitschpatrol/unplugin-tldraw/nuxt'],
|
|
13
12
|
* })
|
|
14
13
|
*/
|
|
15
|
-
declare const _default:
|
|
14
|
+
declare const _default: import("@nuxt/schema").NuxtModule<Options, Options, false>;
|
|
16
15
|
//#endregion
|
|
17
16
|
export { ModuleOptions, _default as default };
|
package/dist/rolldown.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { n as Options } from "./options-
|
|
2
|
-
import * as _$rolldown from "rolldown";
|
|
1
|
+
import { n as Options } from "./options-D2_OB7_C.js";
|
|
3
2
|
|
|
4
3
|
//#region src/rolldown.d.ts
|
|
5
4
|
/**
|
|
@@ -18,6 +17,6 @@ import * as _$rolldown from "rolldown";
|
|
|
18
17
|
* plugins: [tldraw()],
|
|
19
18
|
* }
|
|
20
19
|
*/
|
|
21
|
-
declare const _default: (options?: Options | undefined) =>
|
|
20
|
+
declare const _default: (options?: Options | undefined) => import("rolldown").Plugin<any> | import("rolldown").Plugin<any>[];
|
|
22
21
|
//#endregion
|
|
23
22
|
export { _default as default };
|
package/dist/rollup.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { n as Options } from "./options-
|
|
2
|
-
import * as _$rollup from "rollup";
|
|
1
|
+
import { n as Options } from "./options-D2_OB7_C.js";
|
|
3
2
|
|
|
4
3
|
//#region src/rollup.d.ts
|
|
5
4
|
/**
|
|
@@ -18,6 +17,6 @@ import * as _$rollup from "rollup";
|
|
|
18
17
|
* plugins: [tldraw()],
|
|
19
18
|
* }
|
|
20
19
|
*/
|
|
21
|
-
declare const _default: (options?: Options | undefined) =>
|
|
20
|
+
declare const _default: (options?: Options | undefined) => import("rollup").Plugin<any> | import("rollup").Plugin<any>[];
|
|
22
21
|
//#endregion
|
|
23
22
|
export { _default as default };
|
package/dist/rspack.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { n as Options } from "./options-
|
|
2
|
-
import * as _$unplugin from "unplugin";
|
|
1
|
+
import { n as Options } from "./options-D2_OB7_C.js";
|
|
3
2
|
|
|
4
3
|
//#region src/rspack.d.ts
|
|
5
4
|
/**
|
|
@@ -18,6 +17,6 @@ import * as _$unplugin from "unplugin";
|
|
|
18
17
|
* plugins: [tldraw()],
|
|
19
18
|
* }
|
|
20
19
|
*/
|
|
21
|
-
declare const _default: (options?: Options | undefined) =>
|
|
20
|
+
declare const _default: (options?: Options | undefined) => import("unplugin").RspackPluginInstance;
|
|
22
21
|
//#endregion
|
|
23
22
|
export { _default as default };
|
package/dist/vite.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { n as Options } from "./options-
|
|
2
|
-
import * as _$vite from "vite";
|
|
1
|
+
import { n as Options } from "./options-D2_OB7_C.js";
|
|
3
2
|
|
|
4
3
|
//#region src/vite.d.ts
|
|
5
4
|
/**
|
|
@@ -18,6 +17,6 @@ import * as _$vite from "vite";
|
|
|
18
17
|
* plugins: [tldraw()],
|
|
19
18
|
* })
|
|
20
19
|
*/
|
|
21
|
-
declare const _default: (options?: Options | undefined) =>
|
|
20
|
+
declare const _default: (options?: Options | undefined) => import("vite").Plugin<any> | import("vite").Plugin<any>[];
|
|
22
21
|
//#endregion
|
|
23
22
|
export { _default as default };
|
package/dist/webpack.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { n as Options } from "./options-
|
|
2
|
-
import * as _$webpack from "webpack";
|
|
1
|
+
import { n as Options } from "./options-D2_OB7_C.js";
|
|
3
2
|
|
|
4
3
|
//#region src/webpack.d.ts
|
|
5
4
|
/**
|
|
@@ -18,6 +17,6 @@ import * as _$webpack from "webpack";
|
|
|
18
17
|
* plugins: [tldraw()],
|
|
19
18
|
* }
|
|
20
19
|
*/
|
|
21
|
-
declare const _default: (options?: Options | undefined) =>
|
|
20
|
+
declare const _default: (options?: Options | undefined) => import("webpack").WebpackPluginInstance;
|
|
22
21
|
//#endregion
|
|
23
22
|
export { _default as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kitschpatrol/unplugin-tldraw",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "Unplugin for module-style import of local tldraw .tldr files with automatic conversion to SVG or PNG.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"tldraw",
|
|
@@ -68,10 +68,10 @@
|
|
|
68
68
|
"dist"
|
|
69
69
|
],
|
|
70
70
|
"dependencies": {
|
|
71
|
-
"@kitschpatrol/tldraw-cli": "^
|
|
72
|
-
"@types/node": "~22.
|
|
71
|
+
"@kitschpatrol/tldraw-cli": "^6.0.0",
|
|
72
|
+
"@types/node": "~22.19.19",
|
|
73
73
|
"defu": "^6.1.7",
|
|
74
|
-
"lognow": "^0.6.
|
|
74
|
+
"lognow": "^0.6.2",
|
|
75
75
|
"p-limit": "^7.3.0",
|
|
76
76
|
"pretty-bytes": "^7.1.0",
|
|
77
77
|
"pretty-ms": "^9.3.0",
|
|
@@ -79,24 +79,24 @@
|
|
|
79
79
|
},
|
|
80
80
|
"devDependencies": {
|
|
81
81
|
"@farmfe/core": ">=1.7.11",
|
|
82
|
-
"@kitschpatrol/shared-config": "^7.
|
|
83
|
-
"@nuxt/kit": "^4.4.
|
|
84
|
-
"@nuxt/schema": "^4.4.
|
|
85
|
-
"@rspack/core": "^2.0.
|
|
82
|
+
"@kitschpatrol/shared-config": "^7.6.3",
|
|
83
|
+
"@nuxt/kit": "^4.4.6",
|
|
84
|
+
"@nuxt/schema": "^4.4.6",
|
|
85
|
+
"@rspack/core": "^2.0.5",
|
|
86
86
|
"@sxzz/test-utils": "^0.5.18",
|
|
87
|
-
"@vitest/browser-playwright": "^4.1.
|
|
88
|
-
"bumpp": "^11.0
|
|
87
|
+
"@vitest/browser-playwright": "^4.1.7",
|
|
88
|
+
"bumpp": "^11.1.0",
|
|
89
89
|
"esbuild": "*",
|
|
90
|
-
"playwright": "^1.
|
|
91
|
-
"poptab": "^1.1.
|
|
92
|
-
"rolldown": "^1.0.
|
|
93
|
-
"rollup": "^4.60.
|
|
90
|
+
"playwright": "^1.60.0",
|
|
91
|
+
"poptab": "^1.1.1",
|
|
92
|
+
"rolldown": "^1.0.3",
|
|
93
|
+
"rollup": "^4.60.4",
|
|
94
94
|
"shx": "^0.4.0",
|
|
95
|
-
"tsdown": "^0.
|
|
95
|
+
"tsdown": "^0.22.1",
|
|
96
96
|
"typescript": "~5.9.3",
|
|
97
|
-
"vite": "^7.3.
|
|
98
|
-
"vitest": "^4.1.
|
|
99
|
-
"webpack": "^5.
|
|
97
|
+
"vite": "^7.3.3",
|
|
98
|
+
"vitest": "^4.1.7",
|
|
99
|
+
"webpack": "^5.107.2"
|
|
100
100
|
},
|
|
101
101
|
"peerDependencies": {
|
|
102
102
|
"@farmfe/core": ">=1",
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
}
|
|
140
140
|
},
|
|
141
141
|
"engines": {
|
|
142
|
-
"node": ">=22.
|
|
142
|
+
"node": ">=22.22.2"
|
|
143
143
|
},
|
|
144
144
|
"publishConfig": {
|
|
145
145
|
"access": "public"
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
"fix": "ksc fix",
|
|
152
152
|
"lint": "ksc lint",
|
|
153
153
|
"play": "poptab && pnpm -C playground run dev",
|
|
154
|
-
"release": "bumpp --commit 'Release: %s' && pnpm build && NPM_AUTH_TOKEN=$(op read 'op://Personal/npm/token')
|
|
154
|
+
"release": "bumpp --commit 'Release: %s' && pnpm build && NPM_AUTH_TOKEN=$(op read 'op://Personal/npm/token') pnpm publish",
|
|
155
155
|
"test": "vitest run",
|
|
156
156
|
"test:browser": "vitest run --config vitest.browser.config.ts"
|
|
157
157
|
}
|
|
File without changes
|
|
File without changes
|