morghulis 1.0.9 → 1.0.11
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/README.md +31 -3
- package/dist/App.vue.d.ts +3 -0
- package/dist/App.vue.d.ts.map +1 -0
- package/dist/components/LypButton.vue.d.ts +3 -0
- package/dist/components/LypButton.vue.d.ts.map +1 -0
- package/dist/favicon.ico +0 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/main.d.ts +1 -0
- package/dist/main.d.ts.map +1 -0
- package/dist/morghulis.css +1 -1
- package/dist/morghulis.es.js +23 -0
- package/dist/morghulis.umd.js +1 -0
- package/package.json +13 -26
- package/dist/morghulis.js +0 -30
- package/dist/morghulis.umd.cjs +0 -1
- package/dist/vite.svg +0 -1
package/README.md
CHANGED
@@ -1,5 +1,33 @@
|
|
1
|
-
#
|
1
|
+
# morghulis
|
2
2
|
|
3
|
-
This template should help get you started developing with Vue 3
|
3
|
+
This template should help get you started developing with Vue 3 in Vite.
|
4
4
|
|
5
|
-
|
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
|
+
```
|
@@ -0,0 +1,3 @@
|
|
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;
|
3
|
+
//# sourceMappingURL=App.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"App.vue.d.ts","sourceRoot":"","sources":["../src/App.vue"],"names":[],"mappings":";AAwDA,wBAMG"}
|
@@ -0,0 +1,3 @@
|
|
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;
|
3
|
+
//# sourceMappingURL=LypButton.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"LypButton.vue.d.ts","sourceRoot":"","sources":["../../src/components/LypButton.vue"],"names":[],"mappings":"AAKA;;AA6BA,wBAEG"}
|
package/dist/favicon.ico
ADDED
Binary file
|
package/dist/index.d.ts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,SAAS,MAAM,4BAA4B,CAAC;AAEnD,OAAO,EAAE,SAAS,EAAE,CAAC;;iBAIN,GAAG;;AADlB,wBAIE"}
|
package/dist/main.d.ts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
//# sourceMappingURL=main.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":"AAAA,OAAO,mBAAmB,CAAA"}
|
package/dist/morghulis.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
.
|
1
|
+
.my-button{padding:10px 20px;border:none;background-color:#42b983;color:#fff;font-size:16px;border-radius:5px;cursor:pointer}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { defineComponent as c, createElementBlock as r, openBlock as p, renderSlot as a } from "vue";
|
2
|
+
const l = c({
|
3
|
+
name: "LypButton"
|
4
|
+
}), u = (t, n) => {
|
5
|
+
const o = t.__vccOpts || t;
|
6
|
+
for (const [e, s] of n)
|
7
|
+
o[e] = s;
|
8
|
+
return o;
|
9
|
+
}, _ = { class: "my-button" };
|
10
|
+
function d(t, n, o, e, s, i) {
|
11
|
+
return p(), r("button", _, [
|
12
|
+
a(t.$slots, "default")
|
13
|
+
]);
|
14
|
+
}
|
15
|
+
const f = /* @__PURE__ */ u(l, [["render", d]]), y = {
|
16
|
+
install(t) {
|
17
|
+
t.component("LypButton", f);
|
18
|
+
}
|
19
|
+
};
|
20
|
+
export {
|
21
|
+
f as LypButton,
|
22
|
+
y as default
|
23
|
+
};
|
@@ -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.morghulis={},e.Vue))})(this,function(e,t){"use strict";const r=t.defineComponent({name:"LypButton"}),d=(n,u)=>{const o=n.__vccOpts||n;for(const[i,c]of u)o[i]=c;return o},f={class:"my-button"};function p(n,u,o,i,c,a){return t.openBlock(),t.createElementBlock("button",f,[t.renderSlot(n.$slots,"default")])}const s=d(r,[["render",p]]),l={install(n){n.component("LypButton",s)}};e.LypButton=s,e.default=l,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
package/package.json
CHANGED
@@ -1,35 +1,22 @@
|
|
1
1
|
{
|
2
2
|
"name": "morghulis",
|
3
|
-
"version": "1.0.
|
4
|
-
"
|
3
|
+
"version": "1.0.11",
|
4
|
+
"main": "dist/morghulis.cjs.js",
|
5
|
+
"module": "dist/morghulis.es.js",
|
6
|
+
"types": "dist/index.d.ts",
|
7
|
+
"files": ["dist"],
|
5
8
|
"scripts": {
|
6
|
-
"
|
7
|
-
"
|
8
|
-
"generate:types": "vue-tsc --declaration --emitDeclarationOnly --outdir ./dist",
|
9
|
-
"preview": "vite preview"
|
10
|
-
},
|
11
|
-
"files": [
|
12
|
-
"dist"
|
13
|
-
],
|
14
|
-
"main": "./dist/morghulis.umd.cjs",
|
15
|
-
"module": "./dist/morghulis.js",
|
16
|
-
"exports": {
|
17
|
-
".": {
|
18
|
-
"import": "./dist/morghulis.js",
|
19
|
-
"require": "./dist/morghulis.umd.cjs"
|
20
|
-
},
|
21
|
-
"./style.css": "./dist/style.css"
|
22
|
-
},
|
23
|
-
"types": "./dist/types.d.ts",
|
24
|
-
"dependencies": {
|
25
|
-
"@types/node": "^22.13.1",
|
26
|
-
"vue": "^3.5.13"
|
9
|
+
"build": "vite build",
|
10
|
+
"dev": "vite"
|
27
11
|
},
|
12
|
+
"license": "MIT",
|
28
13
|
"devDependencies": {
|
29
14
|
"@vitejs/plugin-vue": "^5.2.1",
|
30
|
-
"
|
31
|
-
"typescript": "~5.7.2",
|
15
|
+
"typescript": "^5.7.3",
|
32
16
|
"vite": "^6.1.0",
|
33
|
-
"
|
17
|
+
"vite-plugin-dts": "^4.5.0"
|
18
|
+
},
|
19
|
+
"dependencies": {
|
20
|
+
"vue": "^3.5.13"
|
34
21
|
}
|
35
22
|
}
|
package/dist/morghulis.js
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
import { defineComponent as r, createElementBlock as s, openBlock as p, renderSlot as a } from "vue";
|
2
|
-
const l = /* @__PURE__ */ r({
|
3
|
-
__name: "MyComp",
|
4
|
-
props: {
|
5
|
-
text: { type: String, required: !0 }
|
6
|
-
},
|
7
|
-
setup(t) {
|
8
|
-
const o = t, e = () => {
|
9
|
-
alert(`click ${o.text}`);
|
10
|
-
};
|
11
|
-
return (n, c) => (p(), s("button", {
|
12
|
-
class: "btn",
|
13
|
-
onClick: e
|
14
|
-
}, [
|
15
|
-
a(n.$slots, "default", {}, void 0, !0)
|
16
|
-
]));
|
17
|
-
}
|
18
|
-
}), d = (t, o) => {
|
19
|
-
const e = t.__vccOpts || t;
|
20
|
-
for (const [n, c] of o)
|
21
|
-
e[n] = c;
|
22
|
-
return e;
|
23
|
-
}, i = /* @__PURE__ */ d(l, [["__scopeId", "data-v-a946fd69"]]), m = {
|
24
|
-
install: (t) => {
|
25
|
-
t.component("MyComp", i);
|
26
|
-
}
|
27
|
-
};
|
28
|
-
export {
|
29
|
-
m as default
|
30
|
-
};
|
package/dist/morghulis.umd.cjs
DELETED
@@ -1 +0,0 @@
|
|
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.morghulis=n(e.Vue))})(this,function(e){"use strict";const i=((t,s)=>{const o=t.__vccOpts||t;for(const[c,r]of s)o[c]=r;return o})(e.defineComponent({__name:"MyComp",props:{text:{type:String,required:!0}},setup(t){const s=t,o=()=>{alert(`click ${s.text}`)};return(c,r)=>(e.openBlock(),e.createElementBlock("button",{class:"btn",onClick:o},[e.renderSlot(c.$slots,"default",{},void 0,!0)]))}}),[["__scopeId","data-v-a946fd69"]]);return{install:t=>{t.component("MyComp",i)}}});
|
package/dist/vite.svg
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
|