abckit 0.0.49 → 0.0.50

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 +8 -1
  2. package/package.json +1 -1
package/dist/module.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { addTypeTemplate, addServerScanDir, addRouteMiddleware, defineNuxtModule, createResolver } from '@nuxt/kit';
1
+ import { updateRuntimeConfig, addTypeTemplate, addServerScanDir, addRouteMiddleware, defineNuxtModule, createResolver } from '@nuxt/kit';
2
2
  import { defu } from 'defu';
3
3
  import { join } from 'node:path';
4
4
  import { networkInterfaces } from 'node:os';
@@ -181,6 +181,13 @@ async function setupRuntimeConfig(nuxt, options, isSentryEnabled) {
181
181
  redis: options.modules?.redis ?? false,
182
182
  disk: options.modules?.disk ?? false
183
183
  });
184
+ await updateRuntimeConfig({
185
+ modules: {
186
+ s3: options.modules?.s3 ?? false,
187
+ redis: options.modules?.redis ?? false,
188
+ disk: options.modules?.disk ?? false
189
+ }
190
+ });
184
191
  nuxt.options.runtimeConfig.public = defu(nuxt.options.runtimeConfig.public, {
185
192
  siteUrl: isMobileBuild ? mobileBaseURL : "http://localhost:3000",
186
193
  isMobile: isMobileBuild,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "abckit",
3
3
  "type": "module",
4
- "version": "0.0.49",
4
+ "version": "0.0.50",
5
5
  "description": "Nuxt 4 module — UI components, auth, storage, GraphQL",
6
6
  "author": "productdevbook",
7
7
  "license": "MIT",