@pandacss/node 0.0.0-dev-20221222091205 → 0.0.0-dev-20221222091824

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
@@ -1235,7 +1235,7 @@ function generateTokenCss(ctx, varRoot) {
1235
1235
  // src/generators/token-dts.ts
1236
1236
  var import_shared10 = require("@pandacss/shared");
1237
1237
  var import_outdent19 = require("outdent");
1238
- var import_pluralize = require("pluralize");
1238
+ var import_pluralize = __toESM(require("pluralize"));
1239
1239
  function generateTokenDts(dict) {
1240
1240
  const set = /* @__PURE__ */ new Set();
1241
1241
  set.add(`export type Token = ${dict.isEmpty ? "string" : (0, import_shared10.unionType)(dict.allNames)}`);
@@ -1244,7 +1244,7 @@ function generateTokenDts(dict) {
1244
1244
  interfaceSet.add("[token: string]: string");
1245
1245
  } else {
1246
1246
  for (const [key, value] of dict.categoryMap.entries()) {
1247
- const typeName = (0, import_shared10.capitalize)((0, import_pluralize.singular)(key));
1247
+ const typeName = (0, import_shared10.capitalize)(import_pluralize.default.singular(key));
1248
1248
  set.add(`export type ${typeName} = ${(0, import_shared10.unionType)(value.keys())}`);
1249
1249
  set.add(`export type ColorPalette = ${(0, import_shared10.unionType)(Object.keys(dict.colorPalettes))}`);
1250
1250
  interfaceSet.add(` ${key}: ${typeName}`);
package/dist/index.mjs CHANGED
@@ -1189,7 +1189,7 @@ function generateTokenCss(ctx, varRoot) {
1189
1189
  // src/generators/token-dts.ts
1190
1190
  import { unionType as unionType4, capitalize as capitalize9 } from "@pandacss/shared";
1191
1191
  import { outdent as outdent19 } from "outdent";
1192
- import { singular } from "pluralize";
1192
+ import pluralize from "pluralize";
1193
1193
  function generateTokenDts(dict) {
1194
1194
  const set = /* @__PURE__ */ new Set();
1195
1195
  set.add(`export type Token = ${dict.isEmpty ? "string" : unionType4(dict.allNames)}`);
@@ -1198,7 +1198,7 @@ function generateTokenDts(dict) {
1198
1198
  interfaceSet.add("[token: string]: string");
1199
1199
  } else {
1200
1200
  for (const [key, value] of dict.categoryMap.entries()) {
1201
- const typeName = capitalize9(singular(key));
1201
+ const typeName = capitalize9(pluralize.singular(key));
1202
1202
  set.add(`export type ${typeName} = ${unionType4(value.keys())}`);
1203
1203
  set.add(`export type ColorPalette = ${unionType4(Object.keys(dict.colorPalettes))}`);
1204
1204
  interfaceSet.add(` ${key}: ${typeName}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/node",
3
- "version": "0.0.0-dev-20221222091205",
3
+ "version": "0.0.0-dev-20221222091824",
4
4
  "description": "The core css panda library",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "dependencies": {
17
17
  "chokidar": "^3.5.3",
18
- "fast-glob": "^3.2.11",
18
+ "fast-glob": "^3.2.12",
19
19
  "fs-extra": "11.1.0",
20
20
  "is-glob": "^4.0.3",
21
21
  "glob-parent": "^6.0.2",
@@ -30,15 +30,15 @@
30
30
  "telejson": "7.0.4",
31
31
  "ts-pattern": "4.0.6",
32
32
  "ts-morph": "17.0.1",
33
- "@pandacss/types": "0.0.0-dev-20221222091205",
34
- "@pandacss/is-valid-prop": "0.0.0-dev-20221222091205",
35
- "@pandacss/error": "0.0.0-dev-20221222091205",
36
- "@pandacss/parser": "0.0.0-dev-20221222091205",
37
- "@pandacss/shared": "0.0.0-dev-20221222091205",
38
- "@pandacss/token-dictionary": "0.0.0-dev-20221222091205",
39
- "@pandacss/logger": "0.0.0-dev-20221222091205",
40
- "@pandacss/core": "0.0.0-dev-20221222091205",
41
- "@pandacss/config": "0.0.0-dev-20221222091205"
33
+ "@pandacss/types": "0.0.0-dev-20221222091824",
34
+ "@pandacss/is-valid-prop": "0.0.0-dev-20221222091824",
35
+ "@pandacss/error": "0.0.0-dev-20221222091824",
36
+ "@pandacss/parser": "0.0.0-dev-20221222091824",
37
+ "@pandacss/shared": "0.0.0-dev-20221222091824",
38
+ "@pandacss/token-dictionary": "0.0.0-dev-20221222091824",
39
+ "@pandacss/logger": "0.0.0-dev-20221222091824",
40
+ "@pandacss/core": "0.0.0-dev-20221222091824",
41
+ "@pandacss/config": "0.0.0-dev-20221222091824"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/fs-extra": "9.0.13",
@@ -46,7 +46,7 @@
46
46
  "@types/glob-parent": "^5.1.1",
47
47
  "@types/pluralize": "0.0.29",
48
48
  "@types/lodash.merge": "4.6.7",
49
- "@pandacss/fixture": "0.0.0-dev-20221222091205"
49
+ "@pandacss/fixture": "0.0.0-dev-20221222091824"
50
50
  },
51
51
  "scripts": {
52
52
  "build": "tsup src/index.ts --format=cjs,esm --shims --dts",