morghulis 2.0.36 → 2.0.39

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.
@@ -54,7 +54,9 @@ export const MButton: DefineComponent<MButtonProps>
54
54
 
55
55
  export function install(app: App): void
56
56
 
57
- export default {
58
- install,
59
- MButton
60
- }
57
+ declare const _default: {
58
+ install: typeof install
59
+ MButton: typeof MButton
60
+ }
61
+
62
+ export default _default
package/package.json CHANGED
@@ -1,26 +1,30 @@
1
1
  {
2
2
  "name": "morghulis",
3
- "version": "2.0.36",
3
+ "version": "2.0.39",
4
4
  "private": false,
5
5
  "type": "module",
6
- "main": "./dist/morghulis.js",
7
- "module": "./dist/morghulis.js",
8
- "types": "./dist/morghulis.d.ts",
9
- "typings": "./dist/morghulis.d.ts",
6
+ "main": "./dist/morghulis.es.js",
7
+ "module": "./dist/morghulis.es.js",
8
+ "types": "./dist/types/index.d.ts",
9
+ "typings": "./dist/types/index.d.ts",
10
10
  "files": [
11
11
  "dist"
12
12
  ],
13
13
  "exports": {
14
14
  ".": {
15
- "import": "./dist/morghulis.js",
16
- "types": "./dist/morghulis.d.ts"
15
+ "types": "./dist/types/index.d.ts",
16
+ "import": "./dist/morghulis.es.js",
17
+ "default": "./dist/morghulis.es.js"
17
18
  },
18
- "./style": "./dist/morghulis.css"
19
+ "./style": {
20
+ "import": "./dist/morghulis.css",
21
+ "default": "./dist/morghulis.css"
22
+ }
19
23
  },
20
24
  "scripts": {
21
25
  "dev": "vite",
22
26
  "build": "vite build && npm run build:types",
23
- "build:types": "cp ./src/morghulis.d.ts ./dist/morghulis.d.ts",
27
+ "build:types": "mkdir -p dist/types && cp ./src/morghulis.d.ts ./dist/types/index.d.ts",
24
28
  "preview": "vite preview",
25
29
  "type-check": "vue-tsc --build",
26
30
  "prepublishOnly": "npm run build"
File without changes