stable

Clone or download

Read-only

Replace relative import of the tlp-relative-date custom element with a package import

Part of request #26381: Prevent relative imports outside of a package Change-Id: I751d15bac69e4d86e9cc340888b2b9229780b018

Modified Files

Name
A lib/frontend/tlp-relative-date/.gitignore +1 −0 Go to diff View file
A lib/frontend/tlp-relative-date/jest.config.js +26 −0 Go to diff View file
A lib/frontend/tlp-relative-date/package.json +25 −0 Go to diff View file
A lib/frontend/tlp-relative-date/pnpm-lock.yaml +7 −0 Go to diff View file
R src/scripts/tuleap/custom-elements/relative-date/index.ts Go to diff View file
R src/scripts/tuleap/custom-elements/relative-date/relative-date-element.test.ts Go to diff View file
R src/scripts/tuleap/custom-elements/relative-date/relative-date-element.ts Go to diff View file
R src/scripts/tuleap/custom-elements/relative-date/relative-date-formatter.test.ts Go to diff View file
R src/scripts/tuleap/custom-elements/relative-date/relative-date-formatter.ts Go to diff View file
R src/scripts/tuleap/custom-elements/relative-date/relative-date-helper.test.ts Go to diff View file
R src/scripts/tuleap/custom-elements/relative-date/relative-date-helper.ts Go to diff View file
A lib/frontend/tlp-relative-date/tsconfig.json +8 −0 Go to diff View file
A lib/frontend/tlp-relative-date/vite.config.ts +32 −0 Go to diff View file
M plugins/document/package.json +1 −1 Go to diff View file
M plugins/document/pnpm-lock.yaml +2 −2 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchResult/Cells/CellDate.vue +1 −4 Go to diff View file
M plugins/document/scripts/document/components/Folder/FolderContentRow.vue +1 −4 Go to diff View file
M plugins/document/scripts/document/components/Folder/QuickLook/QuickLookDocumentProperties.vue +1 −4 Go to diff View file
M plugins/document/scripts/document/components/Folder/QuickLook/QuickLookPropertyDate.vue +1 −4 Go to diff View file
M plugins/tracker/package.json +1 −0 Go to diff View file
M plugins/tracker/pnpm-lock.yaml +2 −0 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-controller.js +1 −4 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 +1 −0 Go to diff View file
M src/pnpm-lock.yaml +2 −0 Go to diff View file
M src/scripts/site-admin/dates-display.test.ts +1 −5 Go to diff View file
M src/scripts/site-admin/dates-display.ts +2 −5 Go to diff View file
M src/scripts/tlp-doc/package.json +1 −0 Go to diff View file
M src/scripts/tlp-doc/pnpm-lock.yaml +2 −0 Go to diff View file
M src/scripts/tlp-doc/src/editors.js +1 −1 Go to diff View file
A src/scripts/tuleap/tlp-relative-date-loader.ts +20 −0 Go to diff View file
M src/webpack.common.js +1 −1 Go to diff View file