Skip to content

Commit

Permalink
Merge branch 'main' into update-vitest-dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
revanth-banala authored Feb 12, 2025
2 parents 81421e0 + e4dbf43 commit 61da1cd
Show file tree
Hide file tree
Showing 28 changed files with 693 additions and 269 deletions.
24 changes: 17 additions & 7 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
ARG VARIANT="20.18.1-bookworm"
ARG VARIANT="20.18.2-bookworm"
FROM node:${VARIANT}

# Install some extras such as vim for interactive rebases. Also some
# Cypress prerequisites for running in Debian containers:
# https://docs.cypress.io/app/get-started/install-cypress#UbuntuDebian

RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y \
# Cypress prerequisites for running in Debian containers:
# https://docs.cypress.io/app/get-started/install-cypress#UbuntuDebian
libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libnss3 libxss1 \
libasound2 libxtst6 xauth xvfb \
# For interactive git rebases
vim
libasound2 \
libgbm-dev \
libgtk-3-0 \
libgtk2.0-0 \
libnotify-dev \
libnss3 \
libxss1 \
libxtst6 \
vim \
xauth \
xvfb \
&& apt-get clean
5 changes: 1 addition & 4 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@

"build": {
"dockerfile": "Dockerfile",
"context": "..",
"args": {
"VARIANT": "20.18.1-bookworm"
}
"context": ".."
},

"features": {
Expand Down
19 changes: 12 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
FROM docker.io/node:20.18.1-alpine3.21
FROM docker.io/node:20.18.2-alpine3.21

ENV NO_UPDATE_NOTIFIER=true
WORKDIR /opt/app-root/src/app
COPY . /opt/app-root/src

# Run the npm tasks to set up the various parts of the application. Then create
# the /.npm directory and grant access to group 0 to allow npm v9 to work
# See: https://docs.openshift.com/container-platform/4.11/openshift_images/create-images.html#use-uid_create-images

RUN npm run all:ci \
&& npm run all:build \
&& npm run frontend:purge \
&& npm run components:clean \
&& npm run components:purge
&& npm run components:purge \
&& mkdir /.npm \
&& chgrp -R 0 /.npm \
&& chmod -R g=u /.npm

EXPOSE 8000
# Create the /.npm directory and grant access to group 0 to allow npm v9 to work
# See: https://docs.openshift.com/container-platform/4.11/openshift_images/create-images.html#use-uid_create-images
RUN mkdir /.npm
RUN chgrp -R 0 /.npm && \
chmod -R g=u /.npm

CMD ["npm", "run", "start"]
33 changes: 23 additions & 10 deletions app/frontend/src/internationalization/trans/chefs/ar/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -228,26 +228,39 @@
"ministries": {
"AF": "الزراعة والغذاء (AF)",
"AG": "النائب العام (AG)",
"MCF": "تنمية الأطفال والأسرة (MCF)",
"CABRO": "مكتب موارد الوكالات والتاج (CABRO)",
"CEC": "التعاون في الامتثال والتنفيذ (CEC)",
"CIRMO": "مكتب إدارة المعلومات والسجلات المؤسسية (CIRMO)",
"CITZ": "خدمات المواطنين (CITZ)",
"ECC": "التعليم ورعاية الطفل (ECC)",
"EMCR": "إدارة الطوارئ والتحضير للتغير المناخي (EMCR)",
"EMLI": "الطاقة والمناجم والابتكار منخفض الكربون (EMLI)",
"ENV": "البيئة واستراتيجية التغير المناخي (ENV)",
"ECS": "الطاقة وحلول المناخ (ECS)",
"EMCR": "إدارة الطوارئ والاستعداد للمناخ (EMCR)",
"ENV": "البيئة والمتنزهات (ENV)",
"EBC": "انتخابات بي سي (EBC)",
"FIN": "المالية (FIN)",
"FOR": "الغابات (FOR)",
"GCPE": "الاتصالات الحكومية والمشاركة العامة (GCPE)",
"HMA": "الإسكان والشؤون البلدية (HMA)",
"HLTH": "الصحة (HLTH)",
"HOUS": "الإسكان (HOUS)",
"IRR": "العلاقات والمصالحة الأصلية (IRR)",
"IGRS": "أمانة العلاقات الحكومية (IGRS)",
"INFR": "وزارة البنية التحتية (INFR)",
"IRR": "العلاقات والمصالحة مع الشعوب الأصلية (IRR)",
"JEDI": "الوظائف وتنمية الاقتصاد والابتكار (JEDI)",
"LBR": "العمل (LBR)",
"MMHA": "الصحة العقلية وإدمان العقاقير (MMHA)",
"MUNI": "الشؤون البلدية (MUNI)",
"MCM": "التعدين والمواد الحيوية (MCM)",
"MCF": "تنمية الأطفال والأسرة (MCF)",
"OCG": "مكتب المراقب العام (OCG)",
"OCIO": "مكتب رئيس المعلومات (OCIO)",
"PREM": "مكتب رئيس الوزراء (PREM)",
"PSA": "وكالة الخدمة العامة في بي سي (PSA)",
"PSECS": "أمانة مجلس أرباب العمل في القطاع العام (PSECS)",
"PSFS": "التعليم العالي والمهارات المستقبلية (PSFS)",
"PSSG": "الأمانة العامة للأمانة العامة والنائب العام (PSSG)",
"PSSG": "السلامة العامة والنائب العام (PSSG)",
"PT": "الخزانة الإقليمية (PT)",
"SDPR": "تنمية المجتمع والحد من الفقر (SDPR)",
"TACS": "السياحة والفنون والثقافة والرياضة (TACS)",
"MOTI": "النقل والبنية التحتية (MOTI)",
"TB": "موظفو مجلس الخزانة (TB)",
"TRAN": "النقل والنقل الجماعي (TRAN)",
"WLRS": "رعاية الموارد الطبيعية والأراضي والمياه (WLRS)"
},
"subscribeEvent": {
Expand Down
29 changes: 21 additions & 8 deletions app/frontend/src/internationalization/trans/chefs/de/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -228,27 +228,40 @@
"ministries": {
"AF": "Landwirtschaft und Lebensmittel (AF)",
"AG": "Justizministerium (AG)",
"MCF": "Kinder- und Familienentwicklung (MCF)",
"CABRO": "Amt für Kronagenturen und Verwaltungsressourcen (CABRO)",
"CEC": "Zusammenarbeit für Compliance und Durchsetzung (CEC)",
"CIRMO": "Büro für Unternehmensinformationen und Aktenverwaltung (CIRMO)",
"CITZ": "Bürgerservice (CITZ)",
"ECC": "Bildung und Kinderbetreuung (ECC)",
"ECS": "Energie- und Klimaschutzlösungen (ECS)",
"EMCR": "Notfallmanagement und Klimabereitschaft (EMCR)",
"EMLI": "Energie, Bergbau und klimafreundliche Innovation (EMLI)",
"ENV": "Umwelt- und Klimastrategie (ENV)",
"ENV": "Umwelt und Parks (ENV)",
"EBC": "Wahlen British Columbia (EBC)",
"FIN": "Finanzen (FIN)",
"FOR": "Wälder (FOR)",
"GCPE": "Regierungskommunikation und öffentliche Beteiligung (GCPE)",
"HMA": "Wohnungsbau und Kommunalangelegenheiten (HMA)",
"HLTH": "Gesundheit (HLTH)",
"HOUS": "Wohnungsbau (HOUS)",
"IGRS": "Sekretariat für zwischenstaatliche Beziehungen (IGRS)",
"INFR": "Ministerium für Infrastruktur (INFR)",
"IRR": "Indigene Beziehungen und Versöhnung (IRR)",
"JEDI": "Arbeitsplätze, wirtschaftliche Entwicklung und Innovation (JEDI)",
"LBR": "Arbeit (LBR)",
"MMHA": "Psychische Gesundheit und Sucht (MMHA)",
"MUNI": "Kommunalangelegenheiten (MUNI)",
"MCM": "Bergbau und kritische Materialien (MCM)",
"MCF": "Kinder- und Familienentwicklung (MCF)",
"OCG": "Amt des Rechnungsprüfers (OCG)",
"OCIO": "Amt des Chief Information Officer (OCIO)",
"PREM": "Amt des Premierministers (PREM)",
"PSA": "Öffentlicher Dienst von British Columbia (PSA)",
"PSECS": "Sekretariat des Rates der öffentlichen Arbeitgeber (PSECS)",
"PSFS": "Hochschulbildung und zukünftige Fähigkeiten (PSFS)",
"PSSG": "Öffentliche Sicherheit und Generalstaatsanwalt (PSSG)",
"PT": "Provinzschatzamt (PT)",
"SDPR": "Soziale Entwicklung und Armutsbekämpfung (SDPR)",
"TACS": "Tourismus, Kunst, Kultur und Sport (TACS)",
"MOTI": "Verkehr und Infrastruktur (MOTI)",
"WLRS": "Wasser, Land und Ressourcenpflege (WLRS)"
"TB": "Mitarbeiter des Haushaltsausschusses (TB)",
"TRAN": "Verkehr und öffentlicher Nahverkehr (TRAN)",
"WLRS": "Wasser-, Land- und Ressourcenpflege (WLRS)"
},
"subscribeEvent": {
"eventType": "Ereignistyp",
Expand Down
27 changes: 20 additions & 7 deletions app/frontend/src/internationalization/trans/chefs/en/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -290,26 +290,39 @@
"ministries": {
"AF": "Agriculture and Food (AF)",
"AG": "Attorney General (AG)",
"MCF": "Children and Family Development (MCF)",
"CABRO": "Crown Agencies and Board Resourcing Office (CABRO)",
"CEC": "Compliance & Enforcement Collaborative (CEC)",
"CIRMO": "Corporate Information and Records Management Office (CIRMO)",
"CITZ": "Citizens' Services (CITZ)",
"ECC": "Education and Child Care (ECC)",
"ECS": "Energy and Climate Solutions (ECS)",
"EMCR": "Emergency Management and Climate Readiness (EMCR)",
"EMLI": "Energy, Mines and Low Carbon Innovation (EMLI)",
"ENV": "Environment and Climate Change Strategy (ENV)",
"ENV": "Environment and Parks (ENV)",
"EBC": "BC Elections (EBC)",
"FIN": "Finance (FIN)",
"FOR": "Forests (FOR)",
"GCPE": "Government Communications and Public Engagement (GCPE)",
"HMA": "Housing and Municipal Affairs (HMA)",
"HLTH": "Health (HLTH)",
"HOUS": "Housing (HOUS)",
"IGRS": "Intergovernmental Relations Secretariat (IGRS)",
"INFR": "Ministry of Infrastructure (INFR)",
"IRR": "Indigenous Relations & Reconciliation (IRR)",
"JEDI": "Jobs, Economic Development and Innovation (JEDI)",
"LBR": "Labour (LBR)",
"MMHA": "Mental Health and Addictions (MMHA)",
"MUNI": "Municipal Affairs (MUNI)",
"MCM": "Mining and Critical Materials (MCM)",
"MCF": "Children and Family Development (MCF)",
"OCG": "Office of the Comptroller General (OCG)",
"OCIO": "Office of the Chief Information Officer (OCIO)",
"PREM": "Office of the Premier (PREM)",
"PSA": "BC Public Service Agency (PSA)",
"PSECS": "Public Sector Employers' Council Secretariat (PSECS)",
"PSFS": "Post-Secondary Education and Future Skills (PSFS)",
"PSSG": "Public Safety and Solicitor General (PSSG)",
"PT": "Provincial Treasury (PT)",
"SDPR": "Social Development and Poverty Reduction (SDPR)",
"TACS": "Tourism, Arts, Culture and Sport (TACS)",
"MOTI": "Transportation and Infrastructure (MOTI)",
"TB": "Treasury Board Staff (TB)",
"TRAN": "Transportation and Transit (TRAN)",
"WLRS": "Water, Land and Resource Stewardship (WLRS)"
},
"subscribeEvent": {
Expand Down
27 changes: 20 additions & 7 deletions app/frontend/src/internationalization/trans/chefs/es/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -228,26 +228,39 @@
"ministries": {
"AF": "Agricultura y Alimentación (AF)",
"AG": "Fiscalía General (AG)",
"MCF": "Desarrollo Infantil y Familiar (MCF)",
"CABRO": "Oficina de Agencias de la Corona y Recursos de la Junta (CABRO)",
"CEC": "Colaboración para el Cumplimiento y la Ejecución (CEC)",
"CIRMO": "Oficina de Gestión de Información y Registros Corporativos (CIRMO)",
"CITZ": "Servicios Ciudadanos (CITZ)",
"ECC": "Educación y Cuidado Infantil (ECC)",
"ECS": "Soluciones Energéticas y Climáticas (ECS)",
"EMCR": "Gestión de Emergencias y Preparación Climática (EMCR)",
"EMLI": "Energía, Minas e Innovación de Bajas Emisiones (EMLI)",
"ENV": "Estrategia de Medio Ambiente y Cambio Climático (ENV)",
"ENV": "Medio Ambiente y Parques (ENV)",
"EBC": "Elecciones BC (EBC)",
"FIN": "Finanzas (FIN)",
"FOR": "Bosques (FOR)",
"GCPE": "Comunicación Gubernamental y Participación Pública (GCPE)",
"HMA": "Vivienda y Asuntos Municipales (HMA)",
"HLTH": "Salud (HLTH)",
"HOUS": "Vivienda (HOUS)",
"IGRS": "Secretaría de Relaciones Intergubernamentales (IGRS)",
"INFR": "Ministerio de Infraestructura (INFR)",
"IRR": "Relaciones Indígenas y Reconciliación (IRR)",
"JEDI": "Empleo, Desarrollo Económico e Innovación (JEDI)",
"LBR": "Trabajo (LBR)",
"MMHA": "Salud Mental y Adicciones (MMHA)",
"MUNI": "Asuntos Municipales (MUNI)",
"MCM": "Minería y Materiales Críticos (MCM)",
"MCF": "Desarrollo Infantil y Familiar (MCF)",
"OCG": "Oficina del Contralor General (OCG)",
"OCIO": "Oficina del Director de Información (OCIO)",
"PREM": "Oficina del Primer Ministro (PREM)",
"PSA": "Agencia de Servicio Público de BC (PSA)",
"PSECS": "Secretaría del Consejo de Empleadores del Sector Público (PSECS)",
"PSFS": "Educación Superior y Habilidades Futuras (PSFS)",
"PSSG": "Seguridad Pública y Fiscal General (PSSG)",
"PT": "Tesorería Provincial (PT)",
"SDPR": "Desarrollo Social y Reducción de la Pobreza (SDPR)",
"TACS": "Turismo, Artes, Cultura y Deporte (TACS)",
"MOTI": "Transporte e Infraestructura (MOTI)",
"TB": "Personal de la Junta del Tesoro (TB)",
"TRAN": "Transporte y Tránsito (TRAN)",
"WLRS": "Cuidado del Agua, Tierra y Recursos (WLRS)"
},
"subscribeEvent": {
Expand Down
31 changes: 22 additions & 9 deletions app/frontend/src/internationalization/trans/chefs/fa/fa.json
Original file line number Diff line number Diff line change
Expand Up @@ -228,26 +228,39 @@
"ministries": {
"AF": "کشاورزی و غذا (AF)",
"AG": "وکالت عمومی (AG)",
"MCF": "توسعه کودکان و خانواده (MCF)",
"CABRO": "دفتر آژانس‌های دولتی و منابع هیئت مدیره (CABRO)",
"CEC": "همکاری در تطبیق و اجرا (CEC)",
"CIRMO": "دفتر مدیریت اطلاعات و سوابق شرکت‌ها (CIRMO)",
"CITZ": "خدمات شهروندی (CITZ)",
"ECC": "آموزش و مراقبت از کودکان (ECC)",
"ECS": "راهکارهای انرژی و آب و هوا (ECS)",
"EMCR": "مدیریت اضطراری و آمادگی اقلیمی (EMCR)",
"EMLI": "انرژی، معادن و نوآوری کم کربن (EMLI)",
"ENV": "محیط زیست و استراتژی تغییرات آب و هوا (ENV)",
"ENV": "محیط زیست و پارک‌ها (ENV)",
"EBC": "انتخابات بریتیش کلمبیا (EBC)",
"FIN": "امور مالی (FIN)",
"FOR": "جنگل‌ها (FOR)",
"GCPE": "ارتباطات دولتی و مشارکت عمومی (GCPE)",
"HMA": "مسکن و امور شهری (HMA)",
"HLTH": "سلامت (HLTH)",
"HOUS": "مسکن (HOUS)",
"IRR": "روابط و تصالحات بومی (IRR)",
"IGRS": "دبیرخانه روابط بین دولتی (IGRS)",
"INFR": "وزارت زیرساخت (INFR)",
"IRR": "روابط و مصالحه با بومیان (IRR)",
"JEDI": "شغل‌ها، توسعه اقتصادی و نوآوری (JEDI)",
"LBR": "کار (LBR)",
"MMHA": "سلامت روان و اعتیادها (MMHA)",
"MUNI": "شؤون شهری (MUNI)",
"MCM": "معدن و مواد بحرانی (MCM)",
"MCF": "توسعه کودکان و خانواده (MCF)",
"OCG": "دفتر حسابرس کل (OCG)",
"OCIO": "دفتر مدیر ارشد اطلاعات (OCIO)",
"PREM": "دفتر نخست‌وزیر (PREM)",
"PSA": "آژانس خدمات عمومی بریتیش کلمبیا (PSA)",
"PSECS": "دبیرخانه شورای کارفرمایان بخش دولتی (PSECS)",
"PSFS": "آموزش عالی و مهارت‌های آینده (PSFS)",
"PSSG": "امنیت عمومی و دیوان عدالت عمومی (PSSG)",
"PSSG": "امنیت عمومی و وکالت عمومی (PSSG)",
"PT": "خزانه‌داری استانی (PT)",
"SDPR": "توسعه اجتماعی و کاهش فقر (SDPR)",
"TACS": "گردشگری، هنر، فرهنگ و ورزش (TACS)",
"MOTI": "حمل و نقل و زیرساخت (MOTI)",
"TB": "کارکنان هیئت خزانه‌داری (TB)",
"TRAN": "حمل و نقل و ترانزیت (TRAN)",
"WLRS": "حفاظت از آب، زمین و منابع (WLRS)"
},
"subscribeEvent": {
Expand Down
25 changes: 19 additions & 6 deletions app/frontend/src/internationalization/trans/chefs/fr/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -228,26 +228,39 @@
"ministries": {
"AF": "Agriculture et Alimentation (AF)",
"AG": "Procureur général (AG)",
"MCF": "Développement de l'enfance et de la famille (MCF)",
"CABRO": "Bureau des agences et des ressources du conseil (CABRO)",
"CEC": "Collaborative de conformité et d'exécution (CEC)",
"CIRMO": "Bureau de la gestion de l'information et des dossiers (CIRMO)",
"CITZ": "Services aux citoyens (CITZ)",
"ECC": "Éducation et garde d'enfants (ECC)",
"ECS": "Solutions énergétiques et climatiques (ECS)",
"EMCR": "Gestion des urgences et préparation climatique (EMCR)",
"EMLI": "Énergie, Mines et Innovation à faibles émissions de carbone (EMLI)",
"ENV": "Stratégie pour l'environnement et le changement climatique (ENV)",
"EBC": "Élections C.-B. (EBC)",
"FIN": "Finances (FIN)",
"FOR": "Forêts (FOR)",
"GCPE": "Communications gouvernementales et engagement public (GCPE)",
"HMA": "Logement et affaires municipales (HMA)",
"HLTH": "Santé (HLTH)",
"HOUS": "Logement (HOUS)",
"IGRS": "Secrétariat des relations intergouvernementales (IGRS)",
"INFR": "Ministère des infrastructures (INFR)",
"IRR": "Relations autochtones et réconciliation (IRR)",
"JEDI": "Emplois, développement économique et innovation (JEDI)",
"LBR": "Travail (LBR)",
"MMHA": "Santé mentale et dépendances (MMHA)",
"MUNI": "Affaires municipales (MUNI)",
"MCM": "Mines et matériaux critiques (MCM)",
"MCF": "Développement de l'enfance et de la famille (MCF)",
"OCG": "Bureau du contrôleur général (OCG)",
"OCIO": "Bureau du directeur de l'information (OCIO)",
"PREM": "Bureau du Premier ministre (PREM)",
"PSA": "Agence de la fonction publique de la Colombie-Britannique (PSA)",
"PSECS": "Secrétariat du Conseil des employeurs du secteur public (PSECS)",
"PSFS": "Éducation postsecondaire et compétences futures (PSFS)",
"PSSG": "Sécurité publique et procureur général (PSSG)",
"PT": "Trésorerie provinciale (PT)",
"SDPR": "Développement social et réduction de la pauvreté (SDPR)",
"TACS": "Tourisme, arts, culture et sport (TACS)",
"MOTI": "Transport et infrastructure (MOTI)",
"TB": "Personnel du Conseil du Trésor (TB)",
"TRAN": "Transport et transit (TRAN)",
"WLRS": "Gestion de l'eau, des terres et des ressources (WLRS)"
},
"subscribeEvent": {
Expand Down
Loading

0 comments on commit 61da1cd

Please sign in to comment.