@bagelink/vue 0.0.106 → 0.0.110
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/index.cjs +1236 -5778
- package/dist/index.mjs +303 -4845
- package/package.json +9 -14
- package/tsconfig.json +6 -1
- package/vite.config.ts +15 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bagelink/vue",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.110",
|
|
5
5
|
"description": "Bagel core sdk packages",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Neveh Allon",
|
|
@@ -27,19 +27,19 @@
|
|
|
27
27
|
"./src/utils": "./src/utils/index.ts",
|
|
28
28
|
"./src/types": "./src/types/index.ts",
|
|
29
29
|
".": {
|
|
30
|
-
"types": "./dist/index.d.ts",
|
|
30
|
+
"types": "./dist/types/index.d.ts",
|
|
31
31
|
"require": "./dist/index.cjs",
|
|
32
32
|
"import": "./dist/index.mjs"
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
"main": "./dist/index.mjs",
|
|
36
36
|
"module": "./dist/index.mjs",
|
|
37
|
-
"types": "./dist/index.d.ts",
|
|
37
|
+
"types": "./dist/types/index.d.ts",
|
|
38
38
|
"typesVersions": {
|
|
39
39
|
"*": {
|
|
40
40
|
"*": [
|
|
41
|
-
"./dist/*",
|
|
42
|
-
"./dist/index.d.ts"
|
|
41
|
+
"./dist/types/*",
|
|
42
|
+
"./dist/types/index.d.ts"
|
|
43
43
|
]
|
|
44
44
|
}
|
|
45
45
|
},
|
|
@@ -51,13 +51,14 @@
|
|
|
51
51
|
],
|
|
52
52
|
"dependencies": {},
|
|
53
53
|
"devDependencies": {
|
|
54
|
+
"vue": "^3.3.8",
|
|
54
55
|
"@vue-macros/reactivity-transform": "^0.4.0",
|
|
55
|
-
"@bagelink/sdk": "0.0.
|
|
56
|
+
"@bagelink/sdk": "0.0.110"
|
|
56
57
|
},
|
|
57
58
|
"peerDependencies": {
|
|
58
59
|
"@bagelink/sdk": "*",
|
|
59
|
-
"vue-router": "
|
|
60
|
-
"vue": "
|
|
60
|
+
"vue-router": "*",
|
|
61
|
+
"vue": "*",
|
|
61
62
|
"vue3-charts": "^1.1.33",
|
|
62
63
|
"@formkit/vue": "^1.3.0",
|
|
63
64
|
"@formkit/core": "1.3.0",
|
|
@@ -71,12 +72,6 @@
|
|
|
71
72
|
"prosemirror-view": "^1.32.4"
|
|
72
73
|
},
|
|
73
74
|
"peerDependenciesMeta": {
|
|
74
|
-
"vue-router": {
|
|
75
|
-
"optional": true
|
|
76
|
-
},
|
|
77
|
-
"vue": {
|
|
78
|
-
"option": true
|
|
79
|
-
},
|
|
80
75
|
"vue3-charts": {
|
|
81
76
|
"option": true
|
|
82
77
|
},
|
package/tsconfig.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
|
-
"target": "
|
|
3
|
+
"target": "ESNext",
|
|
4
4
|
"baseUrl": ".",
|
|
5
5
|
"rootDir": ".",
|
|
6
6
|
"module": "ESNext",
|
|
@@ -22,8 +22,13 @@
|
|
|
22
22
|
"DOM"
|
|
23
23
|
],
|
|
24
24
|
"types": [
|
|
25
|
+
"vite/client",
|
|
25
26
|
"@vue-macros/reactivity-transform/macros-global"
|
|
26
27
|
],
|
|
28
|
+
"useDefineForClassFields": true,
|
|
29
|
+
"sourceMap": true,
|
|
30
|
+
"emitDeclarationOnly": true,
|
|
31
|
+
"declarationDir": "./dist/types",
|
|
27
32
|
"paths": {
|
|
28
33
|
"@bagelink/vue": [
|
|
29
34
|
"./src/index.ts"
|
package/vite.config.ts
CHANGED
|
@@ -19,9 +19,24 @@ export default defineConfig(() => ({
|
|
|
19
19
|
build: {
|
|
20
20
|
minify: false,
|
|
21
21
|
lib: {
|
|
22
|
+
|
|
22
23
|
entry: resolve(indexDir, 'index.ts'),
|
|
23
24
|
formats: ['es', 'cjs'],
|
|
24
25
|
fileName: (module, entry) => `${entry}.${module === 'es' ? 'mjs' : module}`,
|
|
25
26
|
},
|
|
27
|
+
rollupOptions: {
|
|
28
|
+
// external modules won't be bundled into your library
|
|
29
|
+
external: ['vue', 'vue-router'], // not every external has a global
|
|
30
|
+
output: {
|
|
31
|
+
// disable warning on src/index.ts using both default and named export
|
|
32
|
+
exports: 'named',
|
|
33
|
+
// Provide global variables to use in the UMD build
|
|
34
|
+
// for externalized deps (not useful if 'umd' is not in lib.formats)
|
|
35
|
+
globals: {
|
|
36
|
+
vue: 'Vue',
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
emptyOutDir: false, // to retain the types folder generated by tsc
|
|
26
41
|
},
|
|
27
42
|
}));
|