mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-10 10:27:57 +01:00
9bde65e7ba
In coordination with the release of 6.1, a new version of each bundled theme will also be released. This bumps the version of each theme to the following: - Twenty Ten: 3.7 - Twenty Eleven: 4.2 - Twenty Twelve: 3.8 - Twenty Thirteen: 3.7 - Twenty Fourteen: 3.5 - Twenty Fifteen: 3.3 - Twenty Sixteen: 2.8 - Twenty Seventeen: 3.1 - Twenty Nineteen: 2.4 - Twenty Twenty: 2.1 - Twenty Twenty-One: 1.7 - Twenty Twenty-Two: 1.3 Additionally, this audits all `$version` parameters for `wp_(enqueue|register)_(script|style)` calls, ensuring accurate last edited or theme version values for proper caching and cache busting. Props robinwpdeveloper, desrosj, mukesh27. Fixes #56450. Built from https://develop.svn.wordpress.org/trunk@54492 git-svn-id: http://core.svn.wordpress.org/trunk@54051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
56 lines
1.9 KiB
JSON
56 lines
1.9 KiB
JSON
{
|
|
"name": "twentytwenty",
|
|
"version": "2.1.0",
|
|
"description": "Default WP Theme",
|
|
"author": "The WordPress Contributors",
|
|
"license": "GPL-2.0-or-later",
|
|
"keywords": [
|
|
"WordPress",
|
|
"Theme",
|
|
"TwentyTwenty"
|
|
],
|
|
"homepage": "https://wordpress.org/themes/twentytwenty/",
|
|
"bugs": {
|
|
"url": "https://core.trac.wordpress.org/"
|
|
},
|
|
"devDependencies": {
|
|
"@wordpress/browserslist-config": "^5.1.0",
|
|
"@wordpress/scripts": "^24.2.0",
|
|
"autoprefixer": "^10.4.12",
|
|
"concurrently": "^7.4.0",
|
|
"postcss": "^8.4.16",
|
|
"postcss-cli": "^10.0.0",
|
|
"rtlcss": "^4.0.0",
|
|
"stylelint-a11y": "^1.2.3"
|
|
},
|
|
"browserslist": [
|
|
"extends @wordpress/browserslist-config"
|
|
],
|
|
"rtlcssConfig": {
|
|
"options": {
|
|
"autoRename": false,
|
|
"autoRenameStrict": false,
|
|
"clean": true,
|
|
"greedy": false,
|
|
"processUrls": false,
|
|
"stringMap": []
|
|
},
|
|
"plugins": [],
|
|
"map": false
|
|
},
|
|
"scripts": {
|
|
"build": "npm run build:vendor-prefixes && npm run build:rtl",
|
|
"build:rtl": "concurrently \"npm run build:rtl-style\" \"npm run build:rtl-esb\" \"npm run build:rtl-esc\"",
|
|
"build:rtl-style": "rtlcss style.css style-rtl.css",
|
|
"build:rtl-esb": "rtlcss assets/css/editor-style-block.css assets/css/editor-style-block-rtl.css",
|
|
"build:rtl-esc": "rtlcss assets/css/editor-style-classic.css assets/css/editor-style-classic-rtl.css",
|
|
"build:vendor-prefixes": "concurrently \"npm run build:vendor-prefixes-style\" \"npm run build:vendor-prefixes-esb\" \"npm run build:vendor-prefixes-esc\"",
|
|
"build:vendor-prefixes-style": "postcss -r --no-map style.css assets/css/editor-style-block.css assets/css/editor-style-classic.css",
|
|
"build:vendor-prefixes-esb": "postcss -r --no-map assets/css/editor-style-block.css ",
|
|
"build:vendor-prefixes-esc": "postcss -r --no-map assets/css/editor-style-classic.css",
|
|
"lint:css": "wp-scripts lint-style 'style.css' 'assets/**/*.css'",
|
|
"lint:js": "wp-scripts lint-js 'assets/**/*.js'",
|
|
"lint:pkg-json": "wp-scripts lint-pkg-json"
|
|
}
|
|
}
|