Skip to content

Commit

Permalink
Merge pull request #103 from dingo-d/updates
Browse files Browse the repository at this point in the history
Updates
  • Loading branch information
dingo-d committed Jan 30, 2023
2 parents 3aa1119 + 217217e commit 40ba544
Show file tree
Hide file tree
Showing 168 changed files with 15,409 additions and 19,699 deletions.
1 change: 1 addition & 0 deletions .distignore
Expand Up @@ -30,3 +30,4 @@ postcss.config.js
webpack.config.js
package.lock
src/Core/CompiledContainer.php
vite.config.js
21 changes: 16 additions & 5 deletions .editorconfig
@@ -1,12 +1,23 @@
# EditorConfig is awesome: https://EditorConfig.org
# https://EditorConfig.org

# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
indent_style = tab
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
block_comment_start = /*
block_comment = *
block_comment_end = */

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

[*.md]
indent_style = space
indent_size = 2
trim_trailing_whitespace = false
25 changes: 0 additions & 25 deletions .env.actions.testing

This file was deleted.

31 changes: 0 additions & 31 deletions .env.testing

This file was deleted.

5 changes: 4 additions & 1 deletion .eslintrc
Expand Up @@ -5,15 +5,18 @@
"extends": [
"plugin:@wordpress/eslint-plugin/esnext"
],
"parser": "@babel/eslint-parser",
"parserOptions": {
"ecmaVersion": 2018,
"ecmaVersion": "latest",
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"template-curly-spacing": 0,
"object-curly-spacing": 0,
"array-bracket-spacing": 0,
"space-in-parens": 0,
"computed-property-spacing": 0
}
Expand Down
20 changes: 7 additions & 13 deletions .gitattributes
Expand Up @@ -7,37 +7,31 @@
/.github export-ignore
/bin export-ignore
/tests export-ignore
/webpack export-ignore
/node_modules export-ignore
/assets/dev export-ignore
/assets/dev/ export-ignore

.distignore export-ignore
.editorconfig export-ignore
.env.testing export-ignore
.env.actions.testing export-ignore
.eslintignore export-ignore
.eslintrc export-ignore
.gitattributes export-ignore
.gitignore export-ignore
.phpcs.xml.dist export-ignore
.stylelintrc export-ignore
.idea export-ignore
babel.config.json export-ignore
codeception.dist.yml export-ignore
composer.json export-ignore
composer.lock export-ignore
husky.config.js export-ignore
phpstan.neon export-ignore
package.json export-ignore
package-lock.json export-ignore
postcss.config.js export-ignore
webpack.config.js export-ignore
phpstan.neon export-ignore
phpunit.xml export-ignore
vite.config.js export-ignore

composer.lock -diff
yarn.lock -diff
package.lock -diff

#
# Auto detect text files and perform LF normalization
# http://davidlaing.com/2012/09/19/customise-your-gitattributes-to-become-a-git-ninja/
# Auto-detect text files and perform LF normalization
#
* text=auto

Expand Down
16 changes: 7 additions & 9 deletions .github/workflows/deploy.yml
Expand Up @@ -11,22 +11,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

# Install dependencies and handle caching in one go.
# @link https://github.com/marketplace/actions/install-composer-dependencies
- name: Install Composer dependencies
uses: "ramsey/composer-install@v1"

- uses: php-actions/composer@v4
- uses: shivammathur/setup-php@v2
with:
php-version: "7.4"
- uses: ramsey/composer-install@v2
with:
dev: no
php_version: 7.3
composer_version: 2
composer-options: "--ignore-platform-reqs --optimize-autoloader"

- name: Build plugin
run: |
npm install
npm ci --no-progress --no-dev
npm run build
- name: Deploy plugin to wordpress.org
Expand Down

0 comments on commit 40ba544

Please sign in to comment.