Add browserlist config

This commit is contained in:
Sarah Norris 2023-02-01 10:45:13 +00:00
parent b8d66b7abd
commit 09b5c79ad1
5 changed files with 33 additions and 4 deletions

1
.browserslistrc Normal file
View file

@ -0,0 +1 @@
extends @wordpress/browserslist-config

25
.editorconfig Normal file
View file

@ -0,0 +1,25 @@
# This file is for unifying the coding style for different editors and IDEs
# editorconfig.org

# WordPress Coding Standards
# https://make.wordpress.org/core/handbook/coding-standards/

root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = tab

[*.{yml,yaml}]
indent_style = space
indent_size = 2

[*.{gradle,java,kt}]
indent_style = space

[packages/react-native-*/**.xml]
indent_style = space

View file

@ -1,3 +1,4 @@
vendor
node_modules
build
admin/js/lib
admin/js/lib

5
package-lock.json generated
View file

@ -1,16 +1,17 @@
{
"name": "create-block-theme",
"version": "1.3.10",
"version": "1.4.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "create-block-theme",
"version": "1.3.10",
"version": "1.4.0",
"license": "GPL-2.0-or-later",
"devDependencies": {
"@actions/core": "^1.10.0",
"@wordpress/block-library": "^8.2.0",
"@wordpress/browserslist-config": "^5.8.0",
"@wordpress/element": "^5.2.0",
"@wordpress/prettier-config": "^2.8.0",
"@wordpress/scripts": "^25.2.0",

View file

@ -18,6 +18,7 @@
"devDependencies": {
"@actions/core": "^1.10.0",
"@wordpress/block-library": "^8.2.0",
"@wordpress/browserslist-config": "^5.8.0",
"@wordpress/element": "^5.2.0",
"@wordpress/prettier-config": "^2.8.0",
"@wordpress/scripts": "^25.2.0",
@ -42,4 +43,4 @@
"start": "wp-scripts start",
"update-version": "node update-version-and-changelog.js"
}
}
}