lty-protocol 1.0.0 → 1.0.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.
@@ -0,0 +1 @@
1
+ export {}
@@ -1 +1 @@
1
- .my-btn[data-v-c5b6be89]{padding:6px 12px;border:1px solid #ccc}
1
+ .my-btn[data-v-b926ebca]{padding:6px 12px;border:1px solid #ccc}
@@ -1,5 +1,5 @@
1
- import { openBlock as r, createElementBlock as s, renderSlot as _ } from "vue";
2
- const a = (t, e) => {
1
+ import { openBlock as r, createElementBlock as s, renderSlot as a } from "vue";
2
+ const _ = (t, e) => {
3
3
  const n = t.__vccOpts || t;
4
4
  for (const [o, c] of e)
5
5
  n[o] = c;
@@ -7,14 +7,15 @@ const a = (t, e) => {
7
7
  }, d = {}, l = { class: "my-btn" };
8
8
  function u(t, e) {
9
9
  return r(), s("button", l, [
10
- _(t.$slots, "default", {}, void 0, !0)
10
+ a(t.$slots, "default", {}, void 0, !0)
11
11
  ]);
12
12
  }
13
- const f = /* @__PURE__ */ a(d, [["render", u], ["__scopeId", "data-v-c5b6be89"]]), p = {
13
+ const f = /* @__PURE__ */ _(d, [["render", u], ["__scopeId", "data-v-b926ebca"]]), p = {
14
14
  install(t) {
15
15
  t.component("MyButton", f);
16
16
  }
17
17
  };
18
18
  export {
19
+ f as MyButton,
19
20
  p as default
20
21
  };
@@ -1 +1 @@
1
- (function(e,n){typeof exports=="object"&&typeof module<"u"?module.exports=n(require("vue")):typeof define=="function"&&define.amd?define(["vue"],n):(e=typeof globalThis<"u"?globalThis:e||self,e["lty-protocol"]=n(e.Vue))})(this,(function(e){"use strict";const n=(t,o)=>{const c=t.__vccOpts||t;for(const[u,f]of o)c[u]=f;return c},s={},d={class:"my-btn"};function r(t,o){return e.openBlock(),e.createElementBlock("button",d,[e.renderSlot(t.$slots,"default",{},void 0,!0)])}const i=n(s,[["render",r],["__scopeId","data-v-c5b6be89"]]);return{install(t){t.component("MyButton",i)}}}));
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["lty-protocol"]={},e.Vue))})(this,(function(e,t){"use strict";const u=(n,c)=>{const s=n.__vccOpts||n;for(const[l,_]of c)s[l]=_;return s},d={},i={class:"my-btn"};function r(n,c){return t.openBlock(),t.createElementBlock("button",i,[t.renderSlot(n.$slots,"default",{},void 0,!0)])}const o=u(d,[["render",r],["__scopeId","data-v-b926ebca"]]),f={install(n){n.component("MyButton",o)}};e.MyButton=o,e.default=f,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
package/package.json CHANGED
@@ -1,10 +1,13 @@
1
1
  {
2
2
  "name": "lty-protocol",
3
- "version": "1.0.0",
4
- "main": "dist/my-vue-lib.umd.cjs",
5
- "module": "dist/my-vue-lib.js",
3
+ "version": "1.0.1",
4
+ "main": "dist/lty-protocol.umd.js",
5
+ "module": "dist/lty-protocol.mjs",
6
+ "style": "dist/lty-protocol.css",
6
7
  "types": "dist/index.d.ts",
7
- "files": ["dist"],
8
+ "files": [
9
+ "dist"
10
+ ],
8
11
  "peerDependencies": {
9
12
  "vue": "^3.0.0"
10
13
  },
@@ -17,6 +20,7 @@
17
20
  "@vue/tsconfig": "^0.8.1",
18
21
  "typescript": "~5.9.3",
19
22
  "vite": "^7.2.4",
23
+ "vite-plugin-dts": "^4.5.4",
20
24
  "vue-tsc": "^3.1.4"
21
25
  }
22
26
  }