@vue.ts/tsx-auto-props 1.0.0-beta.11 → 1.0.0-beta.12
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/LICENSE +21 -21
- package/README.md +16 -0
- package/dist/astro.d.mts +7 -0
- package/dist/{astro.js → astro.mjs} +1 -2
- package/dist/esbuild.d.mts +7 -0
- package/dist/esbuild.mjs +7 -0
- package/dist/farm.d.mts +7 -0
- package/dist/farm.mjs +7 -0
- package/dist/index.d.mts +8 -0
- package/dist/index.mjs +3 -0
- package/dist/nuxt.d.mts +7 -0
- package/dist/{nuxt.js → nuxt.mjs} +2 -3
- package/dist/rolldown.d.mts +7 -0
- package/dist/rolldown.mjs +7 -0
- package/dist/rollup.d.mts +7 -0
- package/dist/rollup.mjs +7 -0
- package/dist/rspack.d.mts +7 -0
- package/dist/rspack.mjs +7 -0
- package/dist/{src-Be4nzbnH.js → src-D_HsMiWb.mjs} +1 -1
- package/dist/{index-tWaWg0Kw.d.ts → types-rHIM0PE8.d.mts} +4 -1
- package/dist/vite.d.mts +7 -0
- package/dist/vite.mjs +7 -0
- package/dist/webpack.d.mts +7 -0
- package/dist/webpack.mjs +7 -0
- package/package.json +25 -54
- package/dist/astro.d.ts +0 -12
- package/dist/esbuild.d.ts +0 -7
- package/dist/esbuild.js +0 -8
- package/dist/farm.d.ts +0 -7
- package/dist/farm.js +0 -8
- package/dist/index.d.ts +0 -10
- package/dist/index.js +0 -3
- package/dist/nuxt.d.ts +0 -7
- package/dist/rolldown.d.ts +0 -7
- package/dist/rolldown.js +0 -8
- package/dist/rollup.d.ts +0 -7
- package/dist/rollup.js +0 -8
- package/dist/rspack.d.ts +0 -6
- package/dist/rspack.js +0 -8
- package/dist/types-DXB6NIW0.d.ts +0 -7
- package/dist/types.d.ts +0 -3
- package/dist/types.js +0 -1
- package/dist/vite-j4mVIlZq.js +0 -8
- package/dist/vite.d.ts +0 -7
- package/dist/vite.js +0 -4
- package/dist/webpack-CxWifJAJ.js +0 -8
- package/dist/webpack.d.ts +0 -7
- package/dist/webpack.js +0 -4
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2022 Ray <https://github.com/so1ve>
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2022 Ray <https://github.com/so1ve>
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -220,6 +220,22 @@ export default defineConfig({
|
|
|
220
220
|
|
|
221
221
|
<br></details>
|
|
222
222
|
|
|
223
|
+
## 📚 Options
|
|
224
|
+
|
|
225
|
+
### `root`
|
|
226
|
+
|
|
227
|
+
Path to your project root.
|
|
228
|
+
|
|
229
|
+
- Type: `string`
|
|
230
|
+
- Default: `process.cwd()`
|
|
231
|
+
|
|
232
|
+
### `tsconfigPath`
|
|
233
|
+
|
|
234
|
+
Path to your `tsconfig.json`.
|
|
235
|
+
|
|
236
|
+
- Type: `string`
|
|
237
|
+
- Default: `"tsconfig.json"`
|
|
238
|
+
|
|
223
239
|
## 📝 License
|
|
224
240
|
|
|
225
241
|
[MIT](./LICENSE). Made with ❤️ by [Ray](https://github.com/so1ve)
|
package/dist/astro.d.mts
ADDED
package/dist/esbuild.mjs
ADDED
package/dist/farm.d.mts
ADDED
package/dist/farm.mjs
ADDED
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { t as Options } from "./types-rHIM0PE8.mjs";
|
|
2
|
+
import { UnpluginFactory, UnpluginInstance } from "unplugin";
|
|
3
|
+
|
|
4
|
+
//#region src/index.d.ts
|
|
5
|
+
declare const unpluginFactory: UnpluginFactory<Options | undefined>;
|
|
6
|
+
declare const unplugin: UnpluginInstance<Options | undefined>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { unplugin as default, unplugin, unpluginFactory };
|
package/dist/index.mjs
ADDED
package/dist/nuxt.d.mts
ADDED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import { t as webpack_default } from "./webpack-CxWifJAJ.js";
|
|
1
|
+
import vite_default from "./vite.mjs";
|
|
2
|
+
import webpack_default from "./webpack.mjs";
|
|
4
3
|
import { addVitePlugin, addWebpackPlugin, defineNuxtModule } from "@nuxt/kit";
|
|
5
4
|
|
|
6
5
|
//#region src/nuxt.ts
|
package/dist/rollup.mjs
ADDED
package/dist/rspack.mjs
ADDED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { createUnplugin } from "unplugin";
|
|
2
1
|
import { ensureLanguage, getLanguage } from "@vue.ts/language";
|
|
2
|
+
import { createUnplugin } from "unplugin";
|
|
3
3
|
import { createOptionsResolver, normalizePath } from "@vue.ts/shared";
|
|
4
4
|
import MagicString from "magic-string";
|
|
5
5
|
import ts from "typescript";
|
package/dist/vite.d.mts
ADDED
package/dist/vite.mjs
ADDED
package/dist/webpack.mjs
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue.ts/tsx-auto-props",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.12",
|
|
4
4
|
"author": "Ray <i@mk1.io> (@so1ve)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Automatically add props definition for Vue 3 TSX.",
|
|
@@ -32,20 +32,19 @@
|
|
|
32
32
|
"license": "MIT",
|
|
33
33
|
"sideEffects": false,
|
|
34
34
|
"exports": {
|
|
35
|
-
".": "./dist/index.
|
|
36
|
-
"./astro": "./dist/astro.
|
|
37
|
-
"./esbuild": "./dist/esbuild.
|
|
38
|
-
"./farm": "./dist/farm.
|
|
39
|
-
"./nuxt": "./dist/nuxt.
|
|
40
|
-
"./rolldown": "./dist/rolldown.
|
|
41
|
-
"./rollup": "./dist/rollup.
|
|
42
|
-
"./rspack": "./dist/rspack.
|
|
43
|
-
"./
|
|
44
|
-
"./
|
|
45
|
-
"./webpack": "./dist/webpack.js"
|
|
35
|
+
".": "./dist/index.mjs",
|
|
36
|
+
"./astro": "./dist/astro.mjs",
|
|
37
|
+
"./esbuild": "./dist/esbuild.mjs",
|
|
38
|
+
"./farm": "./dist/farm.mjs",
|
|
39
|
+
"./nuxt": "./dist/nuxt.mjs",
|
|
40
|
+
"./rolldown": "./dist/rolldown.mjs",
|
|
41
|
+
"./rollup": "./dist/rollup.mjs",
|
|
42
|
+
"./rspack": "./dist/rspack.mjs",
|
|
43
|
+
"./vite": "./dist/vite.mjs",
|
|
44
|
+
"./webpack": "./dist/webpack.mjs"
|
|
46
45
|
},
|
|
47
|
-
"main": "./dist/index.
|
|
48
|
-
"module": "./dist/index.
|
|
46
|
+
"main": "./dist/index.mjs",
|
|
47
|
+
"module": "./dist/index.mjs",
|
|
49
48
|
"types": "dist/index.d.ts",
|
|
50
49
|
"typesVersions": {
|
|
51
50
|
"*": {
|
|
@@ -62,57 +61,29 @@
|
|
|
62
61
|
"access": "public"
|
|
63
62
|
},
|
|
64
63
|
"dependencies": {
|
|
65
|
-
"@nuxt/kit": "^4.2.
|
|
64
|
+
"@nuxt/kit": "^4.2.2",
|
|
65
|
+
"@vue.ts/language": "",
|
|
66
|
+
"@vue.ts/shared": "",
|
|
66
67
|
"magic-string": "^0.30.21",
|
|
67
|
-
"unplugin": "2.3.
|
|
68
|
-
"@vue.ts/language": "1.0.0-beta.11",
|
|
69
|
-
"@vue.ts/shared": "1.0.0-beta.11"
|
|
68
|
+
"unplugin": "2.3.11"
|
|
70
69
|
},
|
|
71
70
|
"devDependencies": {
|
|
72
|
-
"@nuxt/schema": "^4.2.
|
|
73
|
-
"
|
|
74
|
-
"rollup": "^4.
|
|
75
|
-
"vite": "7.2.2",
|
|
76
|
-
"webpack": "^5.102.1"
|
|
71
|
+
"@nuxt/schema": "^4.2.2",
|
|
72
|
+
"astro": "^5.16.6",
|
|
73
|
+
"rollup": "^4.54.0"
|
|
77
74
|
},
|
|
78
75
|
"peerDependencies": {
|
|
79
|
-
"@
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"rolldown": "*",
|
|
84
|
-
"rollup": "^4.52.5",
|
|
85
|
-
"vite": ">=7.1.12",
|
|
86
|
-
"webpack": "^5.102.1"
|
|
76
|
+
"@nuxt/kit": "^4.2.2",
|
|
77
|
+
"astro": "^5.16.6",
|
|
78
|
+
"typescript": ">=5.9.3",
|
|
79
|
+
"vue": ">=3.5.26"
|
|
87
80
|
},
|
|
88
81
|
"peerDependenciesMeta": {
|
|
89
|
-
"@farmfe/core": {
|
|
90
|
-
"optional": true
|
|
91
|
-
},
|
|
92
82
|
"@nuxt/kit": {
|
|
93
83
|
"optional": true
|
|
94
84
|
},
|
|
95
|
-
"
|
|
96
|
-
"optional": true
|
|
97
|
-
},
|
|
98
|
-
"esbuild": {
|
|
99
|
-
"optional": true
|
|
100
|
-
},
|
|
101
|
-
"rolldown": {
|
|
102
|
-
"optional": true
|
|
103
|
-
},
|
|
104
|
-
"rollup": {
|
|
105
|
-
"optional": true
|
|
106
|
-
},
|
|
107
|
-
"vite": {
|
|
108
|
-
"optional": true
|
|
109
|
-
},
|
|
110
|
-
"webpack": {
|
|
85
|
+
"astro": {
|
|
111
86
|
"optional": true
|
|
112
87
|
}
|
|
113
|
-
},
|
|
114
|
-
"scripts": {
|
|
115
|
-
"build": "tsdown",
|
|
116
|
-
"watch": "tsdown --watch"
|
|
117
88
|
}
|
|
118
89
|
}
|
package/dist/astro.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import "./index-tWaWg0Kw.js";
|
|
2
|
-
import { t as Options } from "./types-DXB6NIW0.js";
|
|
3
|
-
|
|
4
|
-
//#region src/astro.d.ts
|
|
5
|
-
declare const _default: (options: Options) => {
|
|
6
|
-
name: string;
|
|
7
|
-
hooks: {
|
|
8
|
-
"astro:config:setup": (astro: any) => Promise<void>;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
//#endregion
|
|
12
|
-
export { _default as default };
|
package/dist/esbuild.d.ts
DELETED
package/dist/esbuild.js
DELETED
package/dist/farm.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { t as BaseOptions } from "./index-tWaWg0Kw.js";
|
|
2
|
-
import * as _farmfe_core0 from "@farmfe/core";
|
|
3
|
-
|
|
4
|
-
//#region src/farm.d.ts
|
|
5
|
-
declare const _default: (options?: BaseOptions | undefined) => _farmfe_core0.JsPlugin;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { _default as default };
|
package/dist/farm.js
DELETED
package/dist/index.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { t as BaseOptions } from "./index-tWaWg0Kw.js";
|
|
2
|
-
import { t as Options } from "./types-DXB6NIW0.js";
|
|
3
|
-
import * as unplugin0 from "unplugin";
|
|
4
|
-
import { UnpluginFactory } from "unplugin";
|
|
5
|
-
|
|
6
|
-
//#region src/index.d.ts
|
|
7
|
-
declare const unpluginFactory: UnpluginFactory<Options | undefined>;
|
|
8
|
-
declare const unplugin: unplugin0.UnpluginInstance<BaseOptions | undefined, boolean>;
|
|
9
|
-
//#endregion
|
|
10
|
-
export { unplugin as default, unplugin, unpluginFactory };
|
package/dist/index.js
DELETED
package/dist/nuxt.d.ts
DELETED
package/dist/rolldown.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { t as BaseOptions } from "./index-tWaWg0Kw.js";
|
|
2
|
-
import * as rolldown0 from "rolldown";
|
|
3
|
-
|
|
4
|
-
//#region src/rolldown.d.ts
|
|
5
|
-
declare const _default: (options?: BaseOptions | undefined) => rolldown0.Plugin<any> | rolldown0.Plugin<any>[];
|
|
6
|
-
//#endregion
|
|
7
|
-
export { _default as default };
|
package/dist/rolldown.js
DELETED
package/dist/rollup.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { t as BaseOptions } from "./index-tWaWg0Kw.js";
|
|
2
|
-
import * as rollup0 from "rollup";
|
|
3
|
-
|
|
4
|
-
//#region src/rollup.d.ts
|
|
5
|
-
declare const _default: (options?: BaseOptions | undefined) => rollup0.Plugin<any> | rollup0.Plugin<any>[];
|
|
6
|
-
//#endregion
|
|
7
|
-
export { _default as default };
|
package/dist/rollup.js
DELETED
package/dist/rspack.d.ts
DELETED
package/dist/rspack.js
DELETED
package/dist/types-DXB6NIW0.d.ts
DELETED
package/dist/types.d.ts
DELETED
package/dist/types.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
package/dist/vite-j4mVIlZq.js
DELETED
package/dist/vite.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { t as BaseOptions } from "./index-tWaWg0Kw.js";
|
|
2
|
-
import * as vite0 from "vite";
|
|
3
|
-
|
|
4
|
-
//#region src/vite.d.ts
|
|
5
|
-
declare const _default: (options?: BaseOptions | undefined) => vite0.Plugin<any> | vite0.Plugin<any>[];
|
|
6
|
-
//#endregion
|
|
7
|
-
export { _default as default };
|
package/dist/vite.js
DELETED
package/dist/webpack-CxWifJAJ.js
DELETED
package/dist/webpack.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { t as BaseOptions } from "./index-tWaWg0Kw.js";
|
|
2
|
-
import * as webpack0 from "webpack";
|
|
3
|
-
|
|
4
|
-
//#region src/webpack.d.ts
|
|
5
|
-
declare const _default: (options?: BaseOptions | undefined) => webpack0.WebpackPluginInstance;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { _default as default };
|
package/dist/webpack.js
DELETED