@pandacss/config 0.0.0-dev-20240208125603 → 0.0.0-dev-20240209014930

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.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _pandacss_types from '@pandacss/types';
2
- import { Config, ConfigTsOptions } from '@pandacss/types';
2
+ import { Config, ConfigTsOptions, LoadConfigResult } from '@pandacss/types';
3
3
  export { diffConfigs } from './diff-config.mjs';
4
4
  import { P as PathMapping } from './ts-config-paths-2lh9mwzL.mjs';
5
5
  export { c as convertTsPathsToRegexes } from './ts-config-paths-2lh9mwzL.mjs';
@@ -49,4 +49,11 @@ declare function getResolvedConfig(config: ExtendableConfig, cwd: string): Promi
49
49
  */
50
50
  declare function loadConfig(options: ConfigFileOptions): Promise<_pandacss_types.LoadConfigResult>;
51
51
 
52
- export { type BundleConfigResult, type GetDepsOptions, bundleConfig, findConfig, getConfigDependencies, getResolvedConfig, loadConfig };
52
+ /**
53
+ * Resolve the final config (including presets)
54
+ * @pandacss/preset-base: ALWAYS included if NOT using eject: true
55
+ * @pandacss/preset-panda: only included by default if no presets
56
+ */
57
+ declare function resolveConfig(result: BundleConfigResult, cwd: string): Promise<LoadConfigResult>;
58
+
59
+ export { type BundleConfigResult, type GetDepsOptions, bundleConfig, findConfig, getConfigDependencies, getResolvedConfig, loadConfig, resolveConfig };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _pandacss_types from '@pandacss/types';
2
- import { Config, ConfigTsOptions } from '@pandacss/types';
2
+ import { Config, ConfigTsOptions, LoadConfigResult } from '@pandacss/types';
3
3
  export { diffConfigs } from './diff-config.js';
4
4
  import { P as PathMapping } from './ts-config-paths-2lh9mwzL.js';
5
5
  export { c as convertTsPathsToRegexes } from './ts-config-paths-2lh9mwzL.js';
@@ -49,4 +49,11 @@ declare function getResolvedConfig(config: ExtendableConfig, cwd: string): Promi
49
49
  */
50
50
  declare function loadConfig(options: ConfigFileOptions): Promise<_pandacss_types.LoadConfigResult>;
51
51
 
52
- export { type BundleConfigResult, type GetDepsOptions, bundleConfig, findConfig, getConfigDependencies, getResolvedConfig, loadConfig };
52
+ /**
53
+ * Resolve the final config (including presets)
54
+ * @pandacss/preset-base: ALWAYS included if NOT using eject: true
55
+ * @pandacss/preset-panda: only included by default if no presets
56
+ */
57
+ declare function resolveConfig(result: BundleConfigResult, cwd: string): Promise<LoadConfigResult>;
58
+
59
+ export { type BundleConfigResult, type GetDepsOptions, bundleConfig, findConfig, getConfigDependencies, getResolvedConfig, loadConfig, resolveConfig };
package/dist/index.js CHANGED
@@ -37,7 +37,8 @@ __export(src_exports, {
37
37
  getConfigDependencies: () => getConfigDependencies,
38
38
  getResolvedConfig: () => getResolvedConfig,
39
39
  loadConfig: () => loadConfig,
40
- mergeConfigs: () => mergeConfigs
40
+ mergeConfigs: () => mergeConfigs,
41
+ resolveConfig: () => resolveConfig
41
42
  });
42
43
  module.exports = __toCommonJS(src_exports);
43
44
 
@@ -778,5 +779,6 @@ async function loadConfig(options) {
778
779
  getConfigDependencies,
779
780
  getResolvedConfig,
780
781
  loadConfig,
781
- mergeConfigs
782
+ mergeConfigs,
783
+ resolveConfig
782
784
  });
package/dist/index.mjs CHANGED
@@ -496,5 +496,6 @@ export {
496
496
  getConfigDependencies,
497
497
  getResolvedConfig,
498
498
  loadConfig,
499
- mergeConfigs
499
+ mergeConfigs,
500
+ resolveConfig
500
501
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/config",
3
- "version": "0.0.0-dev-20240208125603",
3
+ "version": "0.0.0-dev-20240209014930",
4
4
  "description": "Find and load panda config",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -64,11 +64,11 @@
64
64
  "merge-anything": "5.1.7",
65
65
  "microdiff": "1.3.2",
66
66
  "typescript": "5.3.3",
67
- "@pandacss/logger": "0.0.0-dev-20240208125603",
68
- "@pandacss/preset-base": "0.0.0-dev-20240208125603",
69
- "@pandacss/preset-panda": "0.0.0-dev-20240208125603",
70
- "@pandacss/shared": "0.0.0-dev-20240208125603",
71
- "@pandacss/types": "0.0.0-dev-20240208125603"
67
+ "@pandacss/logger": "0.0.0-dev-20240209014930",
68
+ "@pandacss/preset-base": "0.0.0-dev-20240209014930",
69
+ "@pandacss/preset-panda": "0.0.0-dev-20240209014930",
70
+ "@pandacss/shared": "0.0.0-dev-20240209014930",
71
+ "@pandacss/types": "0.0.0-dev-20240209014930"
72
72
  },
73
73
  "devDependencies": {
74
74
  "pkg-types": "1.0.3"