@graphql-codegen/cli 5.0.6-alpha-20250414130927-b56ff88c8b45007e0bf5f1dd81f20250f7ab7508 → 5.0.6-alpha-20250414132312-2cacfbb956012f0df94008f4636b6c03ccca15b4
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/cjs/generate-and-save.js
CHANGED
|
@@ -124,7 +124,9 @@ function isConfiguredOutput(output) {
|
|
|
124
124
|
}
|
|
125
125
|
async function hashFile(filePath) {
|
|
126
126
|
try {
|
|
127
|
-
|
|
127
|
+
const fileContent = await (0, file_system_js_1.readFile)(filePath);
|
|
128
|
+
fileContent.replace(/\r\n/g, '\n');
|
|
129
|
+
return hash(fileContent);
|
|
128
130
|
}
|
|
129
131
|
catch (err) {
|
|
130
132
|
if (err && err.code === 'ENOENT') {
|
package/esm/generate-and-save.js
CHANGED
|
@@ -121,7 +121,9 @@ function isConfiguredOutput(output) {
|
|
|
121
121
|
}
|
|
122
122
|
async function hashFile(filePath) {
|
|
123
123
|
try {
|
|
124
|
-
|
|
124
|
+
const fileContent = await readFile(filePath);
|
|
125
|
+
fileContent.replace(/\r\n/g, '\n');
|
|
126
|
+
return hash(fileContent);
|
|
125
127
|
}
|
|
126
128
|
catch (err) {
|
|
127
129
|
if (err && err.code === 'ENOENT') {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-codegen/cli",
|
|
3
|
-
"version": "5.0.6-alpha-
|
|
3
|
+
"version": "5.0.6-alpha-20250414132312-2cacfbb956012f0df94008f4636b6c03ccca15b4",
|
|
4
4
|
"peerDependenciesMeta": {
|
|
5
5
|
"@parcel/watcher": {
|
|
6
6
|
"optional": true
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"@babel/generator": "^7.18.13",
|
|
15
15
|
"@babel/template": "^7.18.10",
|
|
16
16
|
"@babel/types": "^7.18.13",
|
|
17
|
-
"@graphql-codegen/client-preset": "4.8.1-alpha-
|
|
17
|
+
"@graphql-codegen/client-preset": "4.8.1-alpha-20250414132312-2cacfbb956012f0df94008f4636b6c03ccca15b4",
|
|
18
18
|
"@graphql-codegen/core": "^4.0.2",
|
|
19
19
|
"@graphql-codegen/plugin-helpers": "^5.0.3",
|
|
20
20
|
"@graphql-tools/apollo-engine-loader": "^8.0.0",
|