@pandacss/config 0.16.0 → 0.17.1
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
|
-
import { P as PathMapping } from './ts-config-paths-
|
|
2
|
-
export { c as convertTsPathsToRegexes } from './ts-config-paths-
|
|
1
|
+
import { P as PathMapping } from './ts-config-paths-3f58b449.js';
|
|
2
|
+
export { c as convertTsPathsToRegexes } from './ts-config-paths-3f58b449.js';
|
|
3
3
|
import * as _pandacss_types from '@pandacss/types';
|
|
4
4
|
import { ConfigTsOptions, Config, LoadConfigResult } from '@pandacss/types';
|
|
5
5
|
import { TSConfig } from 'pkg-types';
|
|
@@ -10,7 +10,7 @@ declare function findConfigFile({ cwd, file }: {
|
|
|
10
10
|
file?: string;
|
|
11
11
|
}): string | void;
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
interface GetDepsOptions {
|
|
14
14
|
filename: string;
|
|
15
15
|
ext: string;
|
|
16
16
|
cwd: string;
|
|
@@ -19,7 +19,7 @@ type GetDepsOptions = {
|
|
|
19
19
|
pathMappings: PathMapping[];
|
|
20
20
|
foundModuleAliases: Map<string, string>;
|
|
21
21
|
compilerOptions?: TSConfig['compilerOptions'];
|
|
22
|
-
}
|
|
22
|
+
}
|
|
23
23
|
declare function getConfigDependencies(filePath: string, tsOptions?: ConfigTsOptions, compilerOptions?: TSConfig['compilerOptions']): {
|
|
24
24
|
deps: Set<string>;
|
|
25
25
|
aliases: Map<string, string>;
|
|
@@ -34,10 +34,10 @@ type ExtendableConfig = Extendable<Config>;
|
|
|
34
34
|
*/
|
|
35
35
|
declare function getResolvedConfig(config: ExtendableConfig, cwd: string): Promise<Config>;
|
|
36
36
|
|
|
37
|
-
|
|
37
|
+
interface ConfigFileOptions {
|
|
38
38
|
cwd: string;
|
|
39
39
|
file?: string;
|
|
40
|
-
}
|
|
40
|
+
}
|
|
41
41
|
declare function loadConfigFile(options: ConfigFileOptions): Promise<LoadConfigResult>;
|
|
42
42
|
declare function resolveConfigFile(result: Awaited<ReturnType<typeof bundleConfigFile>>, cwd: string): Promise<LoadConfigResult>;
|
|
43
43
|
declare function bundleConfigFile(options: ConfigFileOptions): Promise<{
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as PathMapping } from './ts-config-paths-
|
|
2
|
-
export { c as convertTsPathsToRegexes } from './ts-config-paths-
|
|
1
|
+
import { P as PathMapping } from './ts-config-paths-3f58b449.js';
|
|
2
|
+
export { c as convertTsPathsToRegexes } from './ts-config-paths-3f58b449.js';
|
|
3
3
|
import * as _pandacss_types from '@pandacss/types';
|
|
4
4
|
import { ConfigTsOptions, Config, LoadConfigResult } from '@pandacss/types';
|
|
5
5
|
import { TSConfig } from 'pkg-types';
|
|
@@ -10,7 +10,7 @@ declare function findConfigFile({ cwd, file }: {
|
|
|
10
10
|
file?: string;
|
|
11
11
|
}): string | void;
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
interface GetDepsOptions {
|
|
14
14
|
filename: string;
|
|
15
15
|
ext: string;
|
|
16
16
|
cwd: string;
|
|
@@ -19,7 +19,7 @@ type GetDepsOptions = {
|
|
|
19
19
|
pathMappings: PathMapping[];
|
|
20
20
|
foundModuleAliases: Map<string, string>;
|
|
21
21
|
compilerOptions?: TSConfig['compilerOptions'];
|
|
22
|
-
}
|
|
22
|
+
}
|
|
23
23
|
declare function getConfigDependencies(filePath: string, tsOptions?: ConfigTsOptions, compilerOptions?: TSConfig['compilerOptions']): {
|
|
24
24
|
deps: Set<string>;
|
|
25
25
|
aliases: Map<string, string>;
|
|
@@ -34,10 +34,10 @@ type ExtendableConfig = Extendable<Config>;
|
|
|
34
34
|
*/
|
|
35
35
|
declare function getResolvedConfig(config: ExtendableConfig, cwd: string): Promise<Config>;
|
|
36
36
|
|
|
37
|
-
|
|
37
|
+
interface ConfigFileOptions {
|
|
38
38
|
cwd: string;
|
|
39
39
|
file?: string;
|
|
40
|
-
}
|
|
40
|
+
}
|
|
41
41
|
declare function loadConfigFile(options: ConfigFileOptions): Promise<LoadConfigResult>;
|
|
42
42
|
declare function resolveConfigFile(result: Awaited<ReturnType<typeof bundleConfigFile>>, cwd: string): Promise<LoadConfigResult>;
|
|
43
43
|
declare function bundleConfigFile(options: ConfigFileOptions): Promise<{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PathMapping } from './ts-config-paths-
|
|
1
|
+
import { P as PathMapping } from './ts-config-paths-3f58b449.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @see https://github.com/aleclarson/vite-tsconfig-paths/blob/e8f0acf7adfcfbf77edbe937f64b4e5d39557ad0/src/index.ts#LL231C57-L231C57
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PathMapping } from './ts-config-paths-
|
|
1
|
+
import { P as PathMapping } from './ts-config-paths-3f58b449.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @see https://github.com/aleclarson/vite-tsconfig-paths/blob/e8f0acf7adfcfbf77edbe937f64b4e5d39557ad0/src/index.ts#LL231C57-L231C57
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/config",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.17.1",
|
|
4
4
|
"description": "Find and load panda config",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -12,19 +12,31 @@
|
|
|
12
12
|
},
|
|
13
13
|
"exports": {
|
|
14
14
|
".": {
|
|
15
|
+
"source": "./src/index.ts",
|
|
15
16
|
"types": "./dist/index.d.ts",
|
|
16
17
|
"require": "./dist/index.js",
|
|
17
|
-
"import":
|
|
18
|
+
"import": {
|
|
19
|
+
"types": "./dist/index.d.mts",
|
|
20
|
+
"default": "./dist/index.mjs"
|
|
21
|
+
}
|
|
18
22
|
},
|
|
19
23
|
"./merge": {
|
|
24
|
+
"source": "./src/merge-config.ts",
|
|
20
25
|
"types": "./dist/merge-config.d.ts",
|
|
21
26
|
"require": "./dist/merge-config.js",
|
|
22
|
-
"import":
|
|
27
|
+
"import": {
|
|
28
|
+
"types": "./dist/merge-config.d.mts",
|
|
29
|
+
"default": "./dist/merge-config.mjs"
|
|
30
|
+
}
|
|
23
31
|
},
|
|
24
32
|
"./ts-path": {
|
|
33
|
+
"source": "./src/resolve-ts-path-pattern.ts",
|
|
25
34
|
"types": "./dist/resolve-ts-path-pattern.d.ts",
|
|
26
35
|
"require": "./dist/resolve-ts-path-pattern.js",
|
|
27
|
-
"import":
|
|
36
|
+
"import": {
|
|
37
|
+
"types": "./dist/resolve-ts-path-pattern.d.mts",
|
|
38
|
+
"default": "./dist/resolve-ts-path-pattern.mjs"
|
|
39
|
+
}
|
|
28
40
|
},
|
|
29
41
|
"./package.json": "./package.json"
|
|
30
42
|
},
|
|
@@ -37,11 +49,11 @@
|
|
|
37
49
|
"jiti": "^1.19.1",
|
|
38
50
|
"merge-anything": "^5.1.7",
|
|
39
51
|
"typescript": "^5.2.2",
|
|
40
|
-
"@pandacss/error": "0.
|
|
41
|
-
"@pandacss/
|
|
42
|
-
"@pandacss/preset-
|
|
43
|
-
"@pandacss/
|
|
44
|
-
"@pandacss/
|
|
52
|
+
"@pandacss/error": "0.17.1",
|
|
53
|
+
"@pandacss/preset-base": "0.17.1",
|
|
54
|
+
"@pandacss/preset-panda": "0.17.1",
|
|
55
|
+
"@pandacss/types": "0.17.1",
|
|
56
|
+
"@pandacss/logger": "0.17.1"
|
|
45
57
|
},
|
|
46
58
|
"devDependencies": {
|
|
47
59
|
"pkg-types": "1.0.3"
|