morghulis 1.0.7 → 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.
@@ -0,0 +1,20 @@
1
+ type __VLS_Props = {
2
+ msg?: string;
3
+ };
4
+ declare function __VLS_template(): {
5
+ attrs: Partial<{}>;
6
+ slots: {
7
+ default?(_: {}): any;
8
+ };
9
+ refs: {};
10
+ rootEl: HTMLDivElement;
11
+ };
12
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
14
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
15
+ export default _default;
16
+ type __VLS_WithTemplateSlots<T, S> = T & {
17
+ new (): {
18
+ $slots: S;
19
+ };
20
+ };
@@ -0,0 +1,2 @@
1
+ import { default as MyComponent } from './MyComponent.vue';
2
+ export default MyComponent;
@@ -0,0 +1,7 @@
1
+ import { App } from 'vue';
2
+ import { default as MyComponent } from './components/MyComponent.vue';
3
+ export { MyComponent };
4
+ declare const _default: {
5
+ install: (app: App) => void;
6
+ };
7
+ export default _default;
@@ -1 +1 @@
1
- .main{background:#eee;width:50px;height:50px}
1
+ .my-component[data-v-7a51d697]{padding:10px;background-color:#f0f0f0;border:1px solid #ddd;border-radius:4px}
@@ -0,0 +1,26 @@
1
+ import { defineComponent as c, createElementBlock as r, openBlock as p, createTextVNode as a, renderSlot as m, toDisplayString as _ } from "vue";
2
+ const d = { class: "my-component" }, i = /* @__PURE__ */ c({
3
+ __name: "MyComponent",
4
+ props: {
5
+ msg: {}
6
+ },
7
+ setup(o) {
8
+ return (t, e) => (p(), r("div", d, [
9
+ a(" this is " + _(t.msg) + ": ", 1),
10
+ m(t.$slots, "default", {}, void 0, !0)
11
+ ]));
12
+ }
13
+ }), l = (o, t) => {
14
+ const e = o.__vccOpts || o;
15
+ for (const [n, s] of t)
16
+ e[n] = s;
17
+ return e;
18
+ }, f = /* @__PURE__ */ l(i, [["__scopeId", "data-v-7a51d697"]]), u = (o) => {
19
+ o.component("MyComponent", f);
20
+ }, v = {
21
+ install: u
22
+ };
23
+ export {
24
+ f as MyComponent,
25
+ v as default
26
+ };
@@ -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.morghulis={},t.Vue))})(this,function(t,e){"use strict";const c={class:"my-component"},i=((n,o)=>{const s=n.__vccOpts||n;for(const[d,p]of o)s[d]=p;return s})(e.defineComponent({__name:"MyComponent",props:{msg:{}},setup(n){return(o,s)=>(e.openBlock(),e.createElementBlock("div",c,[e.createTextVNode(" this is "+e.toDisplayString(o.msg)+": ",1),e.renderSlot(o.$slots,"default",{},void 0,!0)]))}}),[["__scopeId","data-v-7a51d697"]]),r={install:n=>{n.component("MyComponent",i)}};t.MyComponent=i,t.default=r,Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
package/package.json CHANGED
@@ -1,49 +1,34 @@
1
1
  {
2
2
  "name": "morghulis",
3
- "version": "1.0.7",
4
- "type": "module",
5
- "files": [
6
- "dist"
7
- ],
8
- "main": "./dist/morghulis.umd.cjs",
9
- "module": "./dist/morghulis.js",
3
+ "version": "1.0.8",
4
+ "main": "dist/morghulis.umd.js",
5
+ "module": "dist/morghulis.es.js",
6
+ "types": "dist/index.d.ts",
10
7
  "exports": {
11
8
  ".": {
12
- "import": "./dist/morghulis.js",
13
- "require": "./dist/morghulis.umd.cjs"
14
- },
15
- "./style.css": "./dist/style.css"
9
+ "import": "./dist/morghulis.es.js",
10
+ "require": "./dist/morghulis.umd.js"
11
+ }
16
12
  },
17
- "types": "./dist/types.d.ts",
13
+ "files": [
14
+ "dist"
15
+ ],
18
16
  "scripts": {
19
- "dev": "vite",
20
- "build": "vite build && npm run generate:types",
21
- "generate:types": "vue-tsc --declaration --emitDeclarationOnly --outdir ./dist",
22
- "preview": "vite preview"
17
+ "build": "vite build"
23
18
  },
24
- "dependencies": {
25
- "@vue/eslint-config-typescript": "^11.0.1",
26
- "@vue/tsconfig": "^0.7.0",
27
- "@vueuse/core": "^12.3.0",
28
- "@vueuse/integrations": "^12.3.0",
29
- "axios": "^1.7.9",
30
- "defu": "^6.1.4",
31
- "element-plus": "^2.9.1",
32
- "js-cookie": "^3.0.5",
33
- "nprogress": "^0.2.0",
34
- "radash": "^12.1.0",
35
- "universal-cookie": "^7.2.2",
36
- "uuid": "^11.0.3",
37
- "vue": "^3.5.13",
38
- "vue-tsc": "^2.2.0"
19
+ "keywords": [],
20
+ "author": "",
21
+ "license": "ISC",
22
+ "description": "",
23
+ "peerDependencies": {
24
+ "vue": "^3.5.13"
39
25
  },
40
26
  "devDependencies": {
41
- "@tsconfig/node22": "^22.0.0",
42
- "@vue/tsconfig": "^0.7.0",
43
- "@types/node": "^22.10.5",
27
+ "vite": "^6.1.0",
28
+ "vue": "^3.5.13"
29
+ },
30
+ "dependencies": {
44
31
  "@vitejs/plugin-vue": "^5.2.1",
45
- "typescript": "~5.6.2",
46
- "vite": "^6.0.5",
47
- "vue-tsc": "^2.2.0"
32
+ "vite-plugin-dts": "^4.5.0"
48
33
  }
49
34
  }
package/README.md DELETED
@@ -1,5 +0,0 @@
1
- # Vue 3 + TypeScript + Vite
2
-
3
- This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
4
-
5
- Learn more about the recommended Project Setup and IDE Support in the [Vue Docs TypeScript Guide](https://vuejs.org/guide/typescript/overview.html#project-setup).