@pandacss/config 0.12.2 → 0.13.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.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -44,7 +44,7 @@ module.exports = __toCommonJS(src_exports);
|
|
|
44
44
|
// src/find-config.ts
|
|
45
45
|
var import_sync = __toESM(require("escalade/sync"));
|
|
46
46
|
var import_path = require("path");
|
|
47
|
-
var configs = [".ts", ".js", ".mjs", ".cjs"];
|
|
47
|
+
var configs = [".ts", ".js", ".mts", ".mjs", ".cts", ".cjs"];
|
|
48
48
|
var pandaConfigRegex = new RegExp(`panda.config(${configs.join("|")})$`);
|
|
49
49
|
var isPandaConfig = (file) => pandaConfigRegex.test(file);
|
|
50
50
|
function findConfigFile({ cwd, file }) {
|
package/dist/index.mjs
CHANGED
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
// src/find-config.ts
|
|
9
9
|
import findUp from "escalade/sync";
|
|
10
10
|
import { resolve } from "path";
|
|
11
|
-
var configs = [".ts", ".js", ".mjs", ".cjs"];
|
|
11
|
+
var configs = [".ts", ".js", ".mts", ".mjs", ".cts", ".cjs"];
|
|
12
12
|
var pandaConfigRegex = new RegExp(`panda.config(${configs.join("|")})$`);
|
|
13
13
|
var isPandaConfig = (file) => pandaConfigRegex.test(file);
|
|
14
14
|
function findConfigFile({ cwd, file }) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/config",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.1",
|
|
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.1.6",
|
|
40
|
-
"@pandacss/error": "0.
|
|
41
|
-
"@pandacss/logger": "0.
|
|
42
|
-
"@pandacss/preset-base": "0.
|
|
43
|
-
"@pandacss/preset-panda": "0.
|
|
44
|
-
"@pandacss/types": "0.
|
|
40
|
+
"@pandacss/error": "0.13.1",
|
|
41
|
+
"@pandacss/logger": "0.13.1",
|
|
42
|
+
"@pandacss/preset-base": "0.13.1",
|
|
43
|
+
"@pandacss/preset-panda": "0.13.1",
|
|
44
|
+
"@pandacss/types": "0.13.1"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"pkg-types": "1.0.3"
|