mirror of
git://develop.git.wordpress.org/
synced 2025-01-16 20:38:35 +01:00
d522886b27
This bumps the minimum required version of Node.js/npm from 16.19.1 and 8.19.3 to 20.10.0 and 10.2.3. Since 20.10.0 is the latest 20.x version of Node.js, the `check-latest` option has been enabled for `actions/setup-node` in GitHub Actions workflows. This performs an additional external call to the Node.js API confirming the latest version is installed on the runner for use. In testing, it seems that 20.10.0 was not consistently deployed to all runner machines in use. This should be removed in the near future when the version of Node.js is reliably above the new minimum requirement. The Gutenberg repository has also been updated to use the same values for `engines`. Props jorbin, joemcgill, swissspidy, benharri, dhrupo, flootr, gziolo, noahtallen. See #59663. git-svn-id: https://develop.svn.wordpress.org/trunk@57212 602fd350-edb4-49c9-b593-d223f7449a82
201 lines
6.9 KiB
JSON
201 lines
6.9 KiB
JSON
{
|
|
"name": "WordPress",
|
|
"version": "6.5.0",
|
|
"description": "WordPress is open source software you can use to create a beautiful website, blog, or app.",
|
|
"repository": {
|
|
"type": "svn",
|
|
"url": "https://develop.svn.wordpress.org/trunk"
|
|
},
|
|
"engines": {
|
|
"node": ">=20.10.0",
|
|
"npm": ">=10.2.3"
|
|
},
|
|
"author": "The WordPress Contributors",
|
|
"license": "GPL-2.0-or-later",
|
|
"browserslist": [
|
|
"> 1%",
|
|
"last 1 Android versions",
|
|
"last 1 ChromeAndroid versions",
|
|
"last 2 Chrome versions",
|
|
"last 2 Firefox versions",
|
|
"last 2 Safari versions",
|
|
"last 2 iOS versions",
|
|
"last 2 Edge versions",
|
|
"last 2 Opera versions"
|
|
],
|
|
"devDependencies": {
|
|
"@lodder/grunt-postcss": "^3.1.1",
|
|
"@playwright/test": "1.32.0",
|
|
"@pmmmwh/react-refresh-webpack-plugin": "0.5.5",
|
|
"@wordpress/babel-preset-default": "7.26.13",
|
|
"@wordpress/dependency-extraction-webpack-plugin": "4.25.13",
|
|
"@wordpress/e2e-test-utils": "10.13.13",
|
|
"@wordpress/e2e-test-utils-playwright": "0.10.13",
|
|
"@wordpress/scripts": "26.13.13",
|
|
"autoprefixer": "10.4.16",
|
|
"chalk": "5.3.0",
|
|
"check-node-version": "4.2.1",
|
|
"copy-webpack-plugin": "11.0.0",
|
|
"cssnano": "6.0.1",
|
|
"dotenv": "16.3.1",
|
|
"dotenv-expand": "10.0.0",
|
|
"grunt": "1.6.1",
|
|
"grunt-banner": "^0.6.0",
|
|
"grunt-contrib-clean": "~2.0.1",
|
|
"grunt-contrib-concat": "2.1.0",
|
|
"grunt-contrib-copy": "~1.0.0",
|
|
"grunt-contrib-cssmin": "~5.0.0",
|
|
"grunt-contrib-imagemin": "~4.0.0",
|
|
"grunt-contrib-jshint": "3.2.0",
|
|
"grunt-contrib-qunit": "~7.0.1",
|
|
"grunt-contrib-uglify": "~5.2.2",
|
|
"grunt-contrib-watch": "~1.1.0",
|
|
"grunt-file-append": "0.0.7",
|
|
"grunt-jsdoc": "2.4.1",
|
|
"grunt-legacy-util": "^2.0.1",
|
|
"grunt-patch-wordpress": "~3.0.0",
|
|
"grunt-replace-lts": "~1.1.0",
|
|
"grunt-rtlcss": "~2.0.2",
|
|
"grunt-sass": "~3.1.0",
|
|
"grunt-webpack": "6.0.0",
|
|
"ink-docstrap": "1.3.2",
|
|
"install-changed": "1.1.0",
|
|
"matchdep": "~2.0.0",
|
|
"postcss": "8.4.31",
|
|
"prettier": "npm:wp-prettier@2.6.2",
|
|
"qunit": "~2.20.0",
|
|
"react-refresh": "0.14.0",
|
|
"sass": "1.69.3",
|
|
"sinon": "16.0.0",
|
|
"sinon-test": "~3.1.5",
|
|
"source-map-loader": "4.0.1",
|
|
"terser-webpack-plugin": "5.3.9",
|
|
"uglify-js": "^3.17.4",
|
|
"uuid": "9.0.1",
|
|
"wait-on": "7.0.1",
|
|
"webpack": "5.89.0",
|
|
"webpack-livereload-plugin": "3.0.2"
|
|
},
|
|
"dependencies": {
|
|
"@emotion/is-prop-valid": "0.8.8",
|
|
"@emotion/memoize": "0.7.4",
|
|
"@wordpress/a11y": "3.42.13",
|
|
"@wordpress/annotations": "2.42.13",
|
|
"@wordpress/api-fetch": "6.39.13",
|
|
"@wordpress/autop": "3.42.13",
|
|
"@wordpress/blob": "3.42.13",
|
|
"@wordpress/block-directory": "4.19.13",
|
|
"@wordpress/block-editor": "12.10.13",
|
|
"@wordpress/block-library": "8.19.13",
|
|
"@wordpress/block-serialization-default-parser": "4.42.13",
|
|
"@wordpress/blocks": "12.19.13",
|
|
"@wordpress/commands": "0.13.13",
|
|
"@wordpress/components": "25.8.13",
|
|
"@wordpress/compose": "6.19.13",
|
|
"@wordpress/core-commands": "0.11.13",
|
|
"@wordpress/core-data": "6.19.13",
|
|
"@wordpress/customize-widgets": "4.19.13",
|
|
"@wordpress/data": "9.12.13",
|
|
"@wordpress/data-controls": "3.11.13",
|
|
"@wordpress/date": "4.42.13",
|
|
"@wordpress/deprecated": "3.42.13",
|
|
"@wordpress/dom": "3.42.13",
|
|
"@wordpress/dom-ready": "3.42.13",
|
|
"@wordpress/edit-post": "7.19.13",
|
|
"@wordpress/edit-site": "5.19.13",
|
|
"@wordpress/edit-widgets": "5.19.13",
|
|
"@wordpress/editor": "13.19.13",
|
|
"@wordpress/element": "5.19.13",
|
|
"@wordpress/escape-html": "2.42.13",
|
|
"@wordpress/format-library": "4.19.13",
|
|
"@wordpress/hooks": "3.42.13",
|
|
"@wordpress/html-entities": "3.42.13",
|
|
"@wordpress/i18n": "4.42.13",
|
|
"@wordpress/icons": "9.33.13",
|
|
"@wordpress/interactivity": "2.3.13",
|
|
"@wordpress/interface": "5.19.13",
|
|
"@wordpress/is-shallow-equal": "4.42.13",
|
|
"@wordpress/keyboard-shortcuts": "4.19.13",
|
|
"@wordpress/keycodes": "3.42.13",
|
|
"@wordpress/list-reusable-blocks": "4.19.13",
|
|
"@wordpress/media-utils": "4.33.13",
|
|
"@wordpress/notices": "4.10.13",
|
|
"@wordpress/nux": "8.4.13",
|
|
"@wordpress/patterns": "1.3.13",
|
|
"@wordpress/plugins": "6.10.13",
|
|
"@wordpress/preferences": "3.19.13",
|
|
"@wordpress/preferences-persistence": "1.34.13",
|
|
"@wordpress/primitives": "3.40.13",
|
|
"@wordpress/priority-queue": "2.42.13",
|
|
"@wordpress/private-apis": "0.24.13",
|
|
"@wordpress/redux-routine": "4.42.13",
|
|
"@wordpress/reusable-blocks": "4.19.13",
|
|
"@wordpress/rich-text": "6.19.13",
|
|
"@wordpress/router": "0.11.13",
|
|
"@wordpress/server-side-render": "4.19.13",
|
|
"@wordpress/shortcode": "3.42.13",
|
|
"@wordpress/style-engine": "1.25.13",
|
|
"@wordpress/sync": "0.4.13",
|
|
"@wordpress/token-list": "2.42.13",
|
|
"@wordpress/undo-manager": "0.2.13",
|
|
"@wordpress/url": "3.43.13",
|
|
"@wordpress/viewport": "5.19.13",
|
|
"@wordpress/warning": "2.42.13",
|
|
"@wordpress/widgets": "3.19.13",
|
|
"@wordpress/wordcount": "3.42.13",
|
|
"backbone": "1.5.0",
|
|
"clipboard": "2.0.11",
|
|
"core-js-url-browser": "3.6.4",
|
|
"element-closest": "^3.0.2",
|
|
"formdata-polyfill": "4.0.10",
|
|
"framer-motion": "10.16.4",
|
|
"hoverintent": "2.2.1",
|
|
"imagesloaded": "5.0.0",
|
|
"is-plain-object": "5.0.0",
|
|
"jquery": "3.7.1",
|
|
"jquery-color": "2.2.0",
|
|
"jquery-form": "4.3.0",
|
|
"jquery-hoverintent": "1.10.2",
|
|
"json2php": "^0.0.7",
|
|
"lodash": "4.17.21",
|
|
"masonry-layout": "4.2.2",
|
|
"memize": "2.1.0",
|
|
"moment": "2.29.4",
|
|
"objectFitPolyfill": "2.3.5",
|
|
"path-to-regexp": "6.2.1",
|
|
"polyfill-library": "4.8.0",
|
|
"react": "18.2.0",
|
|
"react-dom": "18.2.0",
|
|
"regenerator-runtime": "0.14.0",
|
|
"tslib": "2.6.2",
|
|
"underscore": "1.13.6",
|
|
"whatwg-fetch": "3.6.17",
|
|
"wicg-inert": "3.1.2"
|
|
},
|
|
"scripts": {
|
|
"build": "grunt build",
|
|
"build:dev": "grunt build --dev",
|
|
"dev": "grunt watch --dev",
|
|
"test": "grunt test",
|
|
"watch": "grunt watch",
|
|
"grunt": "grunt",
|
|
"lint:jsdoc": "wp-scripts lint-js",
|
|
"lint:jsdoc:fix": "wp-scripts lint-js --fix",
|
|
"env:start": "node ./tools/local-env/scripts/start.js",
|
|
"env:stop": "node ./tools/local-env/scripts/docker.js down",
|
|
"env:restart": "npm run env:stop && npm run env:start",
|
|
"env:clean": "node ./tools/local-env/scripts/docker.js down -v --remove-orphans",
|
|
"env:reset": "node ./tools/local-env/scripts/docker.js down --rmi all -v --remove-orphans",
|
|
"env:install": "node ./tools/local-env/scripts/install.js",
|
|
"env:cli": "node ./tools/local-env/scripts/docker.js run cli",
|
|
"env:logs": "node ./tools/local-env/scripts/docker.js logs",
|
|
"env:pull": "node ./tools/local-env/scripts/docker.js pull",
|
|
"test:performance": "wp-scripts test-playwright --config tests/performance/playwright.config.js",
|
|
"test:php": "node ./tools/local-env/scripts/docker.js run -T php composer update -W && node ./tools/local-env/scripts/docker.js run php ./vendor/bin/phpunit",
|
|
"test:e2e": "wp-scripts test-playwright --config tests/e2e/playwright.config.js",
|
|
"test:visual": "wp-scripts test-playwright --config tests/visual-regression/playwright.config.js",
|
|
"sync-gutenberg-packages": "grunt sync-gutenberg-packages",
|
|
"postsync-gutenberg-packages": "grunt wp-packages:sync-stable-blocks && grunt build --dev && grunt build"
|
|
}
|
|
}
|