#66041 closed enhancement (fixed)
Add an `.nvmrc` file to bundle themes
| Reported by: | desrosj | Owned by: | desrosj |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.2 |
| Component: | Build/Test Tools | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
An .nvmrc file is used to specify the version of Node.js that is best to use when working with a given code base for various tools that help juggle between different Node.js releases.
Currently there is an .nvmrc in the root of this repository. Several bundled themes have their own package.json file and best efforts are made for those themes to always use the same version as wordpress-develop.
However, there are occasionally situations where a theme may not be compatible with the version of Node.js that is specified in the main .nvmrc file. And a bundled theme with specified dependencies should also be able to function on it's own outside of wordpress-develop.
Because of this, an .nvmrc file should be added to these themes:
- Twenty Nineteen
- Twenty Twenty
- Twenty Twenty-One
- Twenty Twenty-Two
- Twenty Twenty-Five
Change History (4)
This ticket was mentioned in PR #13387 on WordPress/wordpress-develop by @desrosj.
2 months ago
#1
- Keywords has-patch added
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
This adds an
.nvmrcfile to the 5 themes that rely on Node.js:There are occasionally situations where a theme may not be compatible with the version of Node.js that is specified in the
.nvmrcfile in the repository root. A bundled theme with specified dependencies should also be able to function on it's own outside ofwordpress-develop.Trac ticket: Core-66041.
## Use of AI Tools
None