@uf_lee/leeui 1.0.5 → 1.0.6

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,16 @@
1
+ import { createElementBlock as c, openBlock as l, createElementVNode as s } from "vue";
2
+ const _ = (t, e) => {
3
+ const n = t.__vccOpts || t;
4
+ for (const [o, r] of e)
5
+ n[o] = r;
6
+ return n;
7
+ }, p = {};
8
+ function f(t, e) {
9
+ return l(), c("div", null, e[0] || (e[0] = [
10
+ s("p", null, "Hello! 我是一个测试组件", -1)
11
+ ]));
12
+ }
13
+ const u = /* @__PURE__ */ _(p, [["render", f]]);
14
+ export {
15
+ u as MyComponent
16
+ };
@@ -0,0 +1 @@
1
+ (function(e,n){typeof exports=="object"&&typeof module<"u"?n(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],n):(e=typeof globalThis<"u"?globalThis:e||self,n(e.MyComponentLibrary={},e.Vue))})(this,function(e,n){"use strict";const i=(o,t)=>{const r=o.__vccOpts||o;for(const[u,d]of t)r[u]=d;return r},c={};function f(o,t){return n.openBlock(),n.createElementBlock("div",null,t[0]||(t[0]=[n.createElementVNode("p",null,"Hello! 我是一个测试组件",-1)]))}const s=i(c,[["render",f]]);e.MyComponent=s,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import MyComponent from "./MyComponent.vue";
2
+ export { MyComponent };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uf_lee/leeui",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "自己的组件库",
5
5
  "main": "src/index.js",
6
6
  "types": "src/types/index.d.ts",
@@ -18,7 +18,7 @@
18
18
  "dev": "vite",
19
19
  "build": "vite build",
20
20
  "build:types": "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.json",
21
- "publish": "npm run build && npm publish"
21
+ "publish": "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.json && npm publish --access=public"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@vitejs/plugin-vue": "^5.2.3",
package/src/index.ts CHANGED
@@ -2,10 +2,10 @@
2
2
  * @Author: 李天惊 uf_lee@163.com
3
3
  * @Date: 2025-03-20 11:24:35
4
4
  * @LastEditors: 李天惊 uf_lee@163.com
5
- * @LastEditTime: 2025-03-20 13:37:31
5
+ * @LastEditTime: 2025-03-20 13:52:37
6
6
  * @FilePath: \leelcp2022\lee_ui\src\index.ts
7
7
  * Copyright (c) 2025 by ${git_name_email}, All Rights Reserved.
8
8
  */
9
- import MyComponent from "./MyComponent.vue";
9
+ import Test from "./components/Test.vue";
10
10
 
11
- export { MyComponent };
11
+ export { Test };
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import Test from "./components/Test.vue";
2
+ export { Test };
File without changes