@pandacss/node 0.37.1 → 0.37.2
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 +4 -4
- package/dist/index.mjs +4 -4
- package/package.json +10 -10
package/dist/index.js
CHANGED
|
@@ -2927,13 +2927,13 @@ async function debug(ctx, options) {
|
|
|
2927
2927
|
filesWithCss.push(file);
|
|
2928
2928
|
const parsedPath = (0, import_path4.parse)(file);
|
|
2929
2929
|
const relative2 = path3.relative(ctx.config.cwd, parsedPath.dir);
|
|
2930
|
-
const astJsonPath = `${relative2}
|
|
2931
|
-
const cssPath = `${relative2}
|
|
2930
|
+
const astJsonPath = `${relative2}${path3.sep}${parsedPath.name}.ast.json`.replaceAll(path3.sep, "__");
|
|
2931
|
+
const cssPath = `${relative2}${path3.sep}${parsedPath.name}.css`.replaceAll(path3.sep, "__");
|
|
2932
2932
|
import_logger9.logger.info("cli", `Writing ${import_logger9.colors.bold(`${outdir}/${astJsonPath}`)}`);
|
|
2933
2933
|
import_logger9.logger.info("cli", `Writing ${import_logger9.colors.bold(`${outdir}/${cssPath}`)}`);
|
|
2934
2934
|
return Promise.allSettled([
|
|
2935
|
-
fs3.writeFile(`${outdir}
|
|
2936
|
-
fs3.writeFile(`${outdir}
|
|
2935
|
+
fs3.writeFile(`${outdir}${path3.sep}${astJsonPath}`, JSON.stringify(result.toJSON(), null, 2)),
|
|
2936
|
+
fs3.writeFile(`${outdir}${path3.sep}${cssPath}`, css)
|
|
2937
2937
|
]);
|
|
2938
2938
|
}
|
|
2939
2939
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -2901,13 +2901,13 @@ async function debug(ctx, options) {
|
|
|
2901
2901
|
filesWithCss.push(file);
|
|
2902
2902
|
const parsedPath = parse(file);
|
|
2903
2903
|
const relative2 = path3.relative(ctx.config.cwd, parsedPath.dir);
|
|
2904
|
-
const astJsonPath = `${relative2}
|
|
2905
|
-
const cssPath = `${relative2}
|
|
2904
|
+
const astJsonPath = `${relative2}${path3.sep}${parsedPath.name}.ast.json`.replaceAll(path3.sep, "__");
|
|
2905
|
+
const cssPath = `${relative2}${path3.sep}${parsedPath.name}.css`.replaceAll(path3.sep, "__");
|
|
2906
2906
|
logger9.info("cli", `Writing ${colors2.bold(`${outdir}/${astJsonPath}`)}`);
|
|
2907
2907
|
logger9.info("cli", `Writing ${colors2.bold(`${outdir}/${cssPath}`)}`);
|
|
2908
2908
|
return Promise.allSettled([
|
|
2909
|
-
fs3.writeFile(`${outdir}
|
|
2910
|
-
fs3.writeFile(`${outdir}
|
|
2909
|
+
fs3.writeFile(`${outdir}${path3.sep}${astJsonPath}`, JSON.stringify(result.toJSON(), null, 2)),
|
|
2910
|
+
fs3.writeFile(`${outdir}${path3.sep}${cssPath}`, css)
|
|
2911
2911
|
]);
|
|
2912
2912
|
}
|
|
2913
2913
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/node",
|
|
3
|
-
"version": "0.37.
|
|
3
|
+
"version": "0.37.2",
|
|
4
4
|
"description": "The core css panda library",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -52,15 +52,15 @@
|
|
|
52
52
|
"ts-morph": "21.0.1",
|
|
53
53
|
"ts-pattern": "5.0.8",
|
|
54
54
|
"tsconfck": "3.0.2",
|
|
55
|
-
"@pandacss/config": "0.37.
|
|
56
|
-
"@pandacss/core": "0.37.
|
|
57
|
-
"@pandacss/extractor": "0.37.
|
|
58
|
-
"@pandacss/generator": "0.37.
|
|
59
|
-
"@pandacss/logger": "0.37.
|
|
60
|
-
"@pandacss/parser": "0.37.
|
|
61
|
-
"@pandacss/shared": "0.37.
|
|
62
|
-
"@pandacss/token-dictionary": "0.37.
|
|
63
|
-
"@pandacss/types": "0.37.
|
|
55
|
+
"@pandacss/config": "0.37.2",
|
|
56
|
+
"@pandacss/core": "0.37.2",
|
|
57
|
+
"@pandacss/extractor": "0.37.2",
|
|
58
|
+
"@pandacss/generator": "0.37.2",
|
|
59
|
+
"@pandacss/logger": "0.37.2",
|
|
60
|
+
"@pandacss/parser": "0.37.2",
|
|
61
|
+
"@pandacss/shared": "0.37.2",
|
|
62
|
+
"@pandacss/token-dictionary": "0.37.2",
|
|
63
|
+
"@pandacss/types": "0.37.2"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"@types/fs-extra": "11.0.4",
|