@pandacss/config 0.15.3 → 0.15.5

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/index.js CHANGED
@@ -299,7 +299,7 @@ function mergeConfigs(configs2) {
299
299
  // src/get-resolved-config.ts
300
300
  async function getResolvedConfig(config, cwd) {
301
301
  const presets = config.presets ?? [];
302
- const configs2 = [config];
302
+ const configs2 = [];
303
303
  while (presets.length > 0) {
304
304
  const preset = await presets.shift();
305
305
  if (typeof preset === "string") {
@@ -311,6 +311,7 @@ async function getResolvedConfig(config, cwd) {
311
311
  presets.unshift(...preset.presets ?? []);
312
312
  }
313
313
  }
314
+ configs2.unshift(config);
314
315
  return mergeConfigs(configs2);
315
316
  }
316
317
 
package/dist/index.mjs CHANGED
@@ -154,7 +154,7 @@ async function bundle(filepath, cwd) {
154
154
  // src/get-resolved-config.ts
155
155
  async function getResolvedConfig(config, cwd) {
156
156
  const presets = config.presets ?? [];
157
- const configs2 = [config];
157
+ const configs2 = [];
158
158
  while (presets.length > 0) {
159
159
  const preset = await presets.shift();
160
160
  if (typeof preset === "string") {
@@ -166,6 +166,7 @@ async function getResolvedConfig(config, cwd) {
166
166
  presets.unshift(...preset.presets ?? []);
167
167
  }
168
168
  }
169
+ configs2.unshift(config);
169
170
  return mergeConfigs(configs2);
170
171
  }
171
172
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/config",
3
- "version": "0.15.3",
3
+ "version": "0.15.5",
4
4
  "description": "Find and load panda config",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -37,11 +37,11 @@
37
37
  "jiti": "^1.19.1",
38
38
  "merge-anything": "^5.1.7",
39
39
  "typescript": "^5.2.2",
40
- "@pandacss/error": "0.15.3",
41
- "@pandacss/logger": "0.15.3",
42
- "@pandacss/preset-base": "0.15.3",
43
- "@pandacss/preset-panda": "0.15.3",
44
- "@pandacss/types": "0.15.3"
40
+ "@pandacss/error": "0.15.5",
41
+ "@pandacss/logger": "0.15.5",
42
+ "@pandacss/preset-base": "0.15.5",
43
+ "@pandacss/preset-panda": "0.15.5",
44
+ "@pandacss/types": "0.15.5"
45
45
  },
46
46
  "devDependencies": {
47
47
  "pkg-types": "1.0.3"