Skip to content

Upgrade to yarn modern - #4089

Draft
OyvindLGjesdal wants to merge 1 commit into
apache:mainfrom
OyvindLGjesdal:upgrade-to-yarn-modern
Draft

Upgrade to yarn modern#4089
OyvindLGjesdal wants to merge 1 commit into
apache:mainfrom
OyvindLGjesdal:upgrade-to-yarn-modern

Conversation

@OyvindLGjesdal

@OyvindLGjesdal OyvindLGjesdal commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

GitHub issue resolved #4075, #4053 and #4090

Pull request Description:


  • Tests are included.
  • Documentation change and updates are provided for the Apache Jena website
  • Commits have been squashed to remove intermediate development commit messages.
  • Key commit messages start with the issue number (GH-xxxx)

By submitting this pull request, I acknowledge that I am making a contribution to the Apache Software Foundation under the terms and conditions of the Contributor's Agreement.


See the Apache Jena "Contributing" guide.

@OyvindLGjesdal
OyvindLGjesdal marked this pull request as draft July 24, 2026 08:16
Comment thread jena-fuseki2/jena-fuseki-ui/.yarnrc.yml Outdated
Comment thread jena-fuseki2/jena-fuseki-ui/.yarnrc.yml
@OyvindLGjesdal
OyvindLGjesdal force-pushed the upgrade-to-yarn-modern branch 2 times, most recently from cd7f05b to 9349e17 Compare July 26, 2026 21:37
…kages

- Yarn: Migrate lock file with `corepack enable`, ‘yarn set version berry` and `yarn install`
- Maven/pom.xml: Use Corepack-managed Yarn 4 with immutable installs
- Yarn: Disable dependency lifecycle scripts by default and allow reviewed builds
- Yarn: Disallow git repos by default and allow fetching yasgui-geo-tg
- Update Maven frontend executions for Corepack
- Simplify cross-platform E2E and offline-serving scripts
- Remove obsolete dependencies and update Vue compiler configuration
  - @cypress/vue: legacy standalone mount package; Cypress 15 provides Vue
    mount via core (cypress/vue) and no component specs exist
  - @types/codemirror: types for CodeMirror 5, but the editor uses
    CodeMirror 6 (codemirror@6 + @codemirror/*, which ship their own types)
  - eslint-plugin-promise: not referenced by any ESLint flat config
  - express: no imports (only matched the Apache license header)
  - nanoid: no imports
  - Remove @vue/compat: the Vue 3 migration-build compat layer was declared
    but never aliased in the Vite config, so it was unused
  - Remove @vue/eslint-config-standard and eslint-plugin-import: superseded by
    the ESLint flat config (@eslint/js + eslint-plugin-vue)
  - Remove follow-redirects: unused direct dependency, resolved transitively
    via the lockfile with no source imports
  - Drop cross-env and run-script-os: E2E/offline scripts rewritten to POSIX
    env syntax, dropping the separate win32 variant                                                                                                                                                         - apacheGH-4090: Enable Cypress coverage collection
- Regenerate the Yarn lockfile and update RAT exclusions
- apacheGH-4053: Upgrading to Yarn-modern removes warnings
- Remove obsolete js config files (.eslintrc.js, plugins/index.js, support/vite-preprocessor.js) superseded by flat ESLint config, setupNodeEvents, and cypress-vite
@OyvindLGjesdal
OyvindLGjesdal force-pushed the upgrade-to-yarn-modern branch from 9349e17 to 92b86dc Compare July 26, 2026 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade from Yarn classic to Yarn modern

1 participant