Skip to content

Commit

Permalink
chore: rename to gouvfr-lasuite
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasduteil committed Nov 21, 2024
1 parent 250f40c commit 34c67da
Show file tree
Hide file tree
Showing 12 changed files with 47 additions and 33 deletions.
31 changes: 16 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"watch:ejs": "CHOKIDAR_USEPOLLING=true copy-and-watch --clean --watch \"src/views/**/*.ejs\" src/views/*.ejs build/views/",
"watch:js": "tsc --watch --preserveWatchOutput",
"watch:node": "tsx --watch src/index.ts",
"watch:workspaces:core": "npm run dev --if-present --workspace=@numerique-gouv/moncomptepro.core",
"watch:workspaces:email": "npm run dev --if-present --workspace=@numerique-gouv/moncomptepro.email"
"watch:workspaces:core": "npm run dev --if-present --workspace=@gouvfr-lasuite/moncomptepro.core",
"watch:workspaces:email": "npm run dev --if-present --workspace=@gouvfr-lasuite/moncomptepro.email"
},
"prettier": {
"plugins": [
Expand All @@ -51,8 +51,8 @@
"@gouvfr/dsfr": "^1.12.1",
"@kitajs/html": "^4.2.4",
"@kitajs/ts-html-plugin": "^4.1.0",
"@numerique-gouv/crisp": "https://github.com/douglasduteil/crisp/releases/download/v1.6.1/douglasduteil-crisp-1.6.1.tgz",
"@numerique-gouv/moncomptepro.core": "workspace:*",
"@gouvfr-lasuite/crisp": "https://github.com/douglasduteil/crisp/releases/download/v1.6.1/douglasduteil-crisp-1.6.1.tgz",
"@gouvfr-lasuite/moncomptepro.core": "workspace:*",
"@panva/jose": "^1.9.3",
"@sentry/node": "^8.39.0",
"@sentry/tracing": "^7.114.0",
Expand Down
15 changes: 14 additions & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
{
"name": "@numerique-gouv/moncomptepro.core",
"name": "@gouvfr-lasuite/moncomptepro.core",
"version": "0.0.0",
"private": true,
"homepage": "https://github.com/numerique-gouv/moncomptepro/tree/master/packages/core#readme",
"bugs": "https://github.com/numerique-gouv/moncomptepro/issues",
"repository": {
"type": "git",
"url": "git+https://github.com/numerique-gouv/moncomptepro.git",
"directory": "packages/core"
},
"license": "MIT",
"sideEffects": false,
"type": "module",
"imports": {
"#src/*": {
Expand Down Expand Up @@ -38,5 +47,9 @@
"chai": "^5.1.1",
"tsx": "^4.17.0",
"mocha": "^10.7.3"
},
"publishConfig": {
"access": "public",
"provenance": true
}
}
6 changes: 3 additions & 3 deletions packages/email/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @numerique-gouv/moncomptepro.email
# @gouvfr-lasuite/moncomptepro.email

## 0.0.2-alpha.2

Expand Down Expand Up @@ -28,13 +28,13 @@

- [#831](https://github.com/numerique-gouv/moncomptepro/pull/831) [`9d709d3`](https://github.com/numerique-gouv/moncomptepro/commit/9d709d35dfcfd02f13fcf08ad7d5bc2758ae3a47) Thanks [@douglasduteil](https://github.com/douglasduteil)! - (Test de publication)

- [#831](https://github.com/numerique-gouv/moncomptepro/pull/831) [`fc99d9a`](https://github.com/numerique-gouv/moncomptepro/commit/fc99d9a466ef61fe07430960eb17f8c499b3a542) Thanks [@douglasduteil](https://github.com/douglasduteil)! - Utilisation de @numerique-gouv/moncomptepro.email comme package test
- [#831](https://github.com/numerique-gouv/moncomptepro/pull/831) [`fc99d9a`](https://github.com/numerique-gouv/moncomptepro/commit/fc99d9a466ef61fe07430960eb17f8c499b3a542) Thanks [@douglasduteil](https://github.com/douglasduteil)! - Utilisation de @gouvfr-lasuite/moncomptepro.email comme package test

## 0.0.1-alpha.2

### Patch Changes

- [#831](https://github.com/numerique-gouv/moncomptepro/pull/831) [`fc99d9a`](https://github.com/numerique-gouv/moncomptepro/commit/fc99d9a466ef61fe07430960eb17f8c499b3a542) Thanks [@douglasduteil](https://github.com/douglasduteil)! - Utilisation de @numerique-gouv/moncomptepro.email comme package test
- [#831](https://github.com/numerique-gouv/moncomptepro/pull/831) [`fc99d9a`](https://github.com/numerique-gouv/moncomptepro/commit/fc99d9a466ef61fe07430960eb17f8c499b3a542) Thanks [@douglasduteil](https://github.com/douglasduteil)! - Utilisation de @gouvfr-lasuite/moncomptepro.email comme package test

## 0.0.1-alpha.1

Expand Down
4 changes: 2 additions & 2 deletions packages/email/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# @numerique-gouv/moncomptepro.email
# @gouvfr-lasuite/moncomptepro.email

## Usage

```ts
import { DeleteFreeTotpMail } from "@numerique-gouv/moncomptepro.email";
import { DeleteFreeTotpMail } from "@gouvfr-lasuite/moncomptepro.email";

const transporter = nodemailer.createTransport({
host: "smtp.example.com",
Expand Down
4 changes: 2 additions & 2 deletions src/connectors/crisp.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
//

import { fetch_crisp, type Config } from "@numerique-gouv/crisp";
import { fetch_crisp, type Config } from "@gouvfr-lasuite/crisp";
import type {
CreateConversationRoute,
SendMessageInAConversationRoute,
UpdateConversationMetaRoute,
UpdateConversationStateRoute,
} from "@numerique-gouv/crisp/router/conversation";
} from "@gouvfr-lasuite/crisp/router/conversation";
import {
CRISP_BASE_URL,
CRISP_IDENTIFIER,
Expand Down
2 changes: 1 addition & 1 deletion src/managers/moderation.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ModerationProcessed } from "@numerique-gouv/moncomptepro.email";
import { ModerationProcessed } from "@gouvfr-lasuite/moncomptepro.email";
import { isEmpty } from "lodash-es";
import { MONCOMPTEPRO_HOST } from "../config/env";
import { ForbiddenError, NotFoundError } from "../config/errors";
Expand Down
2 changes: 1 addition & 1 deletion src/managers/organization/join.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Welcome } from "@numerique-gouv/moncomptepro.email";
import { Welcome } from "@gouvfr-lasuite/moncomptepro.email";
import * as Sentry from "@sentry/node";
import { isEmpty, some } from "lodash-es";
import {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { OfficialContactEmailVerification } from "@numerique-gouv/moncomptepro.email";
import { OfficialContactEmailVerification } from "@gouvfr-lasuite/moncomptepro.email";
import { isEmpty } from "lodash-es";
import { MONCOMPTEPRO_HOST } from "../../config/env";
import {
Expand Down
2 changes: 1 addition & 1 deletion src/managers/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
UpdatePersonalDataMail,
UpdateTotpApplication,
VerifyEmail,
} from "@numerique-gouv/moncomptepro.email";
} from "@gouvfr-lasuite/moncomptepro.email";
import { isEmpty } from "lodash-es";
import {
EmailUnavailableError,
Expand Down
2 changes: 1 addition & 1 deletion src/services/did-you-mean.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import mostUsedFreeEmailDomains from "@numerique-gouv/moncomptepro.core/data/most-used-free-email-domains.js";
import mostUsedFreeEmailDomains from "@gouvfr-lasuite/moncomptepro.core/data/most-used-free-email-domains.js";
import { run as spellCheckEmail } from "@zootools/email-spell-checker";
import gouvfrDomains from "../data/gouvfr-domains";
import otherGouvDomains from "../data/other-gouv-domains";
Expand Down
2 changes: 1 addition & 1 deletion src/services/email.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//

import { isAFreeDomain } from "@numerique-gouv/moncomptepro.core/services/email/isAFreeDomain.js";
import { isAFreeDomain } from "@gouvfr-lasuite/moncomptepro.core/services/email/isAFreeDomain.js";
import { parse_host } from "tld-extract";
import {
FEATURE_CONSIDER_ALL_EMAIL_DOMAINS_AS_FREE,
Expand Down

0 comments on commit 34c67da

Please sign in to comment.