Skip to content

Commit 5ce6be3

Browse files
committed
feat: Initial commit
0 parents  commit 5ce6be3

16 files changed

+2253
-0
lines changed

.editorconfig

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# editorconfig.org
2+
3+
root = true
4+
5+
[*]
6+
indent_style = space
7+
indent_size = 2
8+
end_of_line = lf
9+
charset = utf-8
10+
trim_trailing_whitespace = true
11+
insert_final_newline = true
12+
13+
[*.php]
14+
indent_size = 4
15+
16+
[*.md]
17+
trim_trailing_whitespace = false

.gitattributes

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/.github export-ignore
2+
/.yarn export-ignore
3+
/.editorconfig export-ignore
4+
/.gitattributes export-ignore
5+
/.gitignore export-ignore
6+
/.releaserc export-ignore
7+
/LICENSE export-ignore
8+
/package.json export-ignore
9+
/phpcs.xml export-ignore
10+
/renovate.json export-ignore
11+
yarn.lock export-ignore

.github/renovate.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"config:base"
5+
]
6+
}

.github/workflows/release.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Release
2+
on:
3+
workflow_dispatch:
4+
push:
5+
branches:
6+
- master
7+
jobs:
8+
release:
9+
name: Release
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v3
14+
with:
15+
fetch-depth: 0
16+
token: ${{ secrets.OBLAK_BOT_TOKEN }}
17+
- name: Publish a composer package
18+
uses: better-php-actions/publish-composer-package@v1
19+
with:
20+
package_slug: "xwoo-data-type"
21+
package_name: "eXtended WooCommerce Data Type"
22+
with_gpg: true
23+
gpg_key: ${{ secrets.GPG_PRIVATE_KEY }}
24+
gpg_passphrase: ${{ secrets.GPG_PASSPHRASE }}
25+
release_token: ${{ secrets.OBLAK_BOT_TOKEN }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
vendor

LICENSE

Lines changed: 674 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# WooCommerce Utilities

composer.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"name": "xwoo/data-type-attribute-tax",
3+
"license": "GPL-2.0",
4+
"type": "library",
5+
"authors": [
6+
{
7+
"name": "Sibin Grasic",
8+
"email": "[email protected]"
9+
}
10+
],
11+
"require": {
12+
"php": ">= 8.0",
13+
"xwoo/data-type": "^1.2",
14+
"oblak/wp-polyfills": "^1.1"
15+
},
16+
"minimum-stability": "dev",
17+
"prefer-stable": true,
18+
"require-dev": {
19+
"oblak/wordpress-coding-standard": "^1.0"
20+
},
21+
"suggest": {
22+
"automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package."
23+
},
24+
"autoload": {
25+
"psr-4": {
26+
"XWC\\": "src"
27+
},
28+
"files": [
29+
"src/Functions/xwc-att-tax-fns.php"
30+
]
31+
},
32+
"config": {
33+
"allow-plugins": {
34+
"dealerdirect/phpcodesniffer-composer-installer": true
35+
}
36+
}
37+
}

0 commit comments

Comments
 (0)