@graphcommerce/next-config 9.0.3 → 9.0.4-canary.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Change Log
2
2
 
3
+ ## 9.0.4-canary.0
4
+
5
+ ### Patch Changes
6
+
7
+ - [#2472](https://github.com/graphcommerce-org/graphcommerce/pull/2472) [`905157b`](https://github.com/graphcommerce-org/graphcommerce/commit/905157bec2c9e1dcf51b6e6f7b6913aa9be7b609) - Solve issue with chalk compilation because we’re not migrated to esm modules. ([@paales](https://github.com/paales))
8
+
3
9
  ## 9.0.3
4
10
 
5
11
  ## 9.0.3-canary.0
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/next-config",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "9.0.3",
5
+ "version": "9.0.4-canary.0",
6
6
  "type": "commonjs",
7
7
  "main": "dist/index.js",
8
8
  "types": "src/index.ts",
@@ -17,6 +17,7 @@
17
17
  "@types/circular-dependency-plugin": "^5.0.8",
18
18
  "@types/lodash": "^4.17.13",
19
19
  "babel-plugin-macros": "^3.1.0",
20
+ "chalk": "^4",
20
21
  "circular-dependency-plugin": "^5.2.2",
21
22
  "fast-glob": "^3.3.2",
22
23
  "glob": "^10.4.5",
@@ -1,20 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const promises_1 = __importDefault(require("fs/promises"));
7
- // ... earlier code remains the same ...
8
- try {
9
- targetContent = await promises_1.default.readFile(targetPath);
10
- }
11
- catch (err) {
12
- if (err.code !== 'ENOENT')
13
- throw err;
14
- // File doesn't exist, log that we're creating it
15
- console.log(`Creating new file: ${file}`);
16
- }
17
- // Skip if content is identical
18
- if (targetContent && Buffer.compare(sourceContent, targetContent) === 0)
19
- return;
20
- // ... rest of the code remains the same ...