stable

Clone or download

Read-only

Replace relative imports of async gettext init by a package import

Part of request #26381: Prevent relative imports outside of a package No functional change Change-Id: Id5089c3413794c92708ea76bfd7ec3ac44da5eab

Modified Files

Name
R src/scripts/tuleap/gettext/gettext-init.d.ts Go to diff View file
M lib/frontend/gettext/package.json +2 −1 Go to diff View file
A lib/frontend/gettext/src/__mocks__/node-gettext.ts +35 −0 Go to diff View file
A lib/frontend/gettext/src/constants.ts +20 −0 Go to diff View file
R src/scripts/tuleap/gettext/gettext-init.test.js Go to diff View file
R src/scripts/tuleap/gettext/gettext-init.js Go to diff View file
M lib/frontend/gettext/src/index.ts +4 −1 Go to diff View file
R lib/frontend/gettext/src/gettext-sync.ts Go to diff View file
R src/scripts/tuleap/gettext/gettext-factory.js Go to diff View file
M lib/frontend/gettext/tsconfig.json +1 −1 Go to diff View file
M lib/frontend/vue3-gettext-init/package.json +7 −7 Go to diff View file
M lib/frontend/vue3-gettext-init/pnpm-lock.yaml +2 −2 Go to diff View file
M lib/frontend/vue3-gettext-init/src/main.ts +1 −4 Go to diff View file
M plugins/agiledashboard/package.json +2 −2 Go to diff View file
M plugins/agiledashboard/pnpm-lock.yaml +2 −6 Go to diff View file
M plugins/agiledashboard/scripts/artifact-additional-action/src/artifact-additional-action.ts +1 −4 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/download-docx.test.ts +1 −1 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/download-docx.ts +1 −1 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/Exporter/internationalize-test-status.test.ts +1 −1 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/Exporter/internationalize-test-status.ts +1 −1 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/export-document.test.ts +1 −1 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/export-document.ts +1 −1 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/index.ts +1 −1 Go to diff View file
M plugins/hudson_git/package.json +3 −0 Go to diff View file
M plugins/hudson_git/pnpm-lock.yaml +4 −0 Go to diff View file
M plugins/hudson_git/scripts/src/git-administration.ts +1 −4 Go to diff View file
M plugins/ldap/package.json +5 −5 Go to diff View file
M plugins/ldap/pnpm-lock.yaml +2 −2 Go to diff View file
M plugins/ldap/scripts/project-admin/preview-for-select2.js +1 −1 Go to diff View file
M plugins/oauth2_server/package.json +1 −0 Go to diff View file
M plugins/oauth2_server/pnpm-lock.yaml +2 −0 Go to diff View file
M plugins/oauth2_server/scripts/src/administration.ts +1 −1 Go to diff View file
M plugins/oauth2_server/scripts/src/replacers.test.ts +1 −1 Go to diff View file
M plugins/oauth2_server/scripts/src/replacers.ts +1 −1 Go to diff View file
M plugins/oauth2_server/scripts/src/user-preferences.ts +1 −1 Go to diff View file
M plugins/program_management/package.json +1 −0 Go to diff View file
M plugins/program_management/pnpm-lock.yaml +2 −0 Go to diff View file
M plugins/program_management/scripts/admin/src/helper/form-fields-checker.test.ts +1 −1 Go to diff View file
M plugins/program_management/scripts/admin/src/helper/form-fields-checker.ts +1 −1 Go to diff View file
M plugins/program_management/scripts/admin/src/index.ts +1 −1 Go to diff View file
M plugins/program_management/scripts/admin/src/milestones/init-list-pickers-milestone-section.test.ts +1 −1 Go to diff View file
M plugins/program_management/scripts/admin/src/milestones/init-list-pickers-milestone-section.ts +1 −1 Go to diff View file
M plugins/program_management/scripts/admin/src/milestones/submit-configuration-handler.test.ts +1 −1 Go to diff View file
M plugins/program_management/scripts/admin/src/milestones/submit-configuration-handler.ts +1 −1 Go to diff View file
M plugins/program_management/scripts/admin/src/teams/display-teams-to-aggregate.test.ts +1 −1 Go to diff View file
M plugins/program_management/scripts/admin/src/teams/display-teams-to-aggregate.ts +1 −1 Go to diff View file
M plugins/program_management/scripts/artifact-additional-action/src/artifact-additional-action.ts +1 −1 Go to diff View file
M plugins/tracker/package.json +1 −1 Go to diff View file
M plugins/tracker/pnpm-lock.yaml +2 −2 Go to diff View file
M plugins/tracker/scripts/artifact/edition/artifact-links-field.ts +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/package.json +1 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/pnpm-lock.yaml +2 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal.js +1 −1 Go to diff View file
M src/package.json +0 −1 Go to diff View file
M src/pnpm-lock.yaml +0 −6 Go to diff View file
M src/scripts/BurningParrot/src/access-denied-error.ts +2 −2 Go to diff View file
M src/scripts/global-shortcuts/index.ts +1 −1 Go to diff View file
M src/scripts/project/admin/src/helpers/icon-picker-builder.test.ts +1 −1 Go to diff View file
M src/scripts/project/admin/src/helpers/icon-picker-builder.ts +2 −2 Go to diff View file
M src/scripts/project/admin/src/members-import/project-admin-members-import.ts +2 −2 Go to diff View file
M src/scripts/project/admin/src/project-admin-details.ts +2 −2 Go to diff View file
M src/scripts/project/admin/src/project-admin-members.ts +2 −2 Go to diff View file
M src/scripts/project/admin/src/project-admin-ugroups.ts +2 −2 Go to diff View file
M src/scripts/tuleap/gettext/vue-gettext-init.ts +2 −1 Go to diff View file