rename core-module environment to twenty-config (#11445)

closes https://github.com/twentyhq/core-team-issues/issues/759
This commit is contained in:
nitin
2025-04-09 17:41:26 +05:30
committed by GitHub
parent fe6d0241a8
commit bd3ec6d5e3
193 changed files with 1454 additions and 1422 deletions

View File

@ -18,14 +18,14 @@ if (packageChanged && !lockfileChanged) {
warn(`${message} - <i>${idea}</i>`);
}
// Check if .env.example was changed, but not environment variable documentation
// Check if .env.example was changed, but not config variable documentation
const envChanged =
danger.git.modified_files.find((x) => x.includes('.env.example')) ||
danger.git.modified_files.find((x) => x.includes('environment.service.ts'));
danger.git.modified_files.find((x) => x.includes('twenty-config.service.ts'));
const envDocsChanged = danger.git.modified_files.includes('self-hosting.mdx');
if (envChanged && !envDocsChanged) {
const message =
'Changes were made to the environment variables, but not to the documentation';
'Changes were made to the config variables, but not to the documentation';
const idea =
'Please review your changes and check if a change needs to be documented!';
warn(`${message} - <i>${idea}</i>`);