Skip to content

Commit

Permalink
Merge pull request #12 from paynow/feature/support-woocommerce-blocks
Browse files Browse the repository at this point in the history
Update plugin to support for woocommerce checkout blocks
  • Loading branch information
adrianmaenza authored May 7, 2024
2 parents d07db51 + 1d26ef4 commit 018b90e
Show file tree
Hide file tree
Showing 25 changed files with 22,460 additions and 594 deletions.
27 changes: 27 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# 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
indent_size = 4
tab_width = 4
indent_style = tab
insert_final_newline = true
trim_trailing_whitespace = true

[*.txt]
trim_trailing_whitespace = false

[*.{md,json,yml}]
trim_trailing_whitespace = false
indent_style = space
indent_size = 2

[*.json]
indent_style = tab
6 changes: 6 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
extends: ['plugin:@woocommerce/eslint-plugin/recommended'],
rules: {
'react/react-in-jsx-scope': 'off',
},
};
62 changes: 62 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,64 @@

# Operating System files
.DS_Store
Thumbs.db

# IDE files
.idea
.vscode/*
project.xml
project.properties
.project
.settings*
*.sublime-project
*.sublime-workspace
.sublimelinterrc

# Sass
.sass-cache/

# Logs
logs/

# Environment files
wp-cli.local.yml
yarn-error.log
npm-debug.log
.pnpm-debug.log

# Build files
*.sql
*.swp
*.zip

# Built packages

build-module/
build-style/
build-types/
dist/

# Project files
node_modules/
vendor/

# TypeScript files
tsconfig.tsbuildinfo

# Node Package Dependencies
package-lock.json

# wp-env config
.wp-env.override.json

# Unit tests
tmp/

# Composer
vendor/
bin/composer/**/vendor/
lib/vendor/
contributors.md
contributors.html
paynow-for-woocommerce.zip
classes/paynow.log
10 changes: 10 additions & 0 deletions .wp-env.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"phpVersion": null,
"core": null,
"plugins": ["https://downloads.wordpress.org/plugin/woocommerce.zip", "."],
"config": {
"JETPACK_AUTOLOAD_DEV": true,
"WP_DEBUG": true,
"SCRIPT_DEBUG": true
}
}
Loading

0 comments on commit 018b90e

Please sign in to comment.