@pandacss/node 0.0.0-dev-20230530153916 → 0.0.0-dev-20230530170801

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 CHANGED
@@ -231,6 +231,7 @@ declare function setupGitIgnore({ config: { outdir, gitignore } }: PandaContext)
231
231
 
232
232
  type SetupOptions = {
233
233
  outExtension?: string;
234
+ jsxFramework?: string;
234
235
  force?: boolean;
235
236
  };
236
237
  declare function setupConfig(cwd: string, opts?: SetupOptions): Promise<void>;
package/dist/index.js CHANGED
@@ -2794,7 +2794,7 @@ var import_outdent2 = require("outdent");
2794
2794
  var import_path4 = require("path");
2795
2795
  var import_preferred_pm2 = __toESM(require("preferred-pm"));
2796
2796
  async function setupConfig(cwd, opts = {}) {
2797
- const { force, outExtension } = opts;
2797
+ const { force, outExtension, jsxFramework } = opts;
2798
2798
  const configFile = findConfig();
2799
2799
  const pmResult = await (0, import_preferred_pm2.default)(cwd);
2800
2800
  const pm = pmResult?.name ?? "npm";
@@ -2822,6 +2822,9 @@ outExtension: '${outExtension}',` : ""}
2822
2822
 
2823
2823
  // The output directory for your css system
2824
2824
  outdir: "styled-system",
2825
+ ${jsxFramework ? `
2826
+ // The JSX framework to use
2827
+ jsxFramework: '${jsxFramework}'` : ""}
2825
2828
  })
2826
2829
  `;
2827
2830
  await (0, import_fs_extra3.writeFile)((0, import_path4.join)(cwd, file), content);
package/dist/index.mjs CHANGED
@@ -2779,7 +2779,7 @@ import { outdent as outdent2 } from "outdent";
2779
2779
  import { join as join2 } from "path";
2780
2780
  import getPackageManager2 from "preferred-pm";
2781
2781
  async function setupConfig(cwd, opts = {}) {
2782
- const { force, outExtension } = opts;
2782
+ const { force, outExtension, jsxFramework } = opts;
2783
2783
  const configFile = findConfig();
2784
2784
  const pmResult = await getPackageManager2(cwd);
2785
2785
  const pm = pmResult?.name ?? "npm";
@@ -2807,6 +2807,9 @@ outExtension: '${outExtension}',` : ""}
2807
2807
 
2808
2808
  // The output directory for your css system
2809
2809
  outdir: "styled-system",
2810
+ ${jsxFramework ? `
2811
+ // The JSX framework to use
2812
+ jsxFramework: '${jsxFramework}'` : ""}
2810
2813
  })
2811
2814
  `;
2812
2815
  await writeFile4(join2(cwd, file), content);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/node",
3
- "version": "0.0.0-dev-20230530153916",
3
+ "version": "0.0.0-dev-20230530170801",
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-20230530153916",
36
- "@pandacss/core": "0.0.0-dev-20230530153916",
37
- "@pandacss/error": "0.0.0-dev-20230530153916",
38
- "@pandacss/extractor": "0.0.0-dev-20230530153916",
39
- "@pandacss/generator": "0.0.0-dev-20230530153916",
40
- "@pandacss/is-valid-prop": "0.0.0-dev-20230530153916",
41
- "@pandacss/logger": "0.0.0-dev-20230530153916",
42
- "@pandacss/parser": "0.0.0-dev-20230530153916",
43
- "@pandacss/shared": "0.0.0-dev-20230530153916",
44
- "@pandacss/token-dictionary": "0.0.0-dev-20230530153916",
45
- "@pandacss/types": "0.0.0-dev-20230530153916"
35
+ "@pandacss/config": "0.0.0-dev-20230530170801",
36
+ "@pandacss/core": "0.0.0-dev-20230530170801",
37
+ "@pandacss/error": "0.0.0-dev-20230530170801",
38
+ "@pandacss/extractor": "0.0.0-dev-20230530170801",
39
+ "@pandacss/generator": "0.0.0-dev-20230530170801",
40
+ "@pandacss/is-valid-prop": "0.0.0-dev-20230530170801",
41
+ "@pandacss/logger": "0.0.0-dev-20230530170801",
42
+ "@pandacss/parser": "0.0.0-dev-20230530170801",
43
+ "@pandacss/shared": "0.0.0-dev-20230530170801",
44
+ "@pandacss/token-dictionary": "0.0.0-dev-20230530170801",
45
+ "@pandacss/types": "0.0.0-dev-20230530170801"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@types/fs-extra": "11.0.1",
@@ -52,7 +52,7 @@
52
52
  "@types/pluralize": "0.0.29",
53
53
  "boxen": "^7.1.0",
54
54
  "gzip-size": "^7.0.0",
55
- "@pandacss/fixture": "0.0.0-dev-20230530153916"
55
+ "@pandacss/fixture": "0.0.0-dev-20230530170801"
56
56
  },
57
57
  "scripts": {
58
58
  "build": "tsup src/index.ts --format=cjs,esm --shims --dts",