fantasia-ui 0.2.21 → 0.2.25

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.
@@ -0,0 +1,8 @@
1
+ import type { App, Plugin } from 'vue'
2
+
3
+ declare const install: Plugin
4
+
5
+ export default install
6
+
7
+ // 导出所有组件
8
+ export * from './types/components'
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "fantasia-ui",
3
3
  "private": false,
4
- "version": "0.2.21",
4
+ "version": "0.2.25",
5
5
  "type": "module",
6
6
  "main": "dist/fantasia-ui.umd.js",
7
7
  "module": "dist/fantasia-ui.es.js",
@@ -44,7 +44,7 @@
44
44
  "homepage": "https://github.com/shuster/fantasia-ui#readme",
45
45
  "scripts": {
46
46
  "dev": "vite",
47
- "build": "node --max-old-space-size=8192 node_modules/vite/bin/vite.js build && vue-tsc --declaration --emitDeclarationOnly -p tsconfig.build.json && node -e \"require('fs').copyFileSync('packages/global.d.ts', 'dist/types/global.d.ts'); require('fs').copyFileSync('packages/volar.d.ts', 'dist/types/volar.d.ts')\"",
47
+ "build": "node --max-old-space-size=8192 node_modules/vite/bin/vite.js build && vue-tsc --declaration --emitDeclarationOnly -p tsconfig.build.json && node scripts/post-build.cjs",
48
48
  "build:lib": "node --max-old-space-size=8192 node_modules/vite/bin/vite.js build",
49
49
  "build:types": "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.build.json",
50
50
  "preview": "vite preview",