@ginjou/nuxt 0.1.0-beta.6 → 0.1.0-beta.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.
- package/dist/module.cjs +8 -7
- package/dist/module.json +3 -3
- package/dist/module.mjs +8 -7
- package/package.json +8 -8
package/dist/module.cjs
CHANGED
|
@@ -71,16 +71,17 @@ function ImportListForAsync(resolve) {
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
const composables$1 = [
|
|
74
|
-
"useAccessContext",
|
|
75
74
|
"useAuthContext",
|
|
75
|
+
"useAuthzContext",
|
|
76
76
|
"useAuthenticated",
|
|
77
77
|
"useBack",
|
|
78
|
+
"useCanAccess",
|
|
78
79
|
"useCheckError",
|
|
79
|
-
"
|
|
80
|
+
"useCreateOne",
|
|
80
81
|
"useCreateMany",
|
|
81
82
|
"useCustom",
|
|
82
83
|
"useCustomMutation",
|
|
83
|
-
"
|
|
84
|
+
"useDeleteOne",
|
|
84
85
|
"useDeleteMany",
|
|
85
86
|
"useFetchersContext",
|
|
86
87
|
"useForm",
|
|
@@ -114,7 +115,7 @@ const composables$1 = [
|
|
|
114
115
|
"useShow",
|
|
115
116
|
"useSubscribe",
|
|
116
117
|
"useTranslate",
|
|
117
|
-
"
|
|
118
|
+
"useUpdateOne",
|
|
118
119
|
"useUpdateMany"
|
|
119
120
|
];
|
|
120
121
|
const ImportListForGinjou = composables$1.map(
|
|
@@ -152,13 +153,13 @@ const module$1 = kit.defineNuxtModule({
|
|
|
152
153
|
const { resolve } = kit.createResolver((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('module.cjs', document.baseURI).href)));
|
|
153
154
|
nuxt.hook("vite:extend", ({ config }) => {
|
|
154
155
|
config.optimizeDeps ??= {};
|
|
155
|
-
config.optimizeDeps.
|
|
156
|
-
config.optimizeDeps.
|
|
156
|
+
config.optimizeDeps.include ??= [];
|
|
157
|
+
config.optimizeDeps.include.push(
|
|
157
158
|
"@ginjou/core",
|
|
158
159
|
"@ginjou/vue",
|
|
159
160
|
"@ginjou/with-vue-router",
|
|
160
161
|
"@ginjou/with-vue-i18n"
|
|
161
|
-
|
|
162
|
+
);
|
|
162
163
|
});
|
|
163
164
|
kit.addImports(ImportListForTanstackQuery);
|
|
164
165
|
kit.addImports(ImportListForGinjou);
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -68,16 +68,17 @@ function ImportListForAsync(resolve) {
|
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
const composables$1 = [
|
|
71
|
-
"useAccessContext",
|
|
72
71
|
"useAuthContext",
|
|
72
|
+
"useAuthzContext",
|
|
73
73
|
"useAuthenticated",
|
|
74
74
|
"useBack",
|
|
75
|
+
"useCanAccess",
|
|
75
76
|
"useCheckError",
|
|
76
|
-
"
|
|
77
|
+
"useCreateOne",
|
|
77
78
|
"useCreateMany",
|
|
78
79
|
"useCustom",
|
|
79
80
|
"useCustomMutation",
|
|
80
|
-
"
|
|
81
|
+
"useDeleteOne",
|
|
81
82
|
"useDeleteMany",
|
|
82
83
|
"useFetchersContext",
|
|
83
84
|
"useForm",
|
|
@@ -111,7 +112,7 @@ const composables$1 = [
|
|
|
111
112
|
"useShow",
|
|
112
113
|
"useSubscribe",
|
|
113
114
|
"useTranslate",
|
|
114
|
-
"
|
|
115
|
+
"useUpdateOne",
|
|
115
116
|
"useUpdateMany"
|
|
116
117
|
];
|
|
117
118
|
const ImportListForGinjou = composables$1.map(
|
|
@@ -149,13 +150,13 @@ const module = defineNuxtModule({
|
|
|
149
150
|
const { resolve } = createResolver(import.meta.url);
|
|
150
151
|
nuxt.hook("vite:extend", ({ config }) => {
|
|
151
152
|
config.optimizeDeps ??= {};
|
|
152
|
-
config.optimizeDeps.
|
|
153
|
-
config.optimizeDeps.
|
|
153
|
+
config.optimizeDeps.include ??= [];
|
|
154
|
+
config.optimizeDeps.include.push(
|
|
154
155
|
"@ginjou/core",
|
|
155
156
|
"@ginjou/vue",
|
|
156
157
|
"@ginjou/with-vue-router",
|
|
157
158
|
"@ginjou/with-vue-i18n"
|
|
158
|
-
|
|
159
|
+
);
|
|
159
160
|
});
|
|
160
161
|
addImports(ImportListForTanstackQuery);
|
|
161
162
|
addImports(ImportListForGinjou);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ginjou/nuxt",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.1.0-beta.
|
|
4
|
+
"version": "0.1.0-beta.8",
|
|
5
5
|
"author": "zhong666 <hi@zhong666.me>",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://github.com/aa900031/ginjou#readme",
|
|
@@ -37,15 +37,15 @@
|
|
|
37
37
|
"access": "public"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@nuxt/kit": "^3.
|
|
41
|
-
"@ginjou/vue": "^0.1.0-beta.
|
|
42
|
-
"@ginjou/with-vue-router": "^0.1.0-beta.
|
|
40
|
+
"@nuxt/kit": "^3.19.3",
|
|
41
|
+
"@ginjou/vue": "^0.1.0-beta.12",
|
|
42
|
+
"@ginjou/with-vue-router": "^0.1.0-beta.4"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@nuxt/module-builder": "^1.0.
|
|
46
|
-
"@nuxt/schema": "^3.
|
|
47
|
-
"@nuxt/test-utils": "^3.
|
|
48
|
-
"nuxt": "^3.
|
|
45
|
+
"@nuxt/module-builder": "^1.0.2",
|
|
46
|
+
"@nuxt/schema": "^3.19.3",
|
|
47
|
+
"@nuxt/test-utils": "^3.20.1",
|
|
48
|
+
"nuxt": "^3.19.3"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
51
|
"build": "run-s build:prepare build:bundle",
|