mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 12:58:25 +01:00
fc6bc030d4
Adds a new feature to persist editor UI preferences between page loads and browsers. * Adds a new preferences persistence API. * Saves editor preferences in user meta instead of in browser's local storage. Why? Due to the transient nature of browser storage, this persistence is not as sticky as it is expected to be, including: switching browsers (unique storage between browsers), or using private browsing tabs (storage cleared between sessions), or the same user across a network of sites (storage unique by domain). This is a backport from Gutenberg.[https://github.com/WordPress/gutenberg/pull/39795 See WordPress/gutenberg PR 39795]. Props talldanwp, youknowriad, noisysocks, mamaduka, costdev, ironprogrammer, hellofromTonya. See #56467. git-svn-id: https://develop.svn.wordpress.org/trunk@54182 602fd350-edb4-49c9-b593-d223f7449a82
183 lines
6.1 KiB
JSON
183 lines
6.1 KiB
JSON
{
|
|
"name": "WordPress",
|
|
"version": "6.1.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": ">=14.15.0",
|
|
"npm": ">=6.14.8 <7"
|
|
},
|
|
"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": {
|
|
"@pmmmwh/react-refresh-webpack-plugin": "0.5.5",
|
|
"@wordpress/babel-preset-default": "6.8.1",
|
|
"@wordpress/dependency-extraction-webpack-plugin": "3.4.2",
|
|
"@wordpress/e2e-test-utils": "7.2.1",
|
|
"@wordpress/scripts": "22.4.2",
|
|
"autoprefixer": "^9.8.8",
|
|
"chalk": "5.0.1",
|
|
"check-node-version": "4.2.1",
|
|
"copy-webpack-plugin": "10.2.4",
|
|
"cssnano": "4.1.11",
|
|
"dotenv": "16.0.1",
|
|
"dotenv-expand": "8.0.3",
|
|
"grunt": "~1.5.3",
|
|
"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": "~4.0.0",
|
|
"grunt-contrib-imagemin": "~4.0.0",
|
|
"grunt-contrib-jshint": "3.2.0",
|
|
"grunt-contrib-qunit": "~6.2.0",
|
|
"grunt-contrib-uglify": "~5.2.2",
|
|
"grunt-contrib-watch": "~1.1.0",
|
|
"grunt-file-append": "0.0.7",
|
|
"grunt-jsdoc": "2.4.1",
|
|
"grunt-jsvalidate": "~0.2.2",
|
|
"grunt-legacy-util": "^2.0.1",
|
|
"grunt-patch-wordpress": "~3.0.0",
|
|
"grunt-postcss": "~0.9.0",
|
|
"grunt-replace-lts": "~1.1.0",
|
|
"grunt-rtlcss": "~2.0.2",
|
|
"grunt-sass": "~3.1.0",
|
|
"grunt-webpack": "5.0.0",
|
|
"ink-docstrap": "1.3.2",
|
|
"install-changed": "1.1.0",
|
|
"jest-image-snapshot": "3.0.1",
|
|
"matchdep": "~2.0.0",
|
|
"prettier": "npm:wp-prettier@2.0.5",
|
|
"qunit": "~2.19.1",
|
|
"react-refresh": "0.10.0",
|
|
"sass": "^1.53.0",
|
|
"sinon": "~14.0.0",
|
|
"sinon-test": "~3.1.3",
|
|
"source-map-loader": "3.0.1",
|
|
"terser-webpack-plugin": "5.3.1",
|
|
"uglify-js": "^3.16.1",
|
|
"uuid": "8.3.2",
|
|
"wait-on": "6.0.1",
|
|
"webpack": "5.72.0",
|
|
"webpack-livereload-plugin": "3.0.2"
|
|
},
|
|
"dependencies": {
|
|
"@wordpress/a11y": "3.6.1",
|
|
"@wordpress/annotations": "2.6.2",
|
|
"@wordpress/api-fetch": "6.3.1",
|
|
"@wordpress/autop": "3.6.1",
|
|
"@wordpress/blob": "3.6.1",
|
|
"@wordpress/block-directory": "3.4.14",
|
|
"@wordpress/block-editor": "8.5.10",
|
|
"@wordpress/block-library": "7.3.14",
|
|
"@wordpress/block-serialization-default-parser": "4.6.1",
|
|
"@wordpress/blocks": "11.5.3",
|
|
"@wordpress/components": "19.8.5",
|
|
"@wordpress/compose": "5.4.1",
|
|
"@wordpress/core-data": "4.4.5",
|
|
"@wordpress/customize-widgets": "3.3.14",
|
|
"@wordpress/data": "6.6.1",
|
|
"@wordpress/data-controls": "2.6.1",
|
|
"@wordpress/date": "4.6.1",
|
|
"@wordpress/deprecated": "3.6.1",
|
|
"@wordpress/dom": "3.6.1",
|
|
"@wordpress/dom-ready": "3.6.1",
|
|
"@wordpress/edit-post": "6.3.14",
|
|
"@wordpress/edit-site": "4.3.14",
|
|
"@wordpress/edit-widgets": "4.3.14",
|
|
"@wordpress/editor": "12.5.10",
|
|
"@wordpress/element": "4.4.1",
|
|
"@wordpress/escape-html": "2.6.1",
|
|
"@wordpress/format-library": "3.4.10",
|
|
"@wordpress/hooks": "3.6.1",
|
|
"@wordpress/html-entities": "3.6.1",
|
|
"@wordpress/i18n": "4.6.1",
|
|
"@wordpress/icons": "8.2.3",
|
|
"@wordpress/interface": "4.5.6",
|
|
"@wordpress/is-shallow-equal": "4.6.1",
|
|
"@wordpress/keyboard-shortcuts": "3.4.1",
|
|
"@wordpress/keycodes": "3.6.1",
|
|
"@wordpress/list-reusable-blocks": "3.4.5",
|
|
"@wordpress/media-utils": "3.4.1",
|
|
"@wordpress/notices": "3.6.1",
|
|
"@wordpress/nux": "5.4.5",
|
|
"@wordpress/plugins": "4.4.3",
|
|
"@wordpress/preferences": "2.8.0",
|
|
"@wordpress/preferences-persistence": "1.8.0",
|
|
"@wordpress/primitives": "3.4.1",
|
|
"@wordpress/priority-queue": "2.6.1",
|
|
"@wordpress/redux-routine": "4.6.1",
|
|
"@wordpress/reusable-blocks": "3.4.10",
|
|
"@wordpress/rich-text": "5.4.2",
|
|
"@wordpress/server-side-render": "3.4.6",
|
|
"@wordpress/shortcode": "3.6.1",
|
|
"@wordpress/style-engine": "0.5.1",
|
|
"@wordpress/token-list": "2.6.1",
|
|
"@wordpress/url": "3.7.1",
|
|
"@wordpress/viewport": "4.4.1",
|
|
"@wordpress/warning": "2.6.1",
|
|
"@wordpress/widgets": "2.4.10",
|
|
"@wordpress/wordcount": "3.6.1",
|
|
"backbone": "1.4.1",
|
|
"clipboard": "2.0.10",
|
|
"core-js-url-browser": "3.6.4",
|
|
"element-closest": "^2.0.2",
|
|
"formdata-polyfill": "4.0.10",
|
|
"hoverintent": "2.2.1",
|
|
"imagesloaded": "4.1.4",
|
|
"jquery": "3.6.0",
|
|
"jquery-color": "2.2.0",
|
|
"jquery-form": "4.3.0",
|
|
"jquery-hoverintent": "1.10.2",
|
|
"lodash": "4.17.21",
|
|
"masonry-layout": "4.2.2",
|
|
"moment": "2.29.4",
|
|
"objectFitPolyfill": "2.3.5",
|
|
"polyfill-library": "4.0.0",
|
|
"react": "17.0.2",
|
|
"react-dom": "17.0.2",
|
|
"regenerator-runtime": "0.13.9",
|
|
"twemoji": "14.0.2",
|
|
"underscore": "1.13.4",
|
|
"whatwg-fetch": "3.6.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: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": "node ./tests/e2e/run-tests.js",
|
|
"test:visual": "node ./tests/visual-regression/run-tests.js",
|
|
"sync-gutenberg-packages": "grunt sync-gutenberg-packages",
|
|
"postsync-gutenberg-packages": "grunt wp-packages:sync-stable-blocks && grunt build --dev && grunt build"
|
|
}
|
|
}
|