diff --git a/README.md b/README.md index 6f6ee9aea..2fca027e8 100644 --- a/README.md +++ b/README.md @@ -30,3 +30,8 @@ cd silverback-mono pnpm i pnpm build ``` + +## Notes + +- `.envrc` is created automatically via composer install, however it won't be + overwritten If it already exists. diff --git a/packages/composer/amazeelabs/silverback-cli/composer.json b/packages/composer/amazeelabs/silverback-cli/composer.json index 79444c0e7..aa74fb3d4 100644 --- a/packages/composer/amazeelabs/silverback-cli/composer.json +++ b/packages/composer/amazeelabs/silverback-cli/composer.json @@ -24,7 +24,10 @@ "drupal-scaffold": { "file-mapping": { "[project-root]/.env.local.example": "assets/.env.local.example", - "[project-root]/.envrc": "assets/.envrc", + "[project-root]/.envrc": { + "path": "assets/.envrc", + "override": false + }, "[project-root]/.gitignore": { "append": "assets/.gitignore.append.txt", "force-append": true