@pandacss/node 0.0.0-dev-20231211135842 → 0.0.0-dev-20231211173902
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 +10 -10
- package/dist/index.mjs +4 -4
- package/package.json +13 -13
package/dist/index.js
CHANGED
|
@@ -894,7 +894,7 @@ function pLimit(concurrency) {
|
|
|
894
894
|
}
|
|
895
895
|
|
|
896
896
|
// src/builder.ts
|
|
897
|
-
var
|
|
897
|
+
var import_pathe3 = require("pathe");
|
|
898
898
|
|
|
899
899
|
// src/config.ts
|
|
900
900
|
init_cjs_shims();
|
|
@@ -2699,7 +2699,7 @@ async function generateCssArtifactOfType(ctx, cssType, outfile) {
|
|
|
2699
2699
|
// src/parse-dependency.ts
|
|
2700
2700
|
init_cjs_shims();
|
|
2701
2701
|
var import_is_glob = __toESM(require("is-glob"));
|
|
2702
|
-
var
|
|
2702
|
+
var import_pathe2 = require("pathe");
|
|
2703
2703
|
|
|
2704
2704
|
// src/parse-glob.ts
|
|
2705
2705
|
init_cjs_shims();
|
|
@@ -2730,9 +2730,9 @@ function parseDependency(fileOrGlob) {
|
|
|
2730
2730
|
let message = null;
|
|
2731
2731
|
if ((0, import_is_glob.default)(fileOrGlob)) {
|
|
2732
2732
|
const { base, glob: glob2 } = parseGlob(fileOrGlob);
|
|
2733
|
-
message = { type: "dir-dependency", dir: (0,
|
|
2733
|
+
message = { type: "dir-dependency", dir: (0, import_pathe2.resolve)(base), glob: glob2 };
|
|
2734
2734
|
} else {
|
|
2735
|
-
message = { type: "dependency", file: (0,
|
|
2735
|
+
message = { type: "dependency", file: (0, import_pathe2.resolve)(fileOrGlob) };
|
|
2736
2736
|
}
|
|
2737
2737
|
if (message.type === "dir-dependency" && process.env.ROLLUP_WATCH === "true") {
|
|
2738
2738
|
message = { type: "dependency", file: message.dir };
|
|
@@ -2852,7 +2852,7 @@ var Builder = class {
|
|
|
2852
2852
|
}
|
|
2853
2853
|
}
|
|
2854
2854
|
for (const file of ctx.conf.dependencies) {
|
|
2855
|
-
fn({ type: "dependency", file: (0,
|
|
2855
|
+
fn({ type: "dependency", file: (0, import_pathe3.resolve)(file) });
|
|
2856
2856
|
}
|
|
2857
2857
|
};
|
|
2858
2858
|
};
|
|
@@ -2860,7 +2860,7 @@ var Builder = class {
|
|
|
2860
2860
|
// src/debug-files.ts
|
|
2861
2861
|
init_cjs_shims();
|
|
2862
2862
|
var import_logger7 = require("@pandacss/logger");
|
|
2863
|
-
var nodePath = __toESM(require("
|
|
2863
|
+
var nodePath = __toESM(require("pathe"));
|
|
2864
2864
|
async function debugFiles(ctx, options) {
|
|
2865
2865
|
const files = ctx.getFiles();
|
|
2866
2866
|
const measureTotal = import_logger7.logger.time.debug(`Done parsing ${files.length} files`);
|
|
@@ -3010,7 +3010,7 @@ var import_logger10 = require("@pandacss/logger");
|
|
|
3010
3010
|
var import_fs_extra3 = __toESM(require("fs-extra"));
|
|
3011
3011
|
var import_look_it_up3 = require("look-it-up");
|
|
3012
3012
|
var import_outdent2 = require("outdent");
|
|
3013
|
-
var
|
|
3013
|
+
var import_pathe4 = require("pathe");
|
|
3014
3014
|
var import_preferred_pm2 = __toESM(require("preferred-pm"));
|
|
3015
3015
|
var import_prettier = __toESM(require("prettier"));
|
|
3016
3016
|
async function setupConfig(cwd, opts = {}) {
|
|
@@ -3055,7 +3055,7 @@ jsxFramework: '${jsxFramework}',` : ""}
|
|
|
3055
3055
|
syntax: '${syntax}'` : ""}
|
|
3056
3056
|
})
|
|
3057
3057
|
`;
|
|
3058
|
-
await import_fs_extra3.default.writeFile((0,
|
|
3058
|
+
await import_fs_extra3.default.writeFile((0, import_pathe4.join)(cwd, file), import_prettier.default.format(content));
|
|
3059
3059
|
import_logger10.logger.log(import_generator3.messages.thankYou());
|
|
3060
3060
|
}
|
|
3061
3061
|
}
|
|
@@ -3068,7 +3068,7 @@ module.exports = {
|
|
|
3068
3068
|
},
|
|
3069
3069
|
}
|
|
3070
3070
|
`;
|
|
3071
|
-
await import_fs_extra3.default.writeFile((0,
|
|
3071
|
+
await import_fs_extra3.default.writeFile((0, import_pathe4.join)(cwd, "postcss.config.cjs"), content);
|
|
3072
3072
|
}
|
|
3073
3073
|
|
|
3074
3074
|
// src/ship-files.ts
|
|
@@ -3076,7 +3076,7 @@ init_cjs_shims();
|
|
|
3076
3076
|
var import_logger11 = require("@pandacss/logger");
|
|
3077
3077
|
var import_parser3 = require("@pandacss/parser");
|
|
3078
3078
|
var import_promises3 = require("fs/promises");
|
|
3079
|
-
var path = __toESM(require("
|
|
3079
|
+
var path = __toESM(require("pathe"));
|
|
3080
3080
|
async function shipFiles(ctx, outfile) {
|
|
3081
3081
|
const files = ctx.getFiles();
|
|
3082
3082
|
const extractResult = (0, import_parser3.createParserResult)();
|
package/dist/index.mjs
CHANGED
|
@@ -2669,7 +2669,7 @@ async function generateCssArtifactOfType(ctx, cssType, outfile) {
|
|
|
2669
2669
|
// src/parse-dependency.ts
|
|
2670
2670
|
init_esm_shims();
|
|
2671
2671
|
import isGlob from "is-glob";
|
|
2672
|
-
import { resolve } from "
|
|
2672
|
+
import { resolve } from "pathe";
|
|
2673
2673
|
|
|
2674
2674
|
// src/parse-glob.ts
|
|
2675
2675
|
init_esm_shims();
|
|
@@ -2830,7 +2830,7 @@ var Builder = class {
|
|
|
2830
2830
|
// src/debug-files.ts
|
|
2831
2831
|
init_esm_shims();
|
|
2832
2832
|
import { colors, logger as logger7 } from "@pandacss/logger";
|
|
2833
|
-
import * as nodePath from "
|
|
2833
|
+
import * as nodePath from "pathe";
|
|
2834
2834
|
async function debugFiles(ctx, options) {
|
|
2835
2835
|
const files = ctx.getFiles();
|
|
2836
2836
|
const measureTotal = logger7.time.debug(`Done parsing ${files.length} files`);
|
|
@@ -2980,7 +2980,7 @@ import { logger as logger10, quote } from "@pandacss/logger";
|
|
|
2980
2980
|
import fsExtra3 from "fs-extra";
|
|
2981
2981
|
import { lookItUpSync as lookItUpSync3 } from "look-it-up";
|
|
2982
2982
|
import { outdent as outdent2 } from "outdent";
|
|
2983
|
-
import { join as join2 } from "
|
|
2983
|
+
import { join as join2 } from "pathe";
|
|
2984
2984
|
import getPackageManager2 from "preferred-pm";
|
|
2985
2985
|
import prettier from "prettier";
|
|
2986
2986
|
async function setupConfig(cwd, opts = {}) {
|
|
@@ -3046,7 +3046,7 @@ init_esm_shims();
|
|
|
3046
3046
|
import { colors as colors2, logger as logger11 } from "@pandacss/logger";
|
|
3047
3047
|
import { createParserResult as createParserResult2 } from "@pandacss/parser";
|
|
3048
3048
|
import { writeFile as writeFile3 } from "fs/promises";
|
|
3049
|
-
import * as path from "
|
|
3049
|
+
import * as path from "pathe";
|
|
3050
3050
|
async function shipFiles(ctx, outfile) {
|
|
3051
3051
|
const files = ctx.getFiles();
|
|
3052
3052
|
const extractResult = createParserResult2();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/node",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20231211173902",
|
|
4
4
|
"description": "The core css panda library",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -48,17 +48,17 @@
|
|
|
48
48
|
"ts-morph": "19.0.0",
|
|
49
49
|
"ts-pattern": "5.0.5",
|
|
50
50
|
"tsconfck": "^2.1.2",
|
|
51
|
-
"@pandacss/config": "0.0.0-dev-
|
|
52
|
-
"@pandacss/core": "0.0.0-dev-
|
|
53
|
-
"@pandacss/error": "0.0.0-dev-
|
|
54
|
-
"@pandacss/extractor": "0.0.0-dev-
|
|
55
|
-
"@pandacss/generator": "0.0.0-dev-
|
|
56
|
-
"@pandacss/is-valid-prop": "0.0.0-dev-
|
|
57
|
-
"@pandacss/logger": "0.0.0-dev-
|
|
58
|
-
"@pandacss/parser": "0.0.0-dev-
|
|
59
|
-
"@pandacss/shared": "0.0.0-dev-
|
|
60
|
-
"@pandacss/token-dictionary": "0.0.0-dev-
|
|
61
|
-
"@pandacss/types": "0.0.0-dev-
|
|
51
|
+
"@pandacss/config": "0.0.0-dev-20231211173902",
|
|
52
|
+
"@pandacss/core": "0.0.0-dev-20231211173902",
|
|
53
|
+
"@pandacss/error": "0.0.0-dev-20231211173902",
|
|
54
|
+
"@pandacss/extractor": "0.0.0-dev-20231211173902",
|
|
55
|
+
"@pandacss/generator": "0.0.0-dev-20231211173902",
|
|
56
|
+
"@pandacss/is-valid-prop": "0.0.0-dev-20231211173902",
|
|
57
|
+
"@pandacss/logger": "0.0.0-dev-20231211173902",
|
|
58
|
+
"@pandacss/parser": "0.0.0-dev-20231211173902",
|
|
59
|
+
"@pandacss/shared": "0.0.0-dev-20231211173902",
|
|
60
|
+
"@pandacss/token-dictionary": "0.0.0-dev-20231211173902",
|
|
61
|
+
"@pandacss/types": "0.0.0-dev-20231211173902"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@types/fs-extra": "11.0.4",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"@types/pluralize": "0.0.33",
|
|
69
69
|
"boxen": "^7.1.1",
|
|
70
70
|
"p-limit": "^4.0.0",
|
|
71
|
-
"@pandacss/fixture": "0.0.0-dev-
|
|
71
|
+
"@pandacss/fixture": "0.0.0-dev-20231211173902"
|
|
72
72
|
},
|
|
73
73
|
"scripts": {
|
|
74
74
|
"build": "tsup src/index.ts --format=cjs,esm --shims --dts",
|