metaowl 0.2.6 → 0.2.7
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/index.js +0 -8
- package/modules/composables.js +2 -2
- package/modules/odoo-rpc.js +1 -1
- package/package.json +1 -1
- package/vite/plugin.js +4 -2
package/index.js
CHANGED
|
@@ -83,14 +83,6 @@ export {
|
|
|
83
83
|
createSchema,
|
|
84
84
|
fieldProps
|
|
85
85
|
} from './modules/forms.js'
|
|
86
|
-
export {
|
|
87
|
-
generateComponentMap,
|
|
88
|
-
generateImports,
|
|
89
|
-
generateComponentsObject,
|
|
90
|
-
createAutoImportPlugin,
|
|
91
|
-
scanComponents,
|
|
92
|
-
generateComponentDts
|
|
93
|
-
} from './modules/auto-import.js'
|
|
94
86
|
export {
|
|
95
87
|
OdooService,
|
|
96
88
|
configure,
|
package/modules/composables.js
CHANGED
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
*/
|
|
32
32
|
|
|
33
33
|
import { useState, onMounted, onWillUnmount } from '@odoo/owl'
|
|
34
|
-
import
|
|
35
|
-
import
|
|
34
|
+
import Cache from './cache.js'
|
|
35
|
+
import Fetch from './fetch.js'
|
|
36
36
|
|
|
37
37
|
/**
|
|
38
38
|
* Authentication state composable.
|
package/modules/odoo-rpc.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "metaowl",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.7",
|
|
4
4
|
"description": "Lightweight meta-framework for Odoo OWL — file-based routing, app mounting, Fetch helper, Cache, Meta tags, SSG generator, and a Vite plugin.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
package/vite/plugin.js
CHANGED
|
@@ -134,7 +134,7 @@ export async function metaowlPlugin(options = {}) {
|
|
|
134
134
|
'process.env': safeEnv
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
cfg.root = cfg.root ??
|
|
137
|
+
cfg.root = cfg.root ?? root
|
|
138
138
|
cfg.publicDir = cfg.publicDir ?? publicDir
|
|
139
139
|
cfg.appType = cfg.appType ?? 'spa'
|
|
140
140
|
|
|
@@ -154,7 +154,7 @@ export async function metaowlPlugin(options = {}) {
|
|
|
154
154
|
chunkSizeWarningLimit: 1024,
|
|
155
155
|
target: 'esnext',
|
|
156
156
|
rollupOptions: {
|
|
157
|
-
input: resolve(
|
|
157
|
+
input: resolve(root, 'index.html'),
|
|
158
158
|
output: {
|
|
159
159
|
manualChunks: {
|
|
160
160
|
vendor: vendorPackages,
|
|
@@ -229,6 +229,8 @@ export async function metaowlPlugin(options = {}) {
|
|
|
229
229
|
}
|
|
230
230
|
}
|
|
231
231
|
]
|
|
232
|
+
|
|
233
|
+
return plugins
|
|
232
234
|
}
|
|
233
235
|
|
|
234
236
|
/**
|