abckit 0.0.42 → 0.0.45

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.
Files changed (2) hide show
  1. package/dist/module.mjs +7 -10
  2. package/package.json +3 -1
package/dist/module.mjs CHANGED
@@ -34,7 +34,7 @@ function getModuleDependencies(nuxt) {
34
34
  "@vueuse/nuxt": { optional: !isEnabled("vueuse") },
35
35
  "@pinia/nuxt": { optional: !isEnabled("pinia") },
36
36
  "@vee-validate/nuxt": { optional: !isEnabled("veeValidate") },
37
- "nitro-graphql/nuxt": { optional: !isEnabled("graphql", "graphql") },
37
+ // 'nitro-graphql/nuxt': { optional: !isEnabled('graphql', 'graphql') },
38
38
  "pinia-plugin-persistedstate/nuxt": { optional: !isEnabled("persistedState") },
39
39
  "@nuxtjs/ionic": { optional: !isEnabled("ionic") },
40
40
  "@nuxt/scripts": { optional: !isEnabled("scripts") },
@@ -168,7 +168,7 @@ function getLocalIP() {
168
168
  const localIP = isMobileDev ? getLocalIP() : null;
169
169
  const mobileBaseURL = isMobileDev ? `http://${localIP}:3000` : "https://e.sayfa.app";
170
170
 
171
- function setupRuntimeConfig(nuxt, options, isSentryEnabled) {
171
+ async function setupRuntimeConfig(nuxt, options, isSentryEnabled) {
172
172
  nuxt.options.runtimeConfig.public.abckit = {
173
173
  sentry: isSentryEnabled,
174
174
  auth: {
@@ -186,7 +186,7 @@ function setupRuntimeConfig(nuxt, options, isSentryEnabled) {
186
186
  debug: nuxt.options.dev,
187
187
  imgproxy: IMGPROXY_DEFAULTS
188
188
  });
189
- updateRuntimeConfig({
189
+ await updateRuntimeConfig({
190
190
  modules: defu(options.modules, {
191
191
  s3: false,
192
192
  graphql: false,
@@ -235,10 +235,7 @@ function setupNitro(nuxt, resolve, isGraphqlEnabled) {
235
235
  tasks: true,
236
236
  asyncContext: true
237
237
  });
238
- if (isGraphqlEnabled) {
239
- nuxt.options.nitro.modules = nuxt.options.nitro.modules || [];
240
- nuxt.options.nitro.modules.push("nitro-graphql");
241
- }
238
+ nuxt.options.nitro.builder = "rolldown";
242
239
  nuxt.options.ionic = defu(nuxt.options.ionic, {
243
240
  integrations: { icons: false },
244
241
  css: { basic: false, core: true, utilities: false }
@@ -357,14 +354,14 @@ const module$1 = defineNuxtModule({
357
354
  nuxt.options.abckit = defu(nuxt.options.abckit, options);
358
355
  const isEnabled = createModuleChecker(nuxt.options.abckit);
359
356
  const isSentryEnabled = isEnabled("sentry", "sentry");
360
- const isGraphqlEnabled = isEnabled("graphql", "graphql");
357
+ isEnabled("graphql", "graphql");
361
358
  setupDevtools(nuxt);
362
- setupRuntimeConfig(nuxt, options, isSentryEnabled);
359
+ await setupRuntimeConfig(nuxt, options, isSentryEnabled);
363
360
  setupAppHead(nuxt);
364
361
  setupTypes();
365
362
  setupHooks(nuxt, resolve);
366
363
  await setupCSS(nuxt, resolve);
367
- setupNitro(nuxt, resolve, isGraphqlEnabled);
364
+ setupNitro(nuxt, resolve);
368
365
  setupVite(nuxt);
369
366
  setupAliases(nuxt, resolve);
370
367
  setupTypeScript(nuxt);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "abckit",
3
3
  "type": "module",
4
- "version": "0.0.42",
4
+ "version": "0.0.45",
5
5
  "description": "Nuxt 4 module — UI components, auth, storage, GraphQL",
6
6
  "author": "productdevbook",
7
7
  "license": "MIT",
@@ -130,6 +130,7 @@
130
130
  "graphql-config": "^5.1.5",
131
131
  "graphql-scalars": "^1.25.0",
132
132
  "graphql-yoga": "^5.18.0",
133
+ "ioredis": "^5.9.1",
133
134
  "md-editor-v3": "^6.3.1",
134
135
  "nitro": "https://pkg.pr.new/nitrojs/nitro@99691fc",
135
136
  "nitro-graphql": "^2.0.0-beta.65",
@@ -162,6 +163,7 @@
162
163
  "@types/pg": "^8.16.0",
163
164
  "eslint": "^9.39.2",
164
165
  "nuxt": "https://pkg.pr.new/nuxt@33005",
166
+ "rolldown": "1.0.0-beta.60",
165
167
  "shadcn-vue": "^2.4.3",
166
168
  "typescript": "^5.9.3",
167
169
  "vue": "^3.5.26"