@attributech/nuxt-drupal-utils 0.3.1 → 0.3.2

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.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as _nuxt_schema from '@nuxt/schema';
2
2
  import { ModuleOptions } from 'nuxt/schema';
3
- export { getApiUrl, getAppUrl, getLagoonDevelopmentDomain, getServerUrl } from '../dist/runtime/utils/index.js';
3
+ export { getApiUrl, getAppUrl, getLagoonDevelopmentDomain, getServerUrl } from '../dist/runtime/exports.js';
4
4
 
5
5
  declare const _default: _nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
6
6
 
package/dist/module.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.0.0 || ^4.0.0"
6
6
  },
7
- "version": "0.3.1",
7
+ "version": "0.3.2",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "1.0.2",
10
10
  "unbuild": "unknown"
package/dist/module.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineNuxtModule, createResolver, addImportsDir } from '@nuxt/kit';
2
- export { getApiUrl, getAppUrl, getLagoonDevelopmentDomain, getServerUrl } from '../dist/runtime/utils/index.js';
2
+ export { getApiUrl, getAppUrl, getLagoonDevelopmentDomain, getServerUrl } from '../dist/runtime/exports.js';
3
3
 
4
4
  const module$1 = defineNuxtModule({
5
5
  meta: {
@@ -0,0 +1,4 @@
1
+ export { getApiUrl } from './utils/getApiUrl.js';
2
+ export { getAppUrl } from './utils/getAppUrl.js';
3
+ export { getServerUrl } from './utils/getServerUrl.js';
4
+ export { getLagoonDevelopmentDomain } from './utils/getLagoonDevelopmentDomain.js';
@@ -0,0 +1,4 @@
1
+ export { getApiUrl } from "./utils/getApiUrl.js";
2
+ export { getAppUrl } from "./utils/getAppUrl.js";
3
+ export { getServerUrl } from "./utils/getServerUrl.js";
4
+ export { getLagoonDevelopmentDomain } from "./utils/getLagoonDevelopmentDomain.js";
package/dist/types.d.mts CHANGED
@@ -4,6 +4,6 @@ import type { default as Module } from './module.mjs'
4
4
 
5
5
  export type ModuleOptions = typeof Module extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
6
6
 
7
- export { type getApiUrl, type getAppUrl, type getLagoonDevelopmentDomain, type getServerUrl } from '../dist/runtime/utils/index.js'
7
+ export { type getApiUrl, type getAppUrl, type getLagoonDevelopmentDomain, type getServerUrl } from '../dist/runtime/exports.js'
8
8
 
9
9
  export { default } from './module.mjs'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@attributech/nuxt-drupal-utils",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "Shared utilities for Nuxt projects with Drupal backend",
5
5
  "type": "module",
6
6
  "exports": {
@@ -11,6 +11,19 @@
11
11
  "files": [
12
12
  "dist"
13
13
  ],
14
+ "scripts": {
15
+ "build": "nuxt-module-build build",
16
+ "prepack": "nuxt-module-build build",
17
+ "dev": "nuxi dev playground",
18
+ "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
19
+ "lint": "eslint .",
20
+ "lint:fix": "eslint . --fix",
21
+ "test": "vitest run",
22
+ "test:watch": "vitest",
23
+ "test:coverage": "vitest run --coverage",
24
+ "test:ui": "vitest --ui",
25
+ "release": "release-it"
26
+ },
14
27
  "keywords": [
15
28
  "nuxt",
16
29
  "drupal",
@@ -50,17 +63,5 @@
50
63
  "github": {
51
64
  "release": true
52
65
  }
53
- },
54
- "scripts": {
55
- "build": "nuxt-module-build build",
56
- "dev": "nuxi dev playground",
57
- "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
58
- "lint": "eslint .",
59
- "lint:fix": "eslint . --fix",
60
- "test": "vitest run",
61
- "test:watch": "vitest",
62
- "test:coverage": "vitest run --coverage",
63
- "test:ui": "vitest --ui",
64
- "release": "release-it"
65
66
  }
66
- }
67
+ }
@@ -1,4 +0,0 @@
1
- export { getApiUrl } from './getApiUrl.js';
2
- export { getAppUrl } from './getAppUrl.js';
3
- export { getServerUrl } from './getServerUrl.js';
4
- export { getLagoonDevelopmentDomain } from './getLagoonDevelopmentDomain.js';
@@ -1,4 +0,0 @@
1
- export { getApiUrl } from "./getApiUrl.js";
2
- export { getAppUrl } from "./getAppUrl.js";
3
- export { getServerUrl } from "./getServerUrl.js";
4
- export { getLagoonDevelopmentDomain } from "./getLagoonDevelopmentDomain.js";