@pandacss/node 0.0.0-dev-20230614152938 → 0.0.0-dev-20230614183248
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.d.ts +1 -1
- package/dist/index.js +5 -3
- package/dist/index.mjs +5 -3
- package/package.json +13 -13
package/dist/index.d.ts
CHANGED
|
@@ -233,7 +233,7 @@ declare function generate(config: Config, configPath?: string): Promise<void>;
|
|
|
233
233
|
|
|
234
234
|
declare function parseDependency(fileOrGlob: string): Message | null;
|
|
235
235
|
|
|
236
|
-
declare function setupGitIgnore(
|
|
236
|
+
declare function setupGitIgnore(ctx: PandaContext): void;
|
|
237
237
|
|
|
238
238
|
type SetupOptions = {
|
|
239
239
|
outExtension?: string;
|
package/dist/index.js
CHANGED
|
@@ -787,6 +787,7 @@ var import_path3 = require("path");
|
|
|
787
787
|
// src/config.ts
|
|
788
788
|
init_cjs_shims();
|
|
789
789
|
var import_config = require("@pandacss/config");
|
|
790
|
+
var import_hookable = require("hookable");
|
|
790
791
|
var import_look_it_up = require("look-it-up");
|
|
791
792
|
|
|
792
793
|
// src/create-context.ts
|
|
@@ -958,7 +959,6 @@ var createContext = (conf) => (0, import_lil_fp.pipe)(
|
|
|
958
959
|
);
|
|
959
960
|
|
|
960
961
|
// src/config.ts
|
|
961
|
-
var import_hookable = require("hookable");
|
|
962
962
|
var configs = [".ts", ".js", ".mjs", ".cjs"];
|
|
963
963
|
function findConfig() {
|
|
964
964
|
for (const config of configs) {
|
|
@@ -2701,13 +2701,15 @@ init_cjs_shims();
|
|
|
2701
2701
|
var import_fs2 = require("fs");
|
|
2702
2702
|
var import_look_it_up2 = require("look-it-up");
|
|
2703
2703
|
var import_outdent = __toESM(require("outdent"));
|
|
2704
|
-
function setupGitIgnore(
|
|
2704
|
+
function setupGitIgnore(ctx) {
|
|
2705
|
+
const { outdir, gitignore } = ctx.config;
|
|
2705
2706
|
if (!gitignore)
|
|
2706
2707
|
return;
|
|
2707
2708
|
const txt = import_outdent.default`
|
|
2709
|
+
|
|
2708
2710
|
## Panda
|
|
2709
2711
|
${outdir}
|
|
2710
|
-
${outdir}
|
|
2712
|
+
${ctx.studio.outdir}
|
|
2711
2713
|
`;
|
|
2712
2714
|
const file = (0, import_look_it_up2.lookItUpSync)(".gitignore");
|
|
2713
2715
|
if (!file) {
|
package/dist/index.mjs
CHANGED
|
@@ -765,6 +765,7 @@ import { resolve as resolve2 } from "path";
|
|
|
765
765
|
// src/config.ts
|
|
766
766
|
init_esm_shims();
|
|
767
767
|
import { loadConfigFile } from "@pandacss/config";
|
|
768
|
+
import { createDebugger, createHooks } from "hookable";
|
|
768
769
|
import { lookItUpSync } from "look-it-up";
|
|
769
770
|
|
|
770
771
|
// src/create-context.ts
|
|
@@ -945,7 +946,6 @@ var createContext = (conf) => pipe(
|
|
|
945
946
|
);
|
|
946
947
|
|
|
947
948
|
// src/config.ts
|
|
948
|
-
import { createDebugger, createHooks } from "hookable";
|
|
949
949
|
var configs = [".ts", ".js", ".mjs", ".cjs"];
|
|
950
950
|
function findConfig() {
|
|
951
951
|
for (const config of configs) {
|
|
@@ -2688,13 +2688,15 @@ init_esm_shims();
|
|
|
2688
2688
|
import { appendFileSync, readFileSync as readFileSync2, writeFileSync as writeFileSync2 } from "fs";
|
|
2689
2689
|
import { lookItUpSync as lookItUpSync2 } from "look-it-up";
|
|
2690
2690
|
import outdent from "outdent";
|
|
2691
|
-
function setupGitIgnore(
|
|
2691
|
+
function setupGitIgnore(ctx) {
|
|
2692
|
+
const { outdir, gitignore } = ctx.config;
|
|
2692
2693
|
if (!gitignore)
|
|
2693
2694
|
return;
|
|
2694
2695
|
const txt = outdent`
|
|
2696
|
+
|
|
2695
2697
|
## Panda
|
|
2696
2698
|
${outdir}
|
|
2697
|
-
${outdir}
|
|
2699
|
+
${ctx.studio.outdir}
|
|
2698
2700
|
`;
|
|
2699
2701
|
const file = lookItUpSync2(".gitignore");
|
|
2700
2702
|
if (!file) {
|
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-20230614183248",
|
|
4
4
|
"description": "The core css panda library",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -32,17 +32,17 @@
|
|
|
32
32
|
"preferred-pm": "^3.0.3",
|
|
33
33
|
"ts-morph": "18.0.0",
|
|
34
34
|
"ts-pattern": "4.3.0",
|
|
35
|
-
"@pandacss/config": "0.0.0-dev-
|
|
36
|
-
"@pandacss/core": "0.0.0-dev-
|
|
37
|
-
"@pandacss/error": "0.0.0-dev-
|
|
38
|
-
"@pandacss/extractor": "0.0.0-dev-
|
|
39
|
-
"@pandacss/generator": "0.0.0-dev-
|
|
40
|
-
"@pandacss/is-valid-prop": "0.0.0-dev-
|
|
41
|
-
"@pandacss/logger": "0.0.0-dev-
|
|
42
|
-
"@pandacss/parser": "0.0.0-dev-
|
|
43
|
-
"@pandacss/shared": "0.0.0-dev-
|
|
44
|
-
"@pandacss/token-dictionary": "0.0.0-dev-
|
|
45
|
-
"@pandacss/types": "0.0.0-dev-
|
|
35
|
+
"@pandacss/config": "0.0.0-dev-20230614183248",
|
|
36
|
+
"@pandacss/core": "0.0.0-dev-20230614183248",
|
|
37
|
+
"@pandacss/error": "0.0.0-dev-20230614183248",
|
|
38
|
+
"@pandacss/extractor": "0.0.0-dev-20230614183248",
|
|
39
|
+
"@pandacss/generator": "0.0.0-dev-20230614183248",
|
|
40
|
+
"@pandacss/is-valid-prop": "0.0.0-dev-20230614183248",
|
|
41
|
+
"@pandacss/logger": "0.0.0-dev-20230614183248",
|
|
42
|
+
"@pandacss/parser": "0.0.0-dev-20230614183248",
|
|
43
|
+
"@pandacss/shared": "0.0.0-dev-20230614183248",
|
|
44
|
+
"@pandacss/token-dictionary": "0.0.0-dev-20230614183248",
|
|
45
|
+
"@pandacss/types": "0.0.0-dev-20230614183248"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@types/fs-extra": "11.0.1",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@types/lodash.merge": "4.6.7",
|
|
52
52
|
"@types/pluralize": "0.0.29",
|
|
53
53
|
"boxen": "^7.1.0",
|
|
54
|
-
"@pandacss/fixture": "0.0.0-dev-
|
|
54
|
+
"@pandacss/fixture": "0.0.0-dev-20230614183248"
|
|
55
55
|
},
|
|
56
56
|
"scripts": {
|
|
57
57
|
"build": "tsup src/index.ts --format=cjs,esm --shims --dts",
|