@pandacss/node 0.48.0 → 0.49.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 +6 -2
- package/dist/index.mjs +6 -2
- package/package.json +10 -10
package/dist/index.js
CHANGED
|
@@ -432,7 +432,7 @@ var import_node_path = __toESM(require("path"));
|
|
|
432
432
|
var import_zlib = __toESM(require("zlib"));
|
|
433
433
|
|
|
434
434
|
// package.json
|
|
435
|
-
var version = "0.
|
|
435
|
+
var version = "0.49.0";
|
|
436
436
|
|
|
437
437
|
// src/classify.ts
|
|
438
438
|
init_cjs_shims();
|
|
@@ -873,8 +873,12 @@ var import_logger2 = require("@pandacss/logger");
|
|
|
873
873
|
async function buildInfo(ctx, outfile) {
|
|
874
874
|
const { filesWithCss, files } = ctx.parseFiles();
|
|
875
875
|
import_logger2.logger.info("cli", `Found ${import_logger2.colors.bold(`${filesWithCss.length}/${files.length}`)} files using Panda`);
|
|
876
|
-
const minify = ctx.config
|
|
876
|
+
const { minify, staticCss } = ctx.config;
|
|
877
877
|
import_logger2.logger.info("cli", `Writing ${minify ? "[min] " : " "}${import_logger2.colors.bold(outfile)}`);
|
|
878
|
+
if (staticCss) {
|
|
879
|
+
import_logger2.logger.info("cli", "Adding staticCss definitions...");
|
|
880
|
+
ctx.staticCss.process(staticCss);
|
|
881
|
+
}
|
|
878
882
|
const output = JSON.stringify(ctx.encoder.toJSON(), null, minify ? 0 : 2);
|
|
879
883
|
ctx.output.ensure(outfile, process.cwd());
|
|
880
884
|
await ctx.runtime.fs.writeFile(outfile, output);
|
package/dist/index.mjs
CHANGED
|
@@ -406,7 +406,7 @@ import path from "node:path";
|
|
|
406
406
|
import zlib from "zlib";
|
|
407
407
|
|
|
408
408
|
// package.json
|
|
409
|
-
var version = "0.
|
|
409
|
+
var version = "0.49.0";
|
|
410
410
|
|
|
411
411
|
// src/classify.ts
|
|
412
412
|
init_esm_shims();
|
|
@@ -847,8 +847,12 @@ import { colors, logger as logger2 } from "@pandacss/logger";
|
|
|
847
847
|
async function buildInfo(ctx, outfile) {
|
|
848
848
|
const { filesWithCss, files } = ctx.parseFiles();
|
|
849
849
|
logger2.info("cli", `Found ${colors.bold(`${filesWithCss.length}/${files.length}`)} files using Panda`);
|
|
850
|
-
const minify = ctx.config
|
|
850
|
+
const { minify, staticCss } = ctx.config;
|
|
851
851
|
logger2.info("cli", `Writing ${minify ? "[min] " : " "}${colors.bold(outfile)}`);
|
|
852
|
+
if (staticCss) {
|
|
853
|
+
logger2.info("cli", "Adding staticCss definitions...");
|
|
854
|
+
ctx.staticCss.process(staticCss);
|
|
855
|
+
}
|
|
852
856
|
const output = JSON.stringify(ctx.encoder.toJSON(), null, minify ? 0 : 2);
|
|
853
857
|
ctx.output.ensure(outfile, process.cwd());
|
|
854
858
|
await ctx.runtime.fs.writeFile(outfile, output);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/node",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.49.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": "21.0.1",
|
|
53
53
|
"ts-pattern": "5.0.8",
|
|
54
54
|
"tsconfck": "3.0.2",
|
|
55
|
-
"@pandacss/config": "0.
|
|
56
|
-
"@pandacss/core": "0.
|
|
57
|
-
"@pandacss/extractor": "0.
|
|
58
|
-
"@pandacss/generator": "0.
|
|
59
|
-
"@pandacss/logger": "0.
|
|
60
|
-
"@pandacss/parser": "0.
|
|
61
|
-
"@pandacss/shared": "0.
|
|
62
|
-
"@pandacss/token-dictionary": "0.
|
|
63
|
-
"@pandacss/types": "0.
|
|
55
|
+
"@pandacss/config": "0.49.0",
|
|
56
|
+
"@pandacss/core": "0.49.0",
|
|
57
|
+
"@pandacss/extractor": "0.49.0",
|
|
58
|
+
"@pandacss/generator": "0.49.0",
|
|
59
|
+
"@pandacss/logger": "0.49.0",
|
|
60
|
+
"@pandacss/parser": "0.49.0",
|
|
61
|
+
"@pandacss/shared": "0.49.0",
|
|
62
|
+
"@pandacss/token-dictionary": "0.49.0",
|
|
63
|
+
"@pandacss/types": "0.49.0"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"@types/fs-extra": "11.0.4",
|