morghulis 1.0.58 → 1.0.60
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/morghulis.css +1 -1
- package/dist/my-lib.es.js +35 -0
- package/dist/my-lib.umd.js +1 -0
- package/dist/types/index.d.ts +7 -0
- package/package.json +7 -8
- package/style.css +0 -0
- package/README.md +0 -33
- package/dist/favicon.ico +0 -0
- package/dist/index.d.ts +0 -6
- package/dist/morghulis.js +0 -37
- package/dist/morghulis.umd.cjs +0 -1
- /package/dist/{my-button/MyButton.vue.d.ts → types/MyButton.d.ts} +0 -0
package/dist/morghulis.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
.my-button[data-v-
|
1
|
+
.my-button[data-v-e56ad9ce]{color:red}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
import { defineComponent as c, resolveComponent as a, createBlock as p, openBlock as r, withCtx as l, createElementVNode as _, toDisplayString as u } from "vue";
|
2
|
+
const i = { class: "my-button" }, m = /* @__PURE__ */ c({
|
3
|
+
__name: "MyButton",
|
4
|
+
props: {
|
5
|
+
text: { default: "hello" }
|
6
|
+
},
|
7
|
+
setup(t) {
|
8
|
+
return (e, o) => {
|
9
|
+
const n = a("el-button");
|
10
|
+
return r(), p(n, {
|
11
|
+
type: "primary",
|
12
|
+
size: "small",
|
13
|
+
plain: ""
|
14
|
+
}, {
|
15
|
+
default: l(() => [
|
16
|
+
_("span", i, u(e.text), 1)
|
17
|
+
]),
|
18
|
+
_: 1
|
19
|
+
});
|
20
|
+
};
|
21
|
+
}
|
22
|
+
}), d = (t, e) => {
|
23
|
+
const o = t.__vccOpts || t;
|
24
|
+
for (const [n, s] of e)
|
25
|
+
o[n] = s;
|
26
|
+
return o;
|
27
|
+
}, f = /* @__PURE__ */ d(m, [["__scopeId", "data-v-e56ad9ce"]]), x = {
|
28
|
+
install(t) {
|
29
|
+
t.component("MyButton", f);
|
30
|
+
}
|
31
|
+
};
|
32
|
+
export {
|
33
|
+
f as MyButton,
|
34
|
+
x as default
|
35
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
(function(t,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.MyLib={},t.Vue))})(this,function(t,e){"use strict";const p={class:"my-button"},c=((n,o)=>{const s=n.__vccOpts||n;for(const[i,l]of o)s[i]=l;return s})(e.defineComponent({__name:"MyButton",props:{text:{default:"hello"}},setup(n){return(o,s)=>{const i=e.resolveComponent("el-button");return e.openBlock(),e.createBlock(i,{type:"primary",size:"small",plain:""},{default:e.withCtx(()=>[e.createElementVNode("span",p,e.toDisplayString(o.text),1)]),_:1})}}}),[["__scopeId","data-v-e56ad9ce"]]),_={install(n){n.component("MyButton",c)}};t.MyButton=c,t.default=_,Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
package/package.json
CHANGED
@@ -1,26 +1,25 @@
|
|
1
1
|
{
|
2
2
|
"name": "morghulis",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.60",
|
4
4
|
"type": "module",
|
5
5
|
"main": "./dist/morghulis.umd.js",
|
6
|
-
"module": "./dist/morghulis.js",
|
6
|
+
"module": "./dist/morghulis.es.js",
|
7
7
|
"types": "./dist/types/index.d.ts",
|
8
8
|
"exports": {
|
9
9
|
".": {
|
10
10
|
"import": "./dist/morghulis.es.js",
|
11
|
-
"require": "./
|
11
|
+
"require": "./distmorghulis.umd.js"
|
12
12
|
},
|
13
13
|
"./style.css": "./dist/style.css"
|
14
14
|
},
|
15
15
|
"files": [
|
16
|
-
"dist"
|
16
|
+
"dist",
|
17
|
+
"style.css"
|
17
18
|
],
|
18
19
|
"scripts": {
|
19
20
|
"dev": "vite",
|
20
|
-
"build": "
|
21
|
-
"
|
22
|
-
"build-only": "vite build",
|
23
|
-
"type-check": "vue-tsc --build"
|
21
|
+
"build": "vite build",
|
22
|
+
"type-check": "vue-tsc --noEmit"
|
24
23
|
},
|
25
24
|
"dependencies": {
|
26
25
|
"element-plus": "^2.9.8",
|
package/style.css
ADDED
File without changes
|
package/README.md
DELETED
@@ -1,33 +0,0 @@
|
|
1
|
-
# test_dist
|
2
|
-
|
3
|
-
This template should help get you started developing with Vue 3 in Vite.
|
4
|
-
|
5
|
-
## Recommended IDE Setup
|
6
|
-
|
7
|
-
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur).
|
8
|
-
|
9
|
-
## Type Support for `.vue` Imports in TS
|
10
|
-
|
11
|
-
TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) to make the TypeScript language service aware of `.vue` types.
|
12
|
-
|
13
|
-
## Customize configuration
|
14
|
-
|
15
|
-
See [Vite Configuration Reference](https://vite.dev/config/).
|
16
|
-
|
17
|
-
## Project Setup
|
18
|
-
|
19
|
-
```sh
|
20
|
-
npm install
|
21
|
-
```
|
22
|
-
|
23
|
-
### Compile and Hot-Reload for Development
|
24
|
-
|
25
|
-
```sh
|
26
|
-
npm run dev
|
27
|
-
```
|
28
|
-
|
29
|
-
### Type-Check, Compile and Minify for Production
|
30
|
-
|
31
|
-
```sh
|
32
|
-
npm run build
|
33
|
-
```
|
package/dist/favicon.ico
DELETED
Binary file
|
package/dist/index.d.ts
DELETED
package/dist/morghulis.js
DELETED
@@ -1,37 +0,0 @@
|
|
1
|
-
import { defineComponent as c, resolveComponent as r, createBlock as a, openBlock as p, withCtx as l, createElementVNode as _, toDisplayString as u } from "vue";
|
2
|
-
const i = { class: "my-button" }, m = /* @__PURE__ */ c({
|
3
|
-
__name: "MyButton",
|
4
|
-
props: {
|
5
|
-
text: { default: "hello" }
|
6
|
-
},
|
7
|
-
setup(o) {
|
8
|
-
return (t, e) => {
|
9
|
-
const n = r("el-button");
|
10
|
-
return p(), a(n, {
|
11
|
-
type: "primary",
|
12
|
-
size: "small",
|
13
|
-
plain: ""
|
14
|
-
}, {
|
15
|
-
default: l(() => [
|
16
|
-
_("span", i, u(t.text), 1)
|
17
|
-
]),
|
18
|
-
_: 1
|
19
|
-
});
|
20
|
-
};
|
21
|
-
}
|
22
|
-
}), f = (o, t) => {
|
23
|
-
const e = o.__vccOpts || o;
|
24
|
-
for (const [n, s] of t)
|
25
|
-
e[n] = s;
|
26
|
-
return e;
|
27
|
-
}, d = /* @__PURE__ */ f(m, [["__scopeId", "data-v-4e402c3e"]]);
|
28
|
-
function h(o) {
|
29
|
-
function t(e) {
|
30
|
-
e.component("MyButton", d);
|
31
|
-
}
|
32
|
-
return { install: t };
|
33
|
-
}
|
34
|
-
export {
|
35
|
-
d as MyButton,
|
36
|
-
h as default
|
37
|
-
};
|
package/dist/morghulis.umd.cjs
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
(function(t,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.morghulis={},t.Vue))})(this,function(t,e){"use strict";const r={class:"my-button"},c=((s,n)=>{const o=s.__vccOpts||s;for(const[i,l]of n)o[i]=l;return o})(e.defineComponent({__name:"MyButton",props:{text:{default:"hello"}},setup(s){return(n,o)=>{const i=e.resolveComponent("el-button");return e.openBlock(),e.createBlock(i,{type:"primary",size:"small",plain:""},{default:e.withCtx(()=>[e.createElementVNode("span",r,e.toDisplayString(n.text),1)]),_:1})}}}),[["__scopeId","data-v-4e402c3e"]]);function u(s){function n(o){o.component("MyButton",c)}return{install:n}}t.MyButton=c,t.default=u,Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
File without changes
|