suncy-my-npm-test 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.
package/dist/test.es.js CHANGED
@@ -1,14 +1,13 @@
1
- import { createElementBlock as r, openBlock as a } from "vue";
2
- const s = (t, e) => {
3
- const c = t.__vccOpts || t;
4
- for (const [n, o] of e)
5
- c[n] = o;
6
- return c;
7
- }, _ = {};
8
- function f(t, e) {
9
- return a(), r("div", null, " aaaaa ");
10
- }
11
- const p = /* @__PURE__ */ s(_, [["render", f]]);
1
+ import { defineComponent as n, createElementBlock as o, openBlock as c } from "vue";
2
+ const i = /* @__PURE__ */ n({
3
+ __name: "test",
4
+ setup(t) {
5
+ function e() {
6
+ console.log("click");
7
+ }
8
+ return (a, l) => (c(), o("div", { onClick: e }, " aaaaa "));
9
+ }
10
+ });
12
11
  export {
13
- p as default
12
+ i as default
14
13
  };
package/dist/test.umd.js CHANGED
@@ -1 +1 @@
1
- (function(e,t){typeof exports=="object"&&typeof module<"u"?module.exports=t(require("vue")):typeof define=="function"&&define.amd?define(["vue"],t):(e=typeof globalThis<"u"?globalThis:e||self,e.MyTest=t(e.Vue))})(this,(function(e){"use strict";const t=(n,o)=>{const c=n.__vccOpts||n;for(const[f,i]of o)c[f]=i;return c},s={};function r(n,o){return e.openBlock(),e.createElementBlock("div",null," aaaaa ")}return t(s,[["render",r]])}));
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.MyTest=n(e.Vue))})(this,(function(e){"use strict";return e.defineComponent({__name:"test",setup(i){function t(){console.log("click")}return(o,c)=>(e.openBlock(),e.createElementBlock("div",{onClick:t}," aaaaa "))}})}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "type": "module",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "name": "suncy-my-npm-test",
5
5
  "description": "A simple Vue 3 Button component",
6
6
  "main": "dist/test.es.js",