@pandacss/config 0.0.0-dev-20240123232500 → 0.0.0-dev-20240124004338

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.
@@ -1,15 +1,11 @@
1
- import { ArtifactId, Config } from '@pandacss/types';
2
- import { Difference } from 'microdiff';
1
+ import { Config, DiffConfigResult } from '@pandacss/types';
2
+ export { DiffConfigResult } from '@pandacss/types';
3
3
 
4
- interface DiffConfigResult {
5
- hasConfigChanged: boolean;
6
- artifacts: Set<ArtifactId>;
7
- diffs: Difference[];
8
- }
9
4
  type ConfigOrFn = Config | (() => Config);
5
+
10
6
  /**
11
7
  * Diff the two config objects and return the list of affected properties
12
8
  */
13
9
  declare function diffConfigs(config: ConfigOrFn, prevConfig: Config | undefined): DiffConfigResult;
14
10
 
15
- export { type DiffConfigResult, diffConfigs };
11
+ export { diffConfigs };
@@ -1,15 +1,11 @@
1
- import { ArtifactId, Config } from '@pandacss/types';
2
- import { Difference } from 'microdiff';
1
+ import { Config, DiffConfigResult } from '@pandacss/types';
2
+ export { DiffConfigResult } from '@pandacss/types';
3
3
 
4
- interface DiffConfigResult {
5
- hasConfigChanged: boolean;
6
- artifacts: Set<ArtifactId>;
7
- diffs: Difference[];
8
- }
9
4
  type ConfigOrFn = Config | (() => Config);
5
+
10
6
  /**
11
7
  * Diff the two config objects and return the list of affected properties
12
8
  */
13
9
  declare function diffConfigs(config: ConfigOrFn, prevConfig: Config | undefined): DiffConfigResult;
14
10
 
15
- export { type DiffConfigResult, diffConfigs };
11
+ export { diffConfigs };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  diffConfigs
3
- } from "./chunk-DQCK3AP6.mjs";
3
+ } from "./chunk-TP2SOWHU.mjs";
4
4
  export {
5
5
  diffConfigs
6
6
  };
package/dist/index.d.mts CHANGED
@@ -1,11 +1,11 @@
1
1
  import * as _pandacss_types from '@pandacss/types';
2
2
  import { Config, ConfigTsOptions } from '@pandacss/types';
3
- export { DiffConfigResult, diffConfigs } from './diff-config.mjs';
3
+ export { DiffConfigResult } from '@pandacss/types';
4
+ export { diffConfigs } from './diff-config.mjs';
4
5
  import { P as PathMapping } from './ts-config-paths-2lh9mwzL.mjs';
5
6
  export { c as convertTsPathsToRegexes } from './ts-config-paths-2lh9mwzL.mjs';
6
7
  import { TSConfig } from 'pkg-types';
7
8
  export { mergeConfigs } from './merge-config.mjs';
8
- import 'microdiff';
9
9
 
10
10
  interface ConfigFileOptions {
11
11
  cwd: string;
package/dist/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  import * as _pandacss_types from '@pandacss/types';
2
2
  import { Config, ConfigTsOptions } from '@pandacss/types';
3
- export { DiffConfigResult, diffConfigs } from './diff-config.js';
3
+ export { DiffConfigResult } from '@pandacss/types';
4
+ export { diffConfigs } from './diff-config.js';
4
5
  import { P as PathMapping } from './ts-config-paths-2lh9mwzL.js';
5
6
  export { c as convertTsPathsToRegexes } from './ts-config-paths-2lh9mwzL.js';
6
7
  import { TSConfig } from 'pkg-types';
7
8
  export { mergeConfigs } from './merge-config.js';
8
- import 'microdiff';
9
9
 
10
10
  interface ConfigFileOptions {
11
11
  cwd: string;
package/dist/index.mjs CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-PROY5XLZ.mjs";
4
4
  import {
5
5
  diffConfigs
6
- } from "./chunk-DQCK3AP6.mjs";
6
+ } from "./chunk-TP2SOWHU.mjs";
7
7
  import {
8
8
  resolveTsPathPattern
9
9
  } from "./chunk-RPIVZP2I.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/config",
3
- "version": "0.0.0-dev-20240123232500",
3
+ "version": "0.0.0-dev-20240124004338",
4
4
  "description": "Find and load panda config",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -64,12 +64,12 @@
64
64
  "merge-anything": "^5.1.7",
65
65
  "microdiff": "^1.3.2",
66
66
  "typescript": "^5.3.3",
67
- "@pandacss/error": "0.0.0-dev-20240123232500",
68
- "@pandacss/logger": "0.0.0-dev-20240123232500",
69
- "@pandacss/preset-base": "0.0.0-dev-20240123232500",
70
- "@pandacss/preset-panda": "0.0.0-dev-20240123232500",
71
- "@pandacss/shared": "0.0.0-dev-20240123232500",
72
- "@pandacss/types": "0.0.0-dev-20240123232500"
67
+ "@pandacss/error": "0.0.0-dev-20240124004338",
68
+ "@pandacss/logger": "0.0.0-dev-20240124004338",
69
+ "@pandacss/preset-base": "0.0.0-dev-20240124004338",
70
+ "@pandacss/preset-panda": "0.0.0-dev-20240124004338",
71
+ "@pandacss/shared": "0.0.0-dev-20240124004338",
72
+ "@pandacss/types": "0.0.0-dev-20240124004338"
73
73
  },
74
74
  "devDependencies": {
75
75
  "pkg-types": "1.0.3"
File without changes