mirror of
https://github.com/WordPress/WordPress.git
synced 2024-10-29 23:09:44 +01:00
586fab12bf
In preparation for updating Core to use Node.js version 18.x, this updates the dependancies for the Twenty Twenty-One theme to the latest versions. This addresses an unsupported engine warning where packages within the dependency tree did not support Node.js > 16.x. All changes to built files are included in this commit. These changes are a result of the following: - Identical sets of properties for multiple selectors are now consolidated into one. - The removal of a duplicate `--branding--description--font-family` definition. - The addition of the `postcss-discard-empty` dependency, which removes empty CSS rules within IE stylesheets after the previous consolidation is performed. - `stylelint` has only been updated to 14.x (15.x is the latest). This is because `@wordpres/stylelint-config` currently has a version constraint of `^14.2` and does not properly support 15.x. The last change of note is the new configuration for the `value-keyword-case` rule in `.stylelint-css.json`. This was added as a way to prevent the `currentColor` from being changed to all lowercase. Props jorbin, poena. See #59663, #59658. Built from https://develop.svn.wordpress.org/trunk@57122 git-svn-id: http://core.svn.wordpress.org/trunk@56633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
72 lines
2.4 KiB
JSON
72 lines
2.4 KiB
JSON
{
|
|
"name": "twentytwentyone",
|
|
"version": "2.0.0",
|
|
"description": "Default WP Theme",
|
|
"author": "The WordPress Contributors",
|
|
"license": "GPL-2.0-or-later",
|
|
"keywords": [
|
|
"WordPress",
|
|
"Theme"
|
|
],
|
|
"bugs": {
|
|
"url": "https://core.trac.wordpress.org/"
|
|
},
|
|
"homepage": "https://wordpress.org/themes/twentytwentyone/",
|
|
"devDependencies": {
|
|
"@wordpress/browserslist-config": "^5.29.0",
|
|
"@wordpress/eslint-plugin": "^17.3.0",
|
|
"@wordpress/stylelint-config": "^21.29.0",
|
|
"autoprefixer": "^10.4.13",
|
|
"chokidar-cli": "^3.0.0",
|
|
"eslint": "^8.33.0",
|
|
"minimist": "^1.2.8",
|
|
"npm-run-all": "^4.1.5",
|
|
"postcss": "^8.4.31",
|
|
"postcss-calc": "^9.0.1",
|
|
"postcss-cli": "^10.1.0",
|
|
"postcss-css-variables": "^0.19.0",
|
|
"postcss-custom-media": "^10.0.2",
|
|
"postcss-discard-duplicates": "^6.0.0",
|
|
"postcss-discard-empty": "^6.0.0",
|
|
"postcss-focus-within": "^8.0.0",
|
|
"postcss-merge-rules": "^6.0.1",
|
|
"postcss-nested": "^6.0.0",
|
|
"rtlcss": "^4.0.0",
|
|
"sass": "^1.58.0",
|
|
"stylelint": "^14.16.1",
|
|
"stylelint-config-recommended-scss": "^13.1.0"
|
|
},
|
|
"rtlcssConfig": {
|
|
"options": {
|
|
"autoRename": false,
|
|
"autoRenameStrict": false,
|
|
"blacklist": {},
|
|
"clean": true,
|
|
"greedy": false,
|
|
"processUrls": false,
|
|
"stringMap": []
|
|
},
|
|
"plugins": [],
|
|
"map": false
|
|
},
|
|
"browserslist": [
|
|
"extends @wordpress/browserslist-config"
|
|
],
|
|
"scripts": {
|
|
"start": "chokidar \"**/*.scss\" -c \"npm run build\" --initial",
|
|
"build:style": "sass assets/sass/style.scss:style.css --style=expanded --source-map",
|
|
"build:style-editor": "sass assets/sass/style-editor.scss:assets/css/style-editor.css --style=expanded --source-map",
|
|
"build:style-dark-mode": "sass assets/sass/style-dark-mode.scss:assets/css/style-dark-mode.css --style=expanded --source-map",
|
|
"build:rtl": "rtlcss style.css style-rtl.css",
|
|
"build:dark-rtl": "rtlcss assets/css/style-dark-mode.css assets/css/style-dark-mode-rtl.css",
|
|
"build:print": "sass assets/sass/07-utilities/print.scss:assets/css/print.css --style=expanded --source-map",
|
|
"build:ie": "postcss style.css -o assets/css/ie.css",
|
|
"build:ie-editor": "postcss assets/css/style-editor.css -o assets/css/ie-editor.css",
|
|
"build:stylelint": "stylelint **/*.css --fix --config .stylelintrc-css.json",
|
|
"build": "run-s \"build:*\"",
|
|
"watch": "chokidar \"**/*.scss\" -c \"npm run build\" --initial",
|
|
"lint:scss": "stylelint **/*.scss",
|
|
"lint-fix:scss": "stylelint **/*.scss --fix"
|
|
}
|
|
}
|