@uf_lee/leeui 1.0.6 → 1.0.8

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