Skip to content

Commit 40ba544

Browse files
authored
Merge pull request #103 from dingo-d/updates
Updates
2 parents 3aa1119 + 217217e commit 40ba544

File tree

168 files changed

+15409
-19699
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

168 files changed

+15409
-19699
lines changed

.distignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,4 @@ postcss.config.js
3030
webpack.config.js
3131
package.lock
3232
src/Core/CompiledContainer.php
33+
vite.config.js

.editorconfig

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,23 @@
1-
# EditorConfig is awesome: https://EditorConfig.org
1+
# https://EditorConfig.org
22

3-
# top-most EditorConfig file
43
root = true
54

6-
# Unix-style newlines with a newline ending every file
75
[*]
8-
end_of_line = lf
9-
insert_final_newline = true
106
indent_style = tab
117
indent_size = 4
8+
end_of_line = lf
129
charset = utf-8
10+
trim_trailing_whitespace = true
11+
insert_final_newline = true
12+
block_comment_start = /*
13+
block_comment = *
14+
block_comment_end = */
15+
16+
[{**/*.yml,**/*.neon}]
17+
indent_style = space
18+
indent_size = 2
19+
20+
[*.md]
21+
indent_style = space
22+
indent_size = 2
23+
trim_trailing_whitespace = false

.env.actions.testing

Lines changed: 0 additions & 25 deletions
This file was deleted.

.env.testing

Lines changed: 0 additions & 31 deletions
This file was deleted.

.eslintrc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,18 @@
55
"extends": [
66
"plugin:@wordpress/eslint-plugin/esnext"
77
],
8+
"parser": "@babel/eslint-parser",
89
"parserOptions": {
9-
"ecmaVersion": 2018,
10+
"ecmaVersion": "latest",
1011
"sourceType": "module",
1112
"ecmaFeatures": {
1213
"jsx": true
1314
}
1415
},
1516
"rules": {
1617
"template-curly-spacing": 0,
18+
"object-curly-spacing": 0,
19+
"array-bracket-spacing": 0,
1720
"space-in-parens": 0,
1821
"computed-property-spacing": 0
1922
}

.gitattributes

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,37 +7,31 @@
77
/.github export-ignore
88
/bin export-ignore
99
/tests export-ignore
10-
/webpack export-ignore
1110
/node_modules export-ignore
12-
/assets/dev export-ignore
11+
/assets/dev/ export-ignore
1312

13+
.distignore export-ignore
1414
.editorconfig export-ignore
15-
.env.testing export-ignore
16-
.env.actions.testing export-ignore
1715
.eslintignore export-ignore
1816
.eslintrc export-ignore
17+
.gitattributes export-ignore
1918
.gitignore export-ignore
2019
.phpcs.xml.dist export-ignore
2120
.stylelintrc export-ignore
22-
.idea export-ignore
23-
babel.config.json export-ignore
24-
codeception.dist.yml export-ignore
2521
composer.json export-ignore
2622
composer.lock export-ignore
27-
husky.config.js export-ignore
28-
phpstan.neon export-ignore
2923
package.json export-ignore
3024
package-lock.json export-ignore
31-
postcss.config.js export-ignore
32-
webpack.config.js export-ignore
25+
phpstan.neon export-ignore
26+
phpunit.xml export-ignore
27+
vite.config.js export-ignore
3328

3429
composer.lock -diff
3530
yarn.lock -diff
3631
package.lock -diff
3732

3833
#
39-
# Auto detect text files and perform LF normalization
40-
# http://davidlaing.com/2012/09/19/customise-your-gitattributes-to-become-a-git-ninja/
34+
# Auto-detect text files and perform LF normalization
4135
#
4236
* text=auto
4337

.github/workflows/deploy.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,20 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v2
14+
uses: actions/checkout@v3
1515

1616
# Install dependencies and handle caching in one go.
1717
# @link https://github.com/marketplace/actions/install-composer-dependencies
18-
- name: Install Composer dependencies
19-
uses: "ramsey/composer-install@v1"
20-
21-
- uses: php-actions/composer@v4
18+
- uses: shivammathur/setup-php@v2
19+
with:
20+
php-version: "7.4"
21+
- uses: ramsey/composer-install@v2
2222
with:
23-
dev: no
24-
php_version: 7.3
25-
composer_version: 2
23+
composer-options: "--ignore-platform-reqs --optimize-autoloader"
2624

2725
- name: Build plugin
2826
run: |
29-
npm install
27+
npm ci --no-progress --no-dev
3028
npm run build
3129
3230
- name: Deploy plugin to wordpress.org

0 commit comments

Comments
 (0)