@ginjou/nuxt 0.1.0-beta.5 → 0.1.0-beta.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/dist/module.cjs +6 -6
- package/dist/module.json +3 -3
- package/dist/module.mjs +6 -6
- package/package.json +8 -8
package/dist/module.cjs
CHANGED
|
@@ -76,11 +76,11 @@ const composables$1 = [
|
|
|
76
76
|
"useAuthenticated",
|
|
77
77
|
"useBack",
|
|
78
78
|
"useCheckError",
|
|
79
|
-
"
|
|
79
|
+
"useCreateOne",
|
|
80
80
|
"useCreateMany",
|
|
81
81
|
"useCustom",
|
|
82
82
|
"useCustomMutation",
|
|
83
|
-
"
|
|
83
|
+
"useDeleteOne",
|
|
84
84
|
"useDeleteMany",
|
|
85
85
|
"useFetchersContext",
|
|
86
86
|
"useForm",
|
|
@@ -114,7 +114,7 @@ const composables$1 = [
|
|
|
114
114
|
"useShow",
|
|
115
115
|
"useSubscribe",
|
|
116
116
|
"useTranslate",
|
|
117
|
-
"
|
|
117
|
+
"useUpdateOne",
|
|
118
118
|
"useUpdateMany"
|
|
119
119
|
];
|
|
120
120
|
const ImportListForGinjou = composables$1.map(
|
|
@@ -152,13 +152,13 @@ const module$1 = kit.defineNuxtModule({
|
|
|
152
152
|
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
153
|
nuxt.hook("vite:extend", ({ config }) => {
|
|
154
154
|
config.optimizeDeps ??= {};
|
|
155
|
-
config.optimizeDeps.
|
|
156
|
-
config.optimizeDeps.
|
|
155
|
+
config.optimizeDeps.include ??= [];
|
|
156
|
+
config.optimizeDeps.include.push(
|
|
157
157
|
"@ginjou/core",
|
|
158
158
|
"@ginjou/vue",
|
|
159
159
|
"@ginjou/with-vue-router",
|
|
160
160
|
"@ginjou/with-vue-i18n"
|
|
161
|
-
|
|
161
|
+
);
|
|
162
162
|
});
|
|
163
163
|
kit.addImports(ImportListForTanstackQuery);
|
|
164
164
|
kit.addImports(ImportListForGinjou);
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -73,11 +73,11 @@ const composables$1 = [
|
|
|
73
73
|
"useAuthenticated",
|
|
74
74
|
"useBack",
|
|
75
75
|
"useCheckError",
|
|
76
|
-
"
|
|
76
|
+
"useCreateOne",
|
|
77
77
|
"useCreateMany",
|
|
78
78
|
"useCustom",
|
|
79
79
|
"useCustomMutation",
|
|
80
|
-
"
|
|
80
|
+
"useDeleteOne",
|
|
81
81
|
"useDeleteMany",
|
|
82
82
|
"useFetchersContext",
|
|
83
83
|
"useForm",
|
|
@@ -111,7 +111,7 @@ const composables$1 = [
|
|
|
111
111
|
"useShow",
|
|
112
112
|
"useSubscribe",
|
|
113
113
|
"useTranslate",
|
|
114
|
-
"
|
|
114
|
+
"useUpdateOne",
|
|
115
115
|
"useUpdateMany"
|
|
116
116
|
];
|
|
117
117
|
const ImportListForGinjou = composables$1.map(
|
|
@@ -149,13 +149,13 @@ const module = defineNuxtModule({
|
|
|
149
149
|
const { resolve } = createResolver(import.meta.url);
|
|
150
150
|
nuxt.hook("vite:extend", ({ config }) => {
|
|
151
151
|
config.optimizeDeps ??= {};
|
|
152
|
-
config.optimizeDeps.
|
|
153
|
-
config.optimizeDeps.
|
|
152
|
+
config.optimizeDeps.include ??= [];
|
|
153
|
+
config.optimizeDeps.include.push(
|
|
154
154
|
"@ginjou/core",
|
|
155
155
|
"@ginjou/vue",
|
|
156
156
|
"@ginjou/with-vue-router",
|
|
157
157
|
"@ginjou/with-vue-i18n"
|
|
158
|
-
|
|
158
|
+
);
|
|
159
159
|
});
|
|
160
160
|
addImports(ImportListForTanstackQuery);
|
|
161
161
|
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.7",
|
|
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/
|
|
40
|
+
"@nuxt/kit": "^3.19.3",
|
|
41
|
+
"@ginjou/with-vue-router": "^0.1.0-beta.4",
|
|
42
|
+
"@ginjou/vue": "^0.1.0-beta.11"
|
|
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",
|