@pandacss/node 0.0.0-dev-20230207052609 → 0.0.0-dev-20230207081825

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
@@ -1866,7 +1866,13 @@ function extractFile(ctx, file) {
1866
1866
  { file: path.abs(cwd, file) },
1867
1867
  (0, import_lil_fp2.tap)(() => import_logger2.logger.debug("file:extract", file)),
1868
1868
  import_lil_fp2.Obj.bind("measure", () => import_logger2.logger.time.debug(`Extracted ${file}`)),
1869
- import_lil_fp2.Obj.bind("result", ({ file: file2 }) => ctx.project.parseSourceFile(file2)),
1869
+ import_lil_fp2.Obj.bind(
1870
+ "result",
1871
+ (0, import_lil_fp2.tryCatch)(
1872
+ ({ file: file2 }) => ctx.project.parseSourceFile(file2),
1873
+ (error) => import_logger2.logger.error("file:parse", error)
1874
+ )
1875
+ ),
1870
1876
  import_lil_fp2.Obj.bind("css", ({ result }) => result ? ctx.getParserCss(result) : void 0),
1871
1877
  (0, import_lil_fp2.tap)(({ measure }) => measure()),
1872
1878
  ({ css }) => css
package/dist/index.mjs CHANGED
@@ -579,7 +579,7 @@ async function loadConfigAndCreateContext(options = {}) {
579
579
  // src/extract.ts
580
580
  init_esm_shims();
581
581
  import { logger as logger2 } from "@pandacss/logger";
582
- import { Obj as Obj2, pipe as pipe2, tap as tap2 } from "lil-fp";
582
+ import { Obj as Obj2, pipe as pipe2, tap as tap2, tryCatch } from "lil-fp";
583
583
 
584
584
  // src/cli-box.ts
585
585
  init_esm_shims();
@@ -1853,7 +1853,13 @@ function extractFile(ctx, file) {
1853
1853
  { file: path.abs(cwd, file) },
1854
1854
  tap2(() => logger2.debug("file:extract", file)),
1855
1855
  Obj2.bind("measure", () => logger2.time.debug(`Extracted ${file}`)),
1856
- Obj2.bind("result", ({ file: file2 }) => ctx.project.parseSourceFile(file2)),
1856
+ Obj2.bind(
1857
+ "result",
1858
+ tryCatch(
1859
+ ({ file: file2 }) => ctx.project.parseSourceFile(file2),
1860
+ (error) => logger2.error("file:parse", error)
1861
+ )
1862
+ ),
1857
1863
  Obj2.bind("css", ({ result }) => result ? ctx.getParserCss(result) : void 0),
1858
1864
  tap2(({ measure }) => measure()),
1859
1865
  ({ css }) => css
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/node",
3
- "version": "0.0.0-dev-20230207052609",
3
+ "version": "0.0.0-dev-20230207081825",
4
4
  "description": "The core css panda library",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -21,7 +21,7 @@
21
21
  "hookable": "5.4.2",
22
22
  "is-glob": "^4.0.3",
23
23
  "javascript-stringify": "2.1.0",
24
- "lil-fp": "1.2.3",
24
+ "lil-fp": "1.2.4",
25
25
  "lodash.merge": "4.6.2",
26
26
  "look-it-up": "2.1.0",
27
27
  "outdent": " ^0.8.0",
@@ -29,18 +29,18 @@
29
29
  "pluralize": "8.0.0",
30
30
  "postcss": "8.4.21",
31
31
  "preferred-pm": "^3.0.3",
32
- "ts-pattern": "4.1.3",
32
+ "ts-pattern": "4.1.4",
33
33
  "ts-morph": "17.0.1",
34
- "@pandacss/config": "0.0.0-dev-20230207052609",
35
- "@pandacss/generator": "0.0.0-dev-20230207052609",
36
- "@pandacss/core": "0.0.0-dev-20230207052609",
37
- "@pandacss/error": "0.0.0-dev-20230207052609",
38
- "@pandacss/is-valid-prop": "0.0.0-dev-20230207052609",
39
- "@pandacss/logger": "0.0.0-dev-20230207052609",
40
- "@pandacss/parser": "0.0.0-dev-20230207052609",
41
- "@pandacss/shared": "0.0.0-dev-20230207052609",
42
- "@pandacss/token-dictionary": "0.0.0-dev-20230207052609",
43
- "@pandacss/types": "0.0.0-dev-20230207052609"
34
+ "@pandacss/config": "0.0.0-dev-20230207081825",
35
+ "@pandacss/generator": "0.0.0-dev-20230207081825",
36
+ "@pandacss/core": "0.0.0-dev-20230207081825",
37
+ "@pandacss/error": "0.0.0-dev-20230207081825",
38
+ "@pandacss/is-valid-prop": "0.0.0-dev-20230207081825",
39
+ "@pandacss/logger": "0.0.0-dev-20230207081825",
40
+ "@pandacss/parser": "0.0.0-dev-20230207081825",
41
+ "@pandacss/shared": "0.0.0-dev-20230207081825",
42
+ "@pandacss/token-dictionary": "0.0.0-dev-20230207081825",
43
+ "@pandacss/types": "0.0.0-dev-20230207081825"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@types/fs-extra": "11.0.1",
@@ -49,7 +49,7 @@
49
49
  "@types/lodash.merge": "4.6.7",
50
50
  "@types/pluralize": "0.0.29",
51
51
  "boxen": "^7.0.1",
52
- "@pandacss/fixture": "0.0.0-dev-20230207052609"
52
+ "@pandacss/fixture": "0.0.0-dev-20230207081825"
53
53
  },
54
54
  "scripts": {
55
55
  "build": "tsup src/index.ts --format=cjs,esm --shims --dts",