@udixio/theme 0.5.2 → 0.5.3

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
@@ -1,3 +1,13 @@
1
+ ## 0.5.2 (2025-07-25)
2
+
3
+ ### 🩹 Fixes
4
+
5
+ - **theme:** switch to dynamic ES module imports in config service ([d2ce0fd](https://github.com/Udixio/UI/commit/d2ce0fd))
6
+
7
+ ### ❤️ Thank You
8
+
9
+ - Joël VIGREUX
10
+
1
11
  ## 0.5.1 (2025-07-25)
2
12
 
3
13
  ### 🩹 Fixes
package/index.cjs CHANGED
@@ -2759,7 +2759,7 @@ class ConfigService {
2759
2759
  const path = (await import("path")).default;
2760
2760
  const fs = (await import("fs")).default;
2761
2761
  const base = path.resolve(this.configPath);
2762
- const extensions = [".js", ".ts", ".jms", ".jcs"];
2762
+ const extensions = [".js", ".ts", ".mjs", ".jcs"];
2763
2763
  let configImport = null;
2764
2764
  for (const ext of extensions) {
2765
2765
  const path2 = base + ext;
package/index.js CHANGED
@@ -2735,7 +2735,7 @@ class ConfigService {
2735
2735
  const path = (await import("path")).default;
2736
2736
  const fs = (await import("fs")).default;
2737
2737
  const base = path.resolve(this.configPath);
2738
- const extensions = [".js", ".ts", ".jms", ".jcs"];
2738
+ const extensions = [".js", ".ts", ".mjs", ".jcs"];
2739
2739
  let configImport = null;
2740
2740
  for (const ext of extensions) {
2741
2741
  const path2 = base + ext;
package/package.json CHANGED
@@ -1,13 +1,14 @@
1
1
  {
2
2
  "name": "@udixio/theme",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "type": "module",
5
- "main": "src/index.ts",
5
+ "main": "./src/index.ts",
6
6
  "types": "./src/index.d.ts",
7
7
  "exports": {
8
8
  ".": {
9
9
  "import": "./index.js",
10
- "require": "./index.cjs"
10
+ "require": "./index.cjs",
11
+ "types": "./src/index.ts"
11
12
  }
12
13
  },
13
14
  "dependencies": {