@pandacss/node 0.30.2 → 0.31.0

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
@@ -2926,13 +2926,14 @@ async function generate(config, configPath) {
2926
2926
  const outfile = ctx2.runtime.path.join(...ctx2.paths.root, "styles.css");
2927
2927
  const parserResult = ctx2.project.parseSourceFile(changedFilePath);
2928
2928
  if (parserResult) {
2929
+ const done = import_logger10.logger.time.info(ctx2.messages.buildComplete(1));
2929
2930
  const sheet = ctx2.createSheet();
2930
2931
  ctx2.appendLayerParams(sheet);
2931
2932
  ctx2.appendBaselineCss(sheet);
2932
2933
  ctx2.appendParserCss(sheet);
2933
2934
  const css = ctx2.getCss(sheet);
2934
2935
  await ctx2.runtime.fs.writeFile(outfile, css);
2935
- return { msg: ctx2.messages.buildComplete(1) };
2936
+ done();
2936
2937
  }
2937
2938
  };
2938
2939
  ctx.watchFiles(async (event, file) => {
package/dist/index.mjs CHANGED
@@ -2900,13 +2900,14 @@ async function generate(config, configPath) {
2900
2900
  const outfile = ctx2.runtime.path.join(...ctx2.paths.root, "styles.css");
2901
2901
  const parserResult = ctx2.project.parseSourceFile(changedFilePath);
2902
2902
  if (parserResult) {
2903
+ const done = logger10.time.info(ctx2.messages.buildComplete(1));
2903
2904
  const sheet = ctx2.createSheet();
2904
2905
  ctx2.appendLayerParams(sheet);
2905
2906
  ctx2.appendBaselineCss(sheet);
2906
2907
  ctx2.appendParserCss(sheet);
2907
2908
  const css = ctx2.getCss(sheet);
2908
2909
  await ctx2.runtime.fs.writeFile(outfile, css);
2909
- return { msg: ctx2.messages.buildComplete(1) };
2910
+ done();
2910
2911
  }
2911
2912
  };
2912
2913
  ctx.watchFiles(async (event, file) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/node",
3
- "version": "0.30.2",
3
+ "version": "0.31.0",
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": "19.0.0",
53
53
  "ts-pattern": "5.0.5",
54
54
  "tsconfck": "^2.1.2",
55
- "@pandacss/config": "0.30.2",
56
- "@pandacss/core": "0.30.2",
57
- "@pandacss/extractor": "0.30.2",
58
- "@pandacss/generator": "0.30.2",
59
- "@pandacss/logger": "0.30.2",
60
- "@pandacss/parser": "0.30.2",
61
- "@pandacss/shared": "0.30.2",
62
- "@pandacss/token-dictionary": "0.30.2",
63
- "@pandacss/types": "0.30.2"
55
+ "@pandacss/config": "0.31.0",
56
+ "@pandacss/core": "0.31.0",
57
+ "@pandacss/extractor": "0.31.0",
58
+ "@pandacss/generator": "0.31.0",
59
+ "@pandacss/logger": "0.31.0",
60
+ "@pandacss/parser": "0.31.0",
61
+ "@pandacss/shared": "0.31.0",
62
+ "@pandacss/token-dictionary": "0.31.0",
63
+ "@pandacss/types": "0.31.0"
64
64
  },
65
65
  "devDependencies": {
66
66
  "@types/fs-extra": "11.0.4",