@pandacss/node 0.0.0-dev-20240130182551 → 0.0.0-dev-20240201185610

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
@@ -2224,7 +2224,9 @@ var limit = pLimit(20);
2224
2224
  async function codegen(ctx, ids) {
2225
2225
  if (ctx.config.clean)
2226
2226
  ctx.output.empty();
2227
- const promises = ctx.getArtifacts(ids).map((artifact) => limit(() => ctx.output.write(artifact)));
2227
+ const artifacts = ctx.getArtifacts(ids);
2228
+ await ctx.hooks["codegen:prepare"]?.({ changed: ids, artifacts });
2229
+ const promises = artifacts.map((artifact) => limit(() => ctx.output.write(artifact)));
2228
2230
  await Promise.allSettled(promises);
2229
2231
  await ctx.hooks["codegen:done"]?.({ changed: ids });
2230
2232
  return {
package/dist/index.mjs CHANGED
@@ -2198,7 +2198,9 @@ var limit = pLimit(20);
2198
2198
  async function codegen(ctx, ids) {
2199
2199
  if (ctx.config.clean)
2200
2200
  ctx.output.empty();
2201
- const promises = ctx.getArtifacts(ids).map((artifact) => limit(() => ctx.output.write(artifact)));
2201
+ const artifacts = ctx.getArtifacts(ids);
2202
+ await ctx.hooks["codegen:prepare"]?.({ changed: ids, artifacts });
2203
+ const promises = artifacts.map((artifact) => limit(() => ctx.output.write(artifact)));
2202
2204
  await Promise.allSettled(promises);
2203
2205
  await ctx.hooks["codegen:done"]?.({ changed: ids });
2204
2206
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/node",
3
- "version": "0.0.0-dev-20240130182551",
3
+ "version": "0.0.0-dev-20240201185610",
4
4
  "description": "The core css panda library",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -53,15 +53,15 @@
53
53
  "ts-pattern": "5.0.5",
54
54
  "tsconfck": "^2.1.2",
55
55
  "v8-profiler-next": "^1.10.0",
56
- "@pandacss/config": "0.0.0-dev-20240130182551",
57
- "@pandacss/core": "0.0.0-dev-20240130182551",
58
- "@pandacss/extractor": "0.0.0-dev-20240130182551",
59
- "@pandacss/generator": "0.0.0-dev-20240130182551",
60
- "@pandacss/logger": "0.0.0-dev-20240130182551",
61
- "@pandacss/parser": "0.0.0-dev-20240130182551",
62
- "@pandacss/shared": "0.0.0-dev-20240130182551",
63
- "@pandacss/token-dictionary": "0.0.0-dev-20240130182551",
64
- "@pandacss/types": "0.0.0-dev-20240130182551"
56
+ "@pandacss/config": "0.0.0-dev-20240201185610",
57
+ "@pandacss/core": "0.0.0-dev-20240201185610",
58
+ "@pandacss/extractor": "0.0.0-dev-20240201185610",
59
+ "@pandacss/generator": "0.0.0-dev-20240201185610",
60
+ "@pandacss/logger": "0.0.0-dev-20240201185610",
61
+ "@pandacss/parser": "0.0.0-dev-20240201185610",
62
+ "@pandacss/shared": "0.0.0-dev-20240201185610",
63
+ "@pandacss/token-dictionary": "0.0.0-dev-20240201185610",
64
+ "@pandacss/types": "0.0.0-dev-20240201185610"
65
65
  },
66
66
  "devDependencies": {
67
67
  "@types/fs-extra": "11.0.4",