@pandacss/node 0.0.0-dev-20221203184348 → 0.0.0-dev-20221204052723

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
@@ -1815,7 +1815,7 @@ function createContext(conf, io = fileSystem) {
1815
1815
  async write(file, css2) {
1816
1816
  const fileName = chunks.format(file);
1817
1817
  const oldCss = await chunks.readFile(file);
1818
- const newCss = (0, import_core3.discardDuplicate)([css2.trim(), oldCss.trim()].filter(Boolean).join("\n\n"));
1818
+ const newCss = (0, import_core3.discardDuplicate)([oldCss.trim(), css2.trim()].filter(Boolean).join("\n\n"));
1819
1819
  import_logger4.logger.debug({ type: "chunk:write", file, path: fileName });
1820
1820
  return write(paths.chunk, [{ file: fileName, code: newCss }]);
1821
1821
  },
@@ -2058,7 +2058,7 @@ var Builder = class {
2058
2058
  configChanged = true;
2059
2059
  updateFile(file, css2) {
2060
2060
  const oldCss = this.fileCssMap?.get(file) ?? "";
2061
- const newCss = (0, import_core4.discardDuplicate)([css2, oldCss].join("\n\n"));
2061
+ const newCss = (0, import_core4.discardDuplicate)([oldCss, css2].join("\n\n"));
2062
2062
  this.fileCssMap?.set(file, newCss);
2063
2063
  }
2064
2064
  async setup() {
package/dist/index.mjs CHANGED
@@ -1776,7 +1776,7 @@ function createContext(conf, io = fileSystem) {
1776
1776
  async write(file, css2) {
1777
1777
  const fileName = chunks.format(file);
1778
1778
  const oldCss = await chunks.readFile(file);
1779
- const newCss = discardDuplicate([css2.trim(), oldCss.trim()].filter(Boolean).join("\n\n"));
1779
+ const newCss = discardDuplicate([oldCss.trim(), css2.trim()].filter(Boolean).join("\n\n"));
1780
1780
  logger4.debug({ type: "chunk:write", file, path: fileName });
1781
1781
  return write(paths.chunk, [{ file: fileName, code: newCss }]);
1782
1782
  },
@@ -2019,7 +2019,7 @@ var Builder = class {
2019
2019
  configChanged = true;
2020
2020
  updateFile(file, css2) {
2021
2021
  const oldCss = this.fileCssMap?.get(file) ?? "";
2022
- const newCss = discardDuplicate2([css2, oldCss].join("\n\n"));
2022
+ const newCss = discardDuplicate2([oldCss, css2].join("\n\n"));
2023
2023
  this.fileCssMap?.set(file, newCss);
2024
2024
  }
2025
2025
  async setup() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/node",
3
- "version": "0.0.0-dev-20221203184348",
3
+ "version": "0.0.0-dev-20221204052723",
4
4
  "description": "The core css panda library",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -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-20221203184348",
34
- "@pandacss/is-valid-prop": "0.0.0-dev-20221203184348",
35
- "@pandacss/error": "0.0.0-dev-20221203184348",
36
- "@pandacss/parser": "0.0.0-dev-20221203184348",
37
- "@pandacss/shared": "0.0.0-dev-20221203184348",
38
- "@pandacss/token-dictionary": "0.0.0-dev-20221203184348",
39
- "@pandacss/logger": "0.0.0-dev-20221203184348",
40
- "@pandacss/core": "0.0.0-dev-20221203184348",
41
- "@pandacss/config": "0.0.0-dev-20221203184348"
33
+ "@pandacss/types": "0.0.0-dev-20221204052723",
34
+ "@pandacss/is-valid-prop": "0.0.0-dev-20221204052723",
35
+ "@pandacss/error": "0.0.0-dev-20221204052723",
36
+ "@pandacss/parser": "0.0.0-dev-20221204052723",
37
+ "@pandacss/shared": "0.0.0-dev-20221204052723",
38
+ "@pandacss/token-dictionary": "0.0.0-dev-20221204052723",
39
+ "@pandacss/logger": "0.0.0-dev-20221204052723",
40
+ "@pandacss/core": "0.0.0-dev-20221204052723",
41
+ "@pandacss/config": "0.0.0-dev-20221204052723"
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-20221203184348"
49
+ "@pandacss/fixture": "0.0.0-dev-20221204052723"
50
50
  },
51
51
  "scripts": {
52
52
  "build": "tsup src/index.ts --format=cjs,esm --shims --dts",