Skip to content

Commit

Permalink
release: 2024-02-23 (#1121)
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq[bot] authored Feb 23, 2024
2 parents df84b88 + e9fd88f commit 7d1426c
Show file tree
Hide file tree
Showing 45 changed files with 3,787 additions and 2,312 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ jobs:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: 🏗 Initialize CodeQL
uses: github/codeql-action/init@379614612a29c9e28f31f39a59013eb8012a51f0 # v3
uses: github/codeql-action/init@47b3d888fe66b639e431abf22ebca059152f1eea # v3
- name: 🚀 Perform CodeQL Analysis
uses: github/codeql-action/analyze@379614612a29c9e28f31f39a59013eb8012a51f0 # v3
uses: github/codeql-action/analyze@47b3d888fe66b639e431abf22ebca059152f1eea # v3
22 changes: 0 additions & 22 deletions .github/workflows/codesee-arch-diagram.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/nextjs_bundle_analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
path: /home/runner/work/InReach/InReach/apps/app/.next/analyze/__bundle_analysis.json

- name: Download base branch bundle stats
uses: dawidd6/action-download-artifact@f6b0bace624032e30a85a8fd9c1a7f8f611f5737 # v3
uses: dawidd6/action-download-artifact@v3.1.2
if: success() && github.event.number
with:
workflow: nextjs_bundle_analysis.yml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/njsscan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ jobs:
with:
args: '. --sarif --output results.sarif || true'
- name: Upload njsscan report
uses: github/codeql-action/upload-sarif@379614612a29c9e28f31f39a59013eb8012a51f0 # v3
uses: github/codeql-action/upload-sarif@47b3d888fe66b639e431abf22ebca059152f1eea # v3
with:
sarif_file: results.sarif
20 changes: 16 additions & 4 deletions apps/app/lib/generators/translationKeys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import prettier from 'prettier'

import fs from 'fs'

import { prisma } from '@weareinreach/db'
import { prisma, type Prisma } from '@weareinreach/db'
import { type PassedTask } from 'lib/generate'

const localePath = 'public/locales/en'
Expand All @@ -24,10 +24,22 @@ const countKeys = (obj: Output): number => Object.keys(flatten(obj)).length
export const generateTranslationKeys = async (task: PassedTask) => {
const prettierOpts = (await prettier.resolveConfig(__filename)) ?? undefined

const where = (): Prisma.TranslationNamespaceWhereInput | undefined => {
switch (true) {
case !!process.env.EXPORT_ALL: {
return undefined
}
case !!process.env.EXPORT_DB: {
return { name: 'org-data' }
}
default: {
return { exportFile: true }
}
}
}

const data = await prisma.translationNamespace.findMany({
where: {
exportFile: process.env.EXPORT_ALL ? undefined : true,
},
where: where(),
include: {
keys: {
orderBy: {
Expand Down
38 changes: 19 additions & 19 deletions apps/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,21 +44,21 @@
"@opentelemetry/sdk-trace-base": "1.21.0",
"@opentelemetry/sdk-trace-node": "1.21.0",
"@opentelemetry/semantic-conventions": "1.21.0",
"@prisma/instrumentation": "5.9.1",
"@sentry/browser": "7.101.1",
"@sentry/nextjs": "7.101.1",
"@sentry/node": "7.101.1",
"@sentry/opentelemetry": "7.101.1",
"@sentry/opentelemetry-node": "7.101.1",
"@sentry/profiling-node": "7.101.1",
"@prisma/instrumentation": "5.10.2",
"@sentry/browser": "7.102.1",
"@sentry/nextjs": "7.102.1",
"@sentry/node": "7.102.1",
"@sentry/opentelemetry": "7.102.1",
"@sentry/opentelemetry-node": "7.102.1",
"@sentry/profiling-node": "7.102.1",
"@tanstack/react-query": "4.36.1",
"@tanstack/react-table": "8.12.0",
"@trpc/client": "10.45.1",
"@trpc/next": "10.45.1",
"@trpc/react-query": "10.45.1",
"@trpc/server": "10.45.1",
"@vercel/analytics": "1.2.0",
"@vercel/edge-config": "1.0.0",
"@vercel/analytics": "1.2.2",
"@vercel/edge-config": "1.0.2",
"@vercel/kv": "1.0.1",
"@vercel/speed-insights": "1.0.10",
"@weareinreach/analytics": "workspace:*",
Expand All @@ -75,10 +75,10 @@
"embla-carousel-autoplay": "7.1.0",
"embla-carousel-react": "7.1.0",
"flat": "6.0.1",
"i18next": "23.8.2",
"i18next": "23.10.0",
"i18next-browser-languagedetector": "7.2.0",
"i18next-chained-backend": "4.6.2",
"i18next-http-backend": "2.4.3",
"i18next-http-backend": "2.5.0",
"i18next-intervalplural-postprocessor": "3.0.0",
"i18next-multiload-backend-adapter": "2.3.0",
"just-compact": "3.2.0",
Expand All @@ -105,24 +105,24 @@
"devDependencies": {
"@hookform/devtools": "4.3.1",
"@playwright/test": "1.41.2",
"@prisma/nextjs-monorepo-workaround-plugin": "5.9.1",
"@prisma/nextjs-monorepo-workaround-plugin": "5.10.2",
"@tanstack/react-query-devtools": "4.36.1",
"@tanstack/react-table-devtools": "8.12.0",
"@total-typescript/ts-reset": "0.5.1",
"@types/eslint": "8.56.2",
"@types/eslint": "8.56.3",
"@types/gtag.js": "0.0.19",
"@types/luxon": "3.4.2",
"@types/node": "20.11.19",
"@types/react": "18.2.55",
"@types/node": "20.11.20",
"@types/react": "18.2.58",
"@types/react-dom": "18.2.19",
"@types/umami": "0.1.5",
"@typescript-eslint/eslint-plugin": "7.0.1",
"@typescript-eslint/parser": "7.0.1",
"@typescript-eslint/eslint-plugin": "7.0.2",
"@typescript-eslint/parser": "7.0.2",
"@weareinreach/config": "workspace:*",
"@weareinreach/eslint-config": "0.100.0",
"@welldone-software/why-did-you-render": "8.0.1",
"commander": "12.0.0",
"dotenv": "16.4.4",
"dotenv": "16.4.5",
"eslint": "8.56.0",
"eslint-plugin-i18next": "6.0.3",
"i18next-hmr": "3.0.4",
Expand All @@ -131,7 +131,7 @@
"trpc-client-devtools-link": "0.2.1-next",
"trpc-panel": "1.3.4",
"trpc-playground": "1.0.4",
"type-fest": "4.10.2",
"type-fest": "4.10.3",
"typescript": "5.3.3",
"webpack-bundle-analyzer": "4.10.1"
},
Expand Down
10 changes: 5 additions & 5 deletions apps/app/public/locales/es/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@
"privatePractice": "Práctica privada",
"remote-tool-tip": "Disponible de forma remota",
"service-tool-tip": "Servicio(s) ofrecido(s) por esta organización.",
"unclaimed": "Unclaimed",
"unclaimed": "Sin Reclamar",
"unclaimed-tool-tip": "Esta organización aún no ha sido reclamada por un representante.<br/><link1>Reclama a esta organización</link1> para generar confianza con nuestra comunidad, actualizar tu propia información y más.",
"verified-information": "Verified information",
"verified-information-detail": "The information on this page was last updated {{dateString}}. InReach prioritizes accuracy and user safety, and updates all information regularly. For more information on our vetting process, please visit our Vetting Process page on InReach.org.",
"verified-information": "Información verificada",
"verified-information-detail": "La última vez que la información en esta página fue actualizada fue {{dateString}}. InReach prioriza exactitud de nuestra información y el bienestar de nuestros usuarios, y por lo tanto actualiza la información regularmente. Para más información de nuestro proceso de revisión, por favor visite nuestra de pagina de Procesos de Revisión en InReach.org.",
"verified-reviewer": "InReach Verified Reviewer"
},
"breadcrumb": {
Expand Down Expand Up @@ -384,8 +384,8 @@
"uncheck-all": "Desmarcar todo",
"user-avatar": "Avatar de usuario",
"user-menu": {
"admin-options": "Opciones de Admin",
"data-portal": "Portal de Datos Inicio",
"admin-options": "Opciones de Administración",
"data-portal": "Página principal del portal de datos",
"edit-page": "Editar esta página",
"user-options": "Opciones de usuario"
},
Expand Down
2 changes: 1 addition & 1 deletion apps/app/public/locales/es/landingPage.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"banner": {
"donate": "Ayude a que InReach sea gratuito para todes. <DonateLink>¡Dona ahora!</DonateLink>💝",
"redesign": "Lee sobre el lanzamiento del rediseño de la aplicación InReach en nuestro blog. <Link>Más información.</Link>",
"tmf": "<TMFLink>Difunde tramos de alegría con #TransMascFutures 🏳️‍⚧️</TMFLink>"
"tmf": "<TMFLink>Transmite la alegría trans con #TransMascFutures 🏳️‍⚧️</TMFLink>"
},
"call-out": {
"hear-from-users": "<Title1>Escucha a les usuaries</Title1>",
Expand Down
10 changes: 5 additions & 5 deletions apps/app/public/locales/fr/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@
"privatePractice": "Cabinet privé",
"remote-tool-tip": "Disponible à distance",
"service-tool-tip": "Les service (s) offert(s) par cette organisation.",
"unclaimed": "Unclaimed",
"unclaimed": "Non réclamé",
"unclaimed-tool-tip": "Cette organisation n'a pas encore été revendiquée par un représentant. <link>Revendiquer cette organisation</link> pour établir la confiance avec notre communauté, mettre à jour vos propres informations, et plus encore.",
"verified-information": "Verified information",
"verified-information-detail": "The information on this page was last updated {{dateString}}. InReach prioritizes accuracy and user safety, and updates all information regularly. For more information on our vetting process, please visit our Vetting Process page on InReach.org.",
"verified-reviewer": "InReach Verified Reviewer"
"verified-information": "Informations vérifiées",
"verified-information-detail": "Les informations sur cette page ont été mises à jour pour la dernière fois {{dateString}}. InReach donne la priorité à la précision et à la sécurité des utilisateur.e.s, et met à jour toutes les informations régulièrement. Pour de plus amples renseignements sur notre processus de vérification, veuillez consulter notre page Processus de vérification sur InReach.org.",
"verified-reviewer": "Évaluateur.e vérifié.e d'InReach"
},
"breadcrumb": {
"back-to-dynamic": "Retour à <u>{{page}}</u>",
Expand Down Expand Up @@ -387,7 +387,7 @@
"admin-options": "Options d'administration",
"data-portal": "Accueil Portail de Données",
"edit-page": "Modifier cette page",
"user-options": "Options de l'utilisateur"
"user-options": "Options de l'utilisateur.e"
},
"verify-account": {
"verified": "Compte vérifié !",
Expand Down
2 changes: 1 addition & 1 deletion apps/app/public/locales/fr/landingPage.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"banner": {
"donate": "Aidez-nous à garder InReach gratuit pour tous. <DonateLink>Faites un don maintenant !</DonateLink>💝",
"redesign": "En savoir plus sur le lancement de la refonte de l'application InReach sur notre blog. <Link>En savoir plus.</Link>",
"tmf": "<TMFLink>Répandez la joie des trans avec #TransMascFutures 🏳️‍⚧️</TMFLink>"
"tmf": "<TMFLink>Répandez la joie trans avec #TransMascFutures 🏳️‍⚧️</TMFLink>"
},
"call-out": {
"hear-from-users": "<Title1>Entendre dire des avis par nos utilisateurs </Title1>",
Expand Down
24 changes: 12 additions & 12 deletions apps/app/public/locales/ja/attribute.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"additional": {
"CATEGORYNAME": "追加情報",
"at-capacity": "定員に達した時点で",
"at-capacity": "定員に達しているもの",
"geo-near-public-transit": "近くの公共交通機関",
"geo-public-transit-description": "公共交通機関/特定の道順",
"has-confidentiality-policy": "守秘義務ポリシーがあります",
"has-confidentiality-policy": "機密保持方針があるもの",
"offers-remote-services": "リモート",
"private-practice": "プライベート練習",
"religiously-affiliated": "宗教に関係している",
"time-walk-in": "ウォークイン時間あり",
"time-walk-in": "事前予約なしでの受け入れ時間あり",
"wheelchair-accessible_false": "アクセス不可",
"wheelchair-accessible_true": "アクセシブル"
},
Expand All @@ -25,7 +25,7 @@
"api": "アジア系及び太平洋諸島系コミュニティに役立つ機会",
"asexual": "無性愛者コミュニティに役立つ機会",
"asia-immigrant": "アジア諸国出身の人々に役立つ機会",
"asylee": "亡命者(庇護資格を与えられた者)に役立つ機会",
"asylee": "亡命者(亡命許可を与えられた者)に役立つ機会",
"asylum-seeker": "{{country}} からの亡命を求める人に役立つ機会",
"bipoc": "黒人、先住民、有色人種に役立つ機会",
"bisexual": "バイセクシュアルコミュニティに役立つ機会",
Expand Down Expand Up @@ -80,12 +80,12 @@
"elig-age_min": "{{min}} 以上",
"elig-age_range": "{{min}} - {{max}}",
"other-describe": "その他 (自由記述)",
"req-medical-insurance": "医療保険が必要",
"req-photo-id": "写真付き身分証明書が必要",
"req-proof-of-age": "年齢証明が必要",
"req-proof-of-income": "収入証明書が必要",
"req-proof-of-residence": "居住証明書が必要",
"req-referral": "紹介が必要です",
"req-medical-insurance": "医療保険が必要なもの",
"req-photo-id": "写真付き身分証明書が必要なもの",
"req-proof-of-age": "年齢証明が必要なもの",
"req-proof-of-income": "収入証明書が必要なもの",
"req-proof-of-residence": "居住証明書が必要なもの",
"req-referral": "紹介を受ける必要があるもの",
"time-appointment-required": "時間指定の予約が必要です"
},
"lang": {
Expand All @@ -96,7 +96,7 @@
},
"orgleader": {
"CATEGORYNAME": "組織リーダーシップ",
"bipoc-led": "バイポック(黒人、先住民、有色人種)主導",
"bipoc-led": "BIPOC(黒人、先住民、有色人種)主導",
"black-led": "黒人主導",
"immigrant-led": "移民主導",
"trans-led": "トランスジェンダー主導",
Expand All @@ -115,7 +115,7 @@
"accesswhatsapp": "アクセス方法 - WhatsApp"
},
"srvfocus": {
"CATEGORYNAME": "サービスフォーカス",
"CATEGORYNAME": "サービスの対象者",
"asylum-seekers": "亡命希望者",
"bipoc-comm": "BIPOC(黒人、先住民、有色人種)コミュニティ",
"caregivers": "介護者コミュニティ",
Expand Down
Loading

1 comment on commit 7d1426c

@vercel
Copy link

@vercel vercel bot commented on 7d1426c Feb 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.