MCR-3814 Migrate texteditor Vue app to the mycore-vue toolchain - #3113
Conversation
This was referenced Aug 18, 2026
sebhofmann
force-pushed
the
issues/MCR-3814-Migrate_texteditor_Vue_app_to_the_mycore-vue_toolchain
branch
from
August 18, 2026 14:06
de910b1 to
af9dd0f
Compare
sebhofmann
force-pushed
the
issues/MCR-3814-Migrate_texteditor_Vue_app_to_the_mycore-vue_toolchain
branch
from
August 18, 2026 14:33
af9dd0f to
9e1c45d
Compare
sebhofmann
marked this pull request as ready for review
August 19, 2026 08:20
sebhofmann
force-pushed
the
issues/MCR-3814-Migrate_texteditor_Vue_app_to_the_mycore-vue_toolchain
branch
from
August 19, 2026 08:50
9e1c45d to
f23ea64
Compare
The texteditor now builds with the shared toolchain in mycore-vue. Sources, output directory and therefore the app URL and the MCRVueRootServlet mapping are unchanged. Toolchain upgrade for this app: vite 6.4 to 8.2, @vitejs/plugin-vue 5.2 to 6.0, vue-tsc 2.2 to 3.3. No template or type-check changes were needed. - mycore-vue gets the scripts build:texteditor, build-only:texteditor, type-check:texteditor and dev:texteditor. build:texteditor keeps the previous behaviour of type checking before building. - The app keeps a single tsconfig.json, which extends the shared one and points TypeScript at the shared node_modules via typeRoots and paths. TypeScript resolves modules by walking up from the importing file, so without that it never finds the shared toolchain. The @types entry has to come first, otherwise prismjs resolves to its javascript and its @types package is never looked at. tsconfig.app.json and tsconfig.node.json are gone with it. - The app's env.d.ts references the new mycore-vue/env.d.ts, which is the only place where the vite/client types resolve. - vite.config.ts becomes vite.config.mts on top of defineMCRVueApp. The .mts extension is required, because without the app package.json nothing declares "type": "module" any more. - mycore-webtools replaces the executions yarn-install-texteditor and yarn-build-texteditor by a single build execution with workingDirectory mycore-vue. - The app's package.json and yarn.lock are removed. Its dependencies were already part of the central package.json. noUnusedLocals, noUnusedParameters and noFallthroughCasesInSwitch are dropped from the shared tsconfig again. They were stricter than what the apps were compiled with so far, and tightening that belongs in its own ticket.
sebhofmann
force-pushed
the
issues/MCR-3814-Migrate_texteditor_Vue_app_to_the_mycore-vue_toolchain
branch
from
August 20, 2026 08:11
f23ea64 to
9e34ab8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Link to jira.
Part of the epic MCR-3810.
Moves the texteditor app onto the shared toolchain from MCR-3811. Sources, output directory and therefore the app
URL are unchanged. The app loses its own
package.json,yarn.lockandnode_modules; itsvite.config.tsbecomes a
vite.config.mtsbuilt ondefineMCRVueApp, andmycore-webtoolspoints itsfrontend-maven-pluginexecution at
mycore-vue.Pull Request Checklist (Author)
Please go through the following checklist before assigning the PR for review:
Ticket & Documentation
fixed-versionis correctly set in the ticket and matches the PR's target branch (main).Feature & Improvement Specific Checks
Bugfix-Specific Checks
Testing
MCR Conventions & Metadata
mycore.properties.mycore.properties.Multi-Repo Considerations
MIRrequired?No MIR change required for this PR.