@sfxcode/nuxt-mongocamp-server 1.0.3 → 1.0.4

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.
@@ -0,0 +1,5 @@
1
+ module.exports = function(...args) {
2
+ return import('./module.mjs').then(m => m.default.call(this, ...args))
3
+ }
4
+ const _meta = module.exports.meta = require('./module.json')
5
+ module.exports.getMeta = () => Promise.resolve(_meta)
@@ -0,0 +1,2 @@
1
+ export * from "/Users/tom/projects/mongocamp/mongocamp-nuxt/src/module";
2
+ export { default } from "/Users/tom/projects/mongocamp/mongocamp-nuxt/src/module";
@@ -0,0 +1,8 @@
1
+ {
2
+ "name": "@sfxcode/nuxt-mongocamp-server",
3
+ "version": "1.0.4",
4
+ "configKey": "mongocamp",
5
+ "compatibility": {
6
+ "nuxt": "^3.0.0"
7
+ }
8
+ }
@@ -0,0 +1,6 @@
1
+ import jiti from "file:///Users/tom/projects/mongocamp/mongocamp-nuxt/node_modules/.pnpm/jiti@1.19.1/node_modules/jiti/lib/index.js";
2
+
3
+ /** @type {import("/Users/tom/projects/mongocamp/mongocamp-nuxt/src/module")} */
4
+ const _module = jiti(null, { interopDefault: true, esmResolve: true })("/Users/tom/projects/mongocamp/mongocamp-nuxt/src/module.ts");
5
+
6
+ export default _module;
@@ -0,0 +1,21 @@
1
+
2
+ import { ModuleOptions, ModuleHooks, ModuleRuntimeConfig, ModulePublicRuntimeConfig } from './module'
3
+
4
+ declare module '@nuxt/schema' {
5
+ interface NuxtConfig { ['mongocamp']?: Partial<ModuleOptions> }
6
+ interface NuxtOptions { ['mongocamp']?: ModuleOptions }
7
+ interface NuxtHooks extends ModuleHooks {}
8
+ interface RuntimeConfig extends ModuleRuntimeConfig {}
9
+ interface PublicRuntimeConfig extends ModulePublicRuntimeConfig {}
10
+ }
11
+
12
+ declare module 'nuxt/schema' {
13
+ interface NuxtConfig { ['mongocamp']?: Partial<ModuleOptions> }
14
+ interface NuxtOptions { ['mongocamp']?: ModuleOptions }
15
+ interface NuxtHooks extends ModuleHooks {}
16
+ interface RuntimeConfig extends ModuleRuntimeConfig {}
17
+ interface PublicRuntimeConfig extends ModulePublicRuntimeConfig {}
18
+ }
19
+
20
+
21
+ export { default } from './module'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sfxcode/nuxt-mongocamp-server",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -9,10 +9,10 @@
9
9
  "require": "./dist/module.cjs"
10
10
  }
11
11
  },
12
- "main": "dist2/module.cjs",
12
+ "main": "dist/module.cjs",
13
13
  "types": "./dist/types.d.ts",
14
14
  "files": [
15
- "dist2"
15
+ "dist"
16
16
  ],
17
17
  "build": {
18
18
  "failOnWarn": false