Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 76f79ae

Browse files
committedJun 17, 2025·
chore: add comment to cesconfig.json to indicate it is an optional file for debugging purposes
1 parent 1198f6f commit 76f79ae

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed
 

‎.changeset/sixty-pillows-float.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'create-expo-stack': patch
3+
'rn-new': patch
4+
---
5+
6+
chore: add comment to cesconfig.json to indicate it is an optional file for debugging purposes

‎cli/src/utilities/configureProjectFiles.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,12 @@ export function configureProjectFiles(
382382
}
383383
};
384384

385-
toolbox.filesystem.write(`./${cliResults.projectName}/cesconfig.json`, JSON.stringify(cesConfig, null, 2));
385+
toolbox.filesystem.write(
386+
`./${cliResults.projectName}/cesconfig.json`,
387+
`// This is an optional configuration file used primarily for debugging purposes when reporting issues.
388+
// It is safe to delete this file as it does not affect the functionality of your application.
389+
${JSON.stringify(cesConfig, null, 2)}`
390+
);
386391

387392
const pkg = require('../../package.json');
388393

0 commit comments

Comments
 (0)
Please sign in to comment.