@pandacss/node 0.0.0-dev-20230422144606 → 0.0.0-dev-20230423233758

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 CHANGED
@@ -2578,7 +2578,9 @@ async function debugFiles(ctx, options) {
2578
2578
  const files = ctx.getFiles();
2579
2579
  const measureTotal = import_logger5.logger.time.debug(`Done parsing ${files.length} files`);
2580
2580
  ctx.config.minify = false;
2581
- await (0, import_promises2.mkdir)(options.outdir, { recursive: true });
2581
+ if (!options.dry && options.outdir) {
2582
+ await (0, import_promises2.mkdir)(options.outdir, { recursive: true });
2583
+ }
2582
2584
  const filesWithCss = [];
2583
2585
  await files.map(async (file) => {
2584
2586
  const measure = import_logger5.logger.time.debug(`Parsed ${file}`);
@@ -2612,6 +2614,7 @@ async function debugFiles(ctx, options) {
2612
2614
  const astJsonPath = `${relative3}/${parsedPath.name}.ast.json`.replaceAll(path.sep, "__");
2613
2615
  const cssPath = `${relative3}/${parsedPath.name}.css`.replaceAll(path.sep, "__");
2614
2616
  import_logger5.logger.info("cli", `Writing ${import_logger5.colors.bold(`${options.outdir}/${astJsonPath}`)}`);
2617
+ import_logger5.logger.info("cli", `Writing ${import_logger5.colors.bold(`${options.outdir}/${cssPath}`)}`);
2615
2618
  return Promise.all([
2616
2619
  (0, import_promises2.writeFile)(`${options.outdir}/${astJsonPath}`, JSON.stringify(list, debugResultSerializer, 2)),
2617
2620
  (0, import_promises2.writeFile)(`${options.outdir}/${cssPath}`, css)
package/dist/index.mjs CHANGED
@@ -2567,7 +2567,9 @@ async function debugFiles(ctx, options) {
2567
2567
  const files = ctx.getFiles();
2568
2568
  const measureTotal = logger5.time.debug(`Done parsing ${files.length} files`);
2569
2569
  ctx.config.minify = false;
2570
- await mkdir(options.outdir, { recursive: true });
2570
+ if (!options.dry && options.outdir) {
2571
+ await mkdir(options.outdir, { recursive: true });
2572
+ }
2571
2573
  const filesWithCss = [];
2572
2574
  await files.map(async (file) => {
2573
2575
  const measure = logger5.time.debug(`Parsed ${file}`);
@@ -2601,6 +2603,7 @@ async function debugFiles(ctx, options) {
2601
2603
  const astJsonPath = `${relative3}/${parsedPath.name}.ast.json`.replaceAll(path.sep, "__");
2602
2604
  const cssPath = `${relative3}/${parsedPath.name}.css`.replaceAll(path.sep, "__");
2603
2605
  logger5.info("cli", `Writing ${colors.bold(`${options.outdir}/${astJsonPath}`)}`);
2606
+ logger5.info("cli", `Writing ${colors.bold(`${options.outdir}/${cssPath}`)}`);
2604
2607
  return Promise.all([
2605
2608
  writeFile3(`${options.outdir}/${astJsonPath}`, JSON.stringify(list, debugResultSerializer, 2)),
2606
2609
  writeFile3(`${options.outdir}/${cssPath}`, css)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/node",
3
- "version": "0.0.0-dev-20230422144606",
3
+ "version": "0.0.0-dev-20230423233758",
4
4
  "description": "The core css panda library",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -33,17 +33,17 @@
33
33
  "preferred-pm": "^3.0.3",
34
34
  "ts-morph": "18.0.0",
35
35
  "ts-pattern": "4.2.2",
36
- "@pandacss/config": "0.0.0-dev-20230422144606",
37
- "@pandacss/core": "0.0.0-dev-20230422144606",
38
- "@pandacss/error": "0.0.0-dev-20230422144606",
39
- "@pandacss/generator": "0.0.0-dev-20230422144606",
40
- "@pandacss/is-valid-prop": "0.0.0-dev-20230422144606",
41
- "@pandacss/logger": "0.0.0-dev-20230422144606",
42
- "@pandacss/parser": "0.0.0-dev-20230422144606",
43
- "@pandacss/extractor": "0.0.0-dev-20230422144606",
44
- "@pandacss/shared": "0.0.0-dev-20230422144606",
45
- "@pandacss/token-dictionary": "0.0.0-dev-20230422144606",
46
- "@pandacss/types": "0.0.0-dev-20230422144606"
36
+ "@pandacss/config": "0.0.0-dev-20230423233758",
37
+ "@pandacss/core": "0.0.0-dev-20230423233758",
38
+ "@pandacss/error": "0.0.0-dev-20230423233758",
39
+ "@pandacss/generator": "0.0.0-dev-20230423233758",
40
+ "@pandacss/is-valid-prop": "0.0.0-dev-20230423233758",
41
+ "@pandacss/logger": "0.0.0-dev-20230423233758",
42
+ "@pandacss/parser": "0.0.0-dev-20230423233758",
43
+ "@pandacss/extractor": "0.0.0-dev-20230423233758",
44
+ "@pandacss/shared": "0.0.0-dev-20230423233758",
45
+ "@pandacss/token-dictionary": "0.0.0-dev-20230423233758",
46
+ "@pandacss/types": "0.0.0-dev-20230423233758"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@types/fs-extra": "11.0.1",
@@ -53,7 +53,7 @@
53
53
  "@types/pluralize": "0.0.29",
54
54
  "boxen": "^7.0.2",
55
55
  "gzip-size": "^7.0.0",
56
- "@pandacss/fixture": "0.0.0-dev-20230422144606"
56
+ "@pandacss/fixture": "0.0.0-dev-20230423233758"
57
57
  },
58
58
  "scripts": {
59
59
  "build": "tsup src/index.ts --format=cjs,esm --shims --dts",