stable

Clone or download

Read-only

Closes request #27882 Vite: 2.9.14 -> 3.0.2

Changelog: https://github.com/vitejs/vite/blob/v3.0.2/packages/vite/CHANGELOG.md Release notes: https://vitejs.dev/blog/announcing-vite3 To be aligned with recommendations done with Vite 3, libraries now uses the `module` type. The `vite-dts` plugin does not play with the "module mode" so it has been replaced everywhere with `vite-plugin-dts` we were already using in some places. It is a bit slower but it works for more cases and having one plugin to generate the .d.ts files is likely to bring less confusions than two. Change-Id: I113007cde9ef692ff7655378e5e3962d07693867

Modified Files

Name
M .eslintrc.js +1 −1 Go to diff View file
M lib/frontend/angular-async/package.json +5 −4 Go to diff View file
M lib/frontend/angular-async/vite.config.ts +1 −0 Go to diff View file
M lib/frontend/angular-tlp/jest.config.js +2 −2 Go to diff View file
M lib/frontend/angular-tlp/package.json +4 −3 Go to diff View file
M lib/frontend/angular-tlp/src/tlp-modal-service.test.js +1 −1 Go to diff View file
M lib/frontend/autocomplete-for-select2/package.json +5 −4 Go to diff View file
M lib/frontend/build-system-configurator/src/main.ts +2 −1 Go to diff View file
R lib/frontend/build-system-configurator/src/vite-configurator.ts Go to diff View file
A lib/frontend/build-system-configurator/src/vite/vite-plugin-dts.ts +30 −0 Go to diff View file
M lib/frontend/chart-builder/package.json +6 −4 Go to diff View file
M lib/frontend/chart-builder/vite.config.ts +2 −3 Go to diff View file
M lib/frontend/ckeditor-image-upload/package.json +5 −4 Go to diff View file
M lib/frontend/ckeditor-image-upload/src/file-upload-handler-factory.test.js +1 −0 Go to diff View file
M lib/frontend/concurrency-limit-pool/package.json +6 −4 Go to diff View file
M lib/frontend/concurrency-limit-pool/vite.config.ts +2 −3 Go to diff View file
M lib/frontend/copy-to-clipboard/package.json +6 −4 Go to diff View file
M lib/frontend/copy-to-clipboard/vite.config.ts +2 −3 Go to diff View file
M lib/frontend/date-helper/package.json +6 −4 Go to diff View file
M lib/frontend/date-helper/vite.config.ts +2 −3 Go to diff View file
M lib/frontend/drag-and-drop/package.json +4 −2 Go to diff View file
M lib/frontend/drag-and-drop/vite.config.ts +2 −3 Go to diff View file
M lib/frontend/fault/package.json +6 −4 Go to diff View file
M lib/frontend/fault/vite.config.ts +2 −3 Go to diff View file
M lib/frontend/fetch-result/package.json +6 −4 Go to diff View file
M lib/frontend/fetch-result/vite.config.ts +2 −3 Go to diff View file
M lib/frontend/filter-table/package.json +6 −4 Go to diff View file
M lib/frontend/filter-table/vite.config.ts +2 −3 Go to diff View file
M lib/frontend/fp-feedback/package.json +6 −4 Go to diff View file
M lib/frontend/fp-feedback/vite.config.ts +2 −3 Go to diff View file
M lib/frontend/gettext/package.json +6 −4 Go to diff View file
M lib/frontend/gettext/vite.config.ts +2 −3 Go to diff View file
M lib/frontend/html-escaper/package.json +5 −4 Go to diff View file
M lib/frontend/keyboard-shortcuts/package.json +6 −4 Go to diff View file
M lib/frontend/keyboard-shortcuts/vite.config.ts +2 −3 Go to diff View file
M lib/frontend/link-selector/package.json +4 −2 Go to diff View file
M lib/frontend/link-selector/vite.config.ts +2 −3 Go to diff View file
M lib/frontend/list-picker/package.json +3 −2 Go to diff View file
M lib/frontend/list-picker/vite.config.ts +2 −3 Go to diff View file
M lib/frontend/mention/package.json +3 −2 Go to diff View file
M lib/frontend/pie-chart/package.json +6 −4 Go to diff View file
M lib/frontend/pie-chart/vite.config.ts +2 −3 Go to diff View file
M lib/frontend/po-gettext-plugin/package.json +1 −0 Go to diff View file
M lib/frontend/po-gettext-plugin/tsconfig-build.json +1 −1 Go to diff View file
M lib/frontend/project-privacy-helper/package.json +6 −4 Go to diff View file
M lib/frontend/project-privacy-helper/vite.config.ts +2 −3 Go to diff View file
M lib/frontend/project-sidebar-internal/package.json +3 −2 Go to diff View file
M lib/frontend/project-sidebar-internal/vite.config.ts +2 −3 Go to diff View file
M lib/frontend/project-sidebar/CHANGELOG.md +1 −0 Go to diff View file
M lib/frontend/project-sidebar/README.md +1 −1 Go to diff View file
M lib/frontend/project-sidebar/package.json +3 −2 Go to diff View file
M lib/frontend/project-sidebar/vite.config.ts +2 −3 Go to diff View file
M lib/frontend/tlp-dropdown/package.json +4 −2 Go to diff View file
M lib/frontend/tlp-dropdown/vite.config.ts +2 −3 Go to diff View file
M lib/frontend/tlp-fetch/package.json +6 −4 Go to diff View file
M lib/frontend/tlp-fetch/vite.config.ts +2 −3 Go to diff View file
M lib/frontend/tlp-modal/package.json +4 −2 Go to diff View file
M lib/frontend/tlp-modal/vite.config.ts +2 −3 Go to diff View file
M lib/frontend/tlp-popovers/package.json +4 −2 Go to diff View file
M lib/frontend/tlp-popovers/vite.config.ts +2 −3 Go to diff View file
M lib/frontend/tlp-relative-date/package.json +6 −4 Go to diff View file
M lib/frontend/tlp-relative-date/vite.config.ts +2 −3 Go to diff View file
M lib/frontend/tooltip/package.json +5 −4 Go to diff View file
M lib/frontend/user-group-constants/package.json +6 −4 Go to diff View file
M lib/frontend/user-group-constants/vite.config.ts +2 −3 Go to diff View file
M lib/frontend/vue-breadcrumb-privacy/package.json +6 −4 Go to diff View file
M lib/frontend/vue-breadcrumb-privacy/vite.config.ts +2 −3 Go to diff View file
M lib/frontend/vue2-gettext-composition-helpers/package.json +6 −4 Go to diff View file
M lib/frontend/vue2-gettext-composition-helpers/vite.config.ts +2 −3 Go to diff View file
M lib/frontend/vue2-gettext-init/package.json +6 −4 Go to diff View file
M lib/frontend/vue2-gettext-init/vite.config.ts +0 −2 Go to diff View file
M lib/frontend/vue3-gettext-init/package.json +6 −4 Go to diff View file
M lib/frontend/vue3-gettext-init/vite.config.ts +2 −3 Go to diff View file
M package.json +1 −2 Go to diff View file
M plugins/agiledashboard/scripts/kanban/src/app/dropped-service.test.js +1 −1 Go to diff View file
M plugins/agiledashboard/scripts/kanban/src/app/jwt/jwt-service.test.js +1 −1 Go to diff View file
M plugins/agiledashboard/scripts/kanban/src/app/kanban-item/kanban-item-rest-service.test.js +1 −1 Go to diff View file
M plugins/agiledashboard/scripts/kanban/src/app/kanban-service.test.js +1 −1 Go to diff View file
M plugins/agiledashboard/scripts/kanban/src/app/reports-modal/diagram-rest-service.test.js +1 −1 Go to diff View file
M plugins/agiledashboard/scripts/kanban/src/app/user-preferences/user-preferences-service.test.js +1 −1 Go to diff View file
M plugins/agiledashboard/scripts/lib/card-fields/jest.config.js +2 −2 Go to diff View file
M plugins/agiledashboard/scripts/lib/card-fields/package.json +5 −4 Go to diff View file
M plugins/agiledashboard/scripts/lib/shared/jest.config.js +2 −2 Go to diff View file
M plugins/agiledashboard/scripts/lib/shared/package.json +6 −4 Go to diff View file
M plugins/agiledashboard/scripts/lib/shared/vite.config.ts +2 −3 Go to diff View file
M plugins/agiledashboard/scripts/planning-v2/src/app/backlog-item-collection/backlog-item-collection-service.test.js +1 −1 Go to diff View file
M plugins/agiledashboard/scripts/planning-v2/src/app/backlog-item-rest/backlog-item-service.test.js +1 −1 Go to diff View file
M plugins/agiledashboard/scripts/planning-v2/src/app/backlog/backlog-controller.test.js +1 −1 Go to diff View file
M plugins/agiledashboard/scripts/planning-v2/src/app/drop/dropped-service.test.js +1 −1 Go to diff View file
M plugins/agiledashboard/scripts/planning-v2/src/app/milestone-rest/milestone-service.test.js +1 −1 Go to diff View file
M plugins/agiledashboard/scripts/planning-v2/src/app/project/project-service.test.js +1 −1 Go to diff View file
M plugins/agiledashboard/scripts/planning-v2/src/app/user-preferences/user-preferences-service.test.js +1 −1 Go to diff View file
R plugins/document_generation/jest.config.js Go to diff View file
M plugins/document_generation/package.json +1 −0 Go to diff View file
M plugins/document_generation/scripts/lib/docx/jest.config.js +2 −2 Go to diff View file
M plugins/document_generation/scripts/lib/docx/package.json +4 −2 Go to diff View file
M plugins/document_generation/scripts/lib/docx/vite.config.ts +2 −3 Go to diff View file
M plugins/document_generation/scripts/lib/xlsx/jest.config.js +2 −2 Go to diff View file
M plugins/document_generation/scripts/lib/xlsx/package.json +4 −2 Go to diff View file
M plugins/document_generation/scripts/lib/xlsx/vite.config.ts +2 −3 Go to diff View file
M plugins/frs/scripts/release-notes/src/release/release-controller.test.js +1 −1 Go to diff View file
M plugins/frs/scripts/release-notes/src/release/release-rest-service.test.js +1 −1 Go to diff View file
M plugins/git/package.json +2 −2 Go to diff View file
R plugins/git/scripts/artifact-create-branch-action/webpack.common.js Go to diff View file
R plugins/git/webpack.common.js Go to diff View file
R plugins/git/webpack.dev.js Go to diff View file
R plugins/git/webpack.prod.js Go to diff View file
M plugins/gitlab/package.json +2 −2 Go to diff View file
R plugins/gitlab/webpack.common.js Go to diff View file
R plugins/gitlab/webpack.dev.js Go to diff View file
R plugins/gitlab/webpack.prod.js Go to diff View file
M plugins/label/jest.config.js +2 −2 Go to diff View file
M plugins/label/package.json +1 −0 Go to diff View file
M plugins/pullrequest/scripts/src/app/dashboard/pull-request-collection-rest-service.test.js +1 −1 Go to diff View file
M plugins/pullrequest/scripts/src/app/dashboard/pull-request-collection-service.test.js +1 −1 Go to diff View file
M plugins/pullrequest/scripts/src/app/overview/reviewers/reviewers-service.test.js +1 −1 Go to diff View file
M plugins/pullrequest/scripts/src/app/pull-request/pull-request-rest-service.test.js +1 −1 Go to diff View file
M plugins/pullrequest/scripts/src/app/user-rest-service.test.js +1 −1 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/artifact-links-graph/artifact-links-graph-rest-service.test.js +1 −1 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/campaign/campaign-edit-controller.test.js +1 −1 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/campaign/campaign-list-controller.test.js +1 −1 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/campaign/campaign-service.test.js +1 −1 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/definition/definition-service.test.js +1 −1 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/execution-collection/execution-rest-service.test.js +1 −1 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/execution-collection/execution-service.test.js +1 −1 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/execution/execution-link-issue-controller.test.js +1 −1 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/jwt/jwt-service.test.js +1 −1 Go to diff View file
M plugins/testplan/package.json +2 −2 Go to diff View file
R plugins/testplan/webpack.common.js Go to diff View file
R plugins/testplan/webpack.dev.js Go to diff View file
R plugins/testplan/webpack.prod.js Go to diff View file
M plugins/tracker/scripts/lib/TQL-CodeMirror/package.json +4 −2 Go to diff View file
M plugins/tracker/scripts/lib/TQL-CodeMirror/vite.config.ts +2 −3 Go to diff View file
M plugins/tracker/scripts/lib/artifact-ckeditor-image-upload/jest.config.js +2 −2 Go to diff View file
M plugins/tracker/scripts/lib/artifact-ckeditor-image-upload/package.json +5 −4 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal-service.test.js +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/colorpicker/package.json +3 −2 Go to diff View file
M plugins/tracker/scripts/lib/constants/package.json +6 −4 Go to diff View file
M plugins/tracker/scripts/lib/constants/vite.config.ts +2 −3 Go to diff View file
M plugins/tracker/scripts/lib/rest-api-types/package.json +6 −4 Go to diff View file
M plugins/tracker/scripts/lib/rest-api-types/vite.config.ts +2 −3 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/jest.config.js +2 −2 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/package.json +3 −2 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/vite.config.ts +2 −3 Go to diff View file
M pnpm-lock.yaml +258 −64 Go to diff View file