Skip to content

Commit f2cc476

Browse files
douglasduteilclaude
andcommitted
🎭 refactor: rename MonComptePro to ProConnect Identité
- Update database credentials in compose.yml and .env files - Update documentation commands in README.md and installation.md - Update package changelog headers - Update test database URLs 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 6175bf5 commit f2cc476

File tree

10 files changed

+16
-16
lines changed

10 files changed

+16
-16
lines changed

.env.development

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
DATABASE_URL=postgres://moncomptepro:moncomptepro@127.0.0.1:5432/moncomptepro
1+
DATABASE_URL=postgres://proconnect-identite:proconnect-identite@127.0.0.1:5432/proconnect-identite
22
FRANCECONNECT_ISSUER=http://localhost:3000/___testing___/oidc.franceconnect.gouv.fr/api/v2
33
NODE_TLS_REJECT_UNAUTHORIZED=0 # from https://github.com/maildev/maildev?tab=readme-ov-file#configure-your-project
44
SMTP_URL=smtp://localhost:1025

.env.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
DATABASE_URL=postgres://moncomptepro:moncomptepro@127.0.0.1:5432/moncomptepro
1+
DATABASE_URL=postgres://proconnect-identite:proconnect-identite@127.0.0.1:5432/proconnect-identite
22
FEATURE_CHECK_EMAIL_DELIVERABILITY=True
33
FEATURE_CONSIDER_ALL_EMAIL_DOMAINS_AS_NON_FREE=False
44
FEATURE_USE_ANNUAIRE_EMAILS=True

.github/workflows/end-to-end.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
env:
1010
CYPRESS_RECORD: true
11-
DATABASE_URL: postgres://moncomptepro:moncomptepro@localhost:5432/moncomptepro
11+
DATABASE_URL: postgres://proconnect-identite:proconnect-identite@localhost:5432/proconnect-identite
1212
DEBOUNCE_API_KEY: ${{ secrets.DEBOUNCE_API_KEY }}
1313
FRANCECONNECT_ISSUER: http://localhost:3000/___testing___/oidc.franceconnect.gouv.fr/api/v2
1414
SMTP_URL: smtp://localhost:1025

.github/workflows/fixtures.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ on:
88

99
env:
1010
ACCESS_LOG_PATH:
11-
DATABASE_URL: postgres://moncomptepro:moncomptepro@127.0.0.1:5432/moncomptepro
11+
DATABASE_URL: postgres://proconnect-identite:proconnect-identite@127.0.0.1:5432/proconnect-identite
1212
NODE_ENV: test
13-
PGDATABASE: moncomptepro
13+
PGDATABASE: proconnect-identite
1414
PGHOST: 127.0.0.1
15-
PGPASSWORD: moncomptepro
15+
PGPASSWORD: proconnect-identite
1616
PGPORT: 5432
17-
PGUSER: moncomptepro
17+
PGUSER: proconnect-identite
1818
SMTP_URL: smtp://localhost:1025
1919
SYMMETRIC_ENCRYPTION_KEY: aTrueRandom32BytesLongBase64EncodedStringAA=
2020

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ Docker Compose initializes both a PostgreSQL and a Redis database.
137137
To connect to these databases, use the following commands:
138138

139139
```bash
140-
docker compose exec db psql postgres://moncomptepro:moncomptepro@db:5432/moncomptepro
140+
docker compose exec db psql postgres://proconnect-identite:proconnect-identite@db:5432/proconnect-identite
141141
docker compose exec redis redis-cli -h redis -p 6379
142142
```
143143

compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ services:
44
ports:
55
- "5432:5432"
66
environment:
7-
POSTGRES_USER: moncomptepro
8-
POSTGRES_PASSWORD: moncomptepro
9-
POSTGRES_DB: moncomptepro
7+
POSTGRES_USER: proconnect-identite
8+
POSTGRES_PASSWORD: proconnect-identite
9+
POSTGRES_DB: proconnect-identite
1010
volumes:
1111
- db-data:/var/lib/postgresql/data
1212

installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Docker Compose initializes both a PostgreSQL and a Redis database.
8585
To connect to these databases, use the following commands:
8686

8787
```bash
88-
docker compose exec db psql postgres://moncomptepro:moncomptepro@db:5432/moncomptepro
88+
docker compose exec db psql postgres://proconnect-identite:proconnect-identite@db:5432/proconnect-identite
8989
docker compose exec redis redis-cli -h redis -p 6379
9090
```
9191

packages/core/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# @gouvfr-lasuite/moncomptepro.core
1+
# @gouvfr-lasuite/proconnect.core
22

33
## 0.5.0
44

packages/email/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# @gouvfr-lasuite/moncomptepro.email
1+
# @gouvfr-lasuite/proconnect.email
22

33
## 0.1.2
44

test/env.zod.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ describe("env.zod", () => {
1111
it("default sample env", () => {
1212
const sample_env = {
1313
DATABASE_URL:
14-
"postgres://moncomptepro:moncomptepro@127.0.0.1:5432/moncomptepro",
14+
"postgres://proconnect-identite:proconnect-identite@127.0.0.1:5432/proconnect-identite",
1515
ENTREPRISE_API_TOKEN: "ENTREPRISE_API_TOKEN",
1616
FRANCECONNECT_ISSUER:
1717
"http://localhost:3000/___testing___/oidc.franceconnect.gouv.fr/api/v2",
@@ -47,7 +47,7 @@ describe("env.zod", () => {
4747
CRISP_USER_NICKNAME: "ProConnect",
4848
CRISP_WEBSITE_ID: "",
4949
DATABASE_URL:
50-
"postgres://moncomptepro:moncomptepro@127.0.0.1:5432/moncomptepro",
50+
"postgres://proconnect-identite:proconnect-identite@127.0.0.1:5432/proconnect-identite",
5151
DEBOUNCE_API_KEY: "",
5252
DEPLOY_ENV: "localhost",
5353
DIRTY_DS_REDIRECTION_URL:

0 commit comments

Comments
 (0)