Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .cspell-project-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ cweagans
davidanson
dbaeumer
ddev
demi
devpod
distutils
docroot
drush
druxt
Expand All @@ -17,6 +19,7 @@ extensionless
gdlib
giget
hverlin
inbrowser
instantiator
intelephense
interruptible
Expand Down
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,19 @@ minor is for.
outright instead of getting the frontend-only fallback the missing-PHP
case gets. postinstall now screens the version itself and steps aside
with the version it found; `npm run setup` still fails loudly.
- `npm install` no longer needs Python. `vue-jest` 3 depends on
`deasync`, a native module, so installing the frontend ran
`node-gyp`, and the `node-gyp` bundled with Node 16's npm imports
`distutils`, which Python 3.12 removed. The documented one-liner died
partway through on any machine without `setuptools`, which is the
stock state of Ubuntu 24.04, Debian 13 and Fedora 40, so the affected
group grows rather than shrinks. Nothing at runtime needed it: it was
the transform for `.vue` files under test. That is now
`@vue/vue2-jest` 29, the maintained package from the same project,
matching the installed Jest and building nothing. `deasync` is the
only dependency here that needed a compiler, so the frontend install
no longer depends on the machine's Python at all, and a test pins the
set of packages allowed to run an install script.

### Dependencies

Expand Down
2 changes: 1 addition & 1 deletion nuxt/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = {
moduleFileExtensions: ['js', 'vue', 'json'],
transform: {
'^.+\\.js$': 'babel-jest',
'.*\\.(vue)$': 'vue-jest',
'.*\\.(vue)$': '@vue/vue2-jest',
},
collectCoverage: true,
collectCoverageFrom: [
Expand Down
Loading
Loading