@gluhar/app 2.4.1 → 2.4.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/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.4.2](https://github.com/gluharry/gluhar/compare/@gluhar/app@2.4.1...@gluhar/app@2.4.2) (2025-01-24)
7
+
8
+
9
+ ### 🩹 Fixes
10
+
11
+ - Initial nuxt config ([2cd4891](https://github.com/gluharry/gluhar/commit/2cd4891de3f218a39e8eb87217022c0dad56d5ee))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [2.4.1](https://github.com/gluharry/gluhar/compare/@gluhar/app@2.4.0...@gluhar/app@2.4.1) (2025-01-24)
7
18
 
8
19
 
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gluhar/app",
3
3
  "configKey": "gluhar",
4
- "version": "2.4.1",
4
+ "version": "2.4.2",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "0.8.3",
7
7
  "unbuild": "2.0.0"
package/dist/module.mjs CHANGED
@@ -1,60 +1,5 @@
1
1
  import { defineNuxtModule, createResolver, installModule, addImportsDir } from '@nuxt/kit';
2
-
3
- function isPlainObject(value) {
4
- if (value === null || typeof value !== "object") {
5
- return false;
6
- }
7
- const prototype = Object.getPrototypeOf(value);
8
- if (prototype !== null && prototype !== Object.prototype && Object.getPrototypeOf(prototype) !== null) {
9
- return false;
10
- }
11
- if (Symbol.iterator in value) {
12
- return false;
13
- }
14
- if (Symbol.toStringTag in value) {
15
- return Object.prototype.toString.call(value) === "[object Module]";
16
- }
17
- return true;
18
- }
19
-
20
- function _defu(baseObject, defaults, namespace = ".", merger) {
21
- if (!isPlainObject(defaults)) {
22
- return _defu(baseObject, {}, namespace, merger);
23
- }
24
- const object = Object.assign({}, defaults);
25
- for (const key in baseObject) {
26
- if (key === "__proto__" || key === "constructor") {
27
- continue;
28
- }
29
- const value = baseObject[key];
30
- if (value === null || value === void 0) {
31
- continue;
32
- }
33
- if (merger && merger(object, key, value, namespace)) {
34
- continue;
35
- }
36
- if (Array.isArray(value) && Array.isArray(object[key])) {
37
- object[key] = [...value, ...object[key]];
38
- } else if (isPlainObject(value) && isPlainObject(object[key])) {
39
- object[key] = _defu(
40
- value,
41
- object[key],
42
- (namespace ? `${namespace}.` : "") + key.toString(),
43
- merger
44
- );
45
- } else {
46
- object[key] = value;
47
- }
48
- }
49
- return object;
50
- }
51
- function createDefu(merger) {
52
- return (...arguments_) => (
53
- // eslint-disable-next-line unicorn/no-array-reduce
54
- arguments_.reduce((p, c) => _defu(p, c, "", merger), {})
55
- );
56
- }
57
- const defu = createDefu();
2
+ import defu from 'defu';
58
3
 
59
4
  const module = defineNuxtModule({
60
5
  meta: {
@@ -95,6 +40,7 @@ const module = defineNuxtModule({
95
40
  nuxt.options.experimental = defu(nuxt.options.experimental, {
96
41
  watcher: "parcel"
97
42
  });
43
+ console.log("nuxt.options.experimental", nuxt.options.experimental);
98
44
  }
99
45
  });
100
46
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gluhar/app",
3
- "version": "2.4.1",
3
+ "version": "2.4.2",
4
4
  "description": "Gluhar main package. This combines and configures @gluhar/theme, @gluhar/i18n, @gluhar/sanity and @gluhar/core into one main package. Provides numerous components, composables, utils and types.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -43,6 +43,7 @@
43
43
  "@gluhar/theme": "^2.0.2",
44
44
  "@nuxt/kit": "^3.13.1",
45
45
  "@pinia/nuxt": "^0.5.4",
46
+ "defu": "^6.1.4",
46
47
  "pinia": "^2.2.2"
47
48
  },
48
49
  "devDependencies": {
@@ -57,5 +58,5 @@
57
58
  "nuxt": "^3.13.1",
58
59
  "vitest": "^2.0.5"
59
60
  },
60
- "gitHead": "e7b8e7cef2cfcdbff1dcc1ce40c7ed3681406ab7"
61
+ "gitHead": "daa04dac649ed8f522066f0718382b2a7f680510"
61
62
  }