Skip to content
This repository was archived by the owner on Aug 1, 2021. It is now read-only.

Commit 1c288b7

Browse files
Merge pull request #166 from technote-space/release/v2.1.0
Release/v2.1.0
2 parents 2040a0a + 22ab805 commit 1c288b7

File tree

365 files changed

+15110
-54451
lines changed

Some content is hidden

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

365 files changed

+15110
-54451
lines changed

.editorconfig

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# This file is for unifying the coding style for different editors and IDEs
2+
# editorconfig.org
3+
4+
# WordPress Coding Standards
5+
# https://make.wordpress.org/core/handbook/coding-standards/
6+
7+
root = true
8+
9+
[*]
10+
charset = utf-8
11+
end_of_line = lf
12+
insert_final_newline = true
13+
trim_trailing_whitespace = true
14+
indent_style = tab
15+
indent_size = 4
16+
17+
[{.jshintrc,*.json,*.yml}]
18+
indent_style = space
19+
indent_size = 2
20+
21+
[{*.txt,wp-config-sample.php}]
22+
end_of_line = crlf

.gitattributes

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
* text=auto
2+
*.php text eol=lf
3+
*.js text eol=lf
4+
*.json text eol=lf
5+
*.sass text eol=lf
6+
*.scss text eol=lf
7+
*.css text eol=lf
8+
*.sh text eol=lf
9+
*.png binary
10+
*.jpg binary
11+
*.gif binary
12+
13+
.git export-ignore
14+
.github export-ignore
15+
.gitignore export-ignore
16+
.gitattributes export-ignore
17+
.editorconfig export-ignore
18+
.idea export-ignore
19+
.babelrc export-ignore
20+
.eslintrc export-ignore
21+
.npmignore export-ignore
22+
*.yml export-ignore
23+
*.xml export-ignore
24+
package.json export-ignore
25+
package-lock.json export-ignore
26+
composer.json export-ignore
27+
composer.lock export-ignore
28+
29+
test export-ignore
30+
__test__ export-ignore
31+
assets/js/node_modules export-ignore
32+
assets/js/coverage export-ignore
33+
assets/js/.nyc_output export-ignore
34+
assets/js/src export-ignore
35+
assets/js/*.config.js export-ignore
36+
assets/js/jest* export-ignore

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
custom: https://paypal.me/technote0space

.github/main.workflow

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
workflow "Add label to PR" {
2+
on = "pull_request"
3+
resolves = "PR Labeler"
4+
}
5+
6+
workflow "Push" {
7+
on = "push"
8+
resolves = ["Draft Release"]
9+
}
10+
11+
12+
action "PR opened filter" {
13+
uses = "actions/bin/filter@master"
14+
args = "action opened"
15+
}
16+
17+
action "PR Labeler" {
18+
needs = "PR opened filter"
19+
uses = "TimonVS/pr-labeler@master"
20+
secrets = ["GITHUB_TOKEN"]
21+
}
22+
23+
action "Draft Release" {
24+
uses = "toolmantim/release-drafter@v5.1.1"
25+
secrets = ["GITHUB_TOKEN"]
26+
}

.github/pr-labeler.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
'Type: Feature': feature/*
2+
'Type: Bug': fix/*
3+
'Type: Maintenance': patch/*
4+
'Type: Release': release/*
5+
'Type: Refactoring': ['refactor/*', 'refactoring/*']
6+
'Type: Documentation': ['docs/*', 'doc/*']

.github/release-drafter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Config for https://github.com/apps/release-drafter
2-
name-template: 'v$NEXT_PATCH_VERSION :rainbow:'
2+
name-template: 'v$NEXT_PATCH_VERSION'
33
tag-template: 'v$NEXT_PATCH_VERSION'
44
categories:
55
- title: ':rocket: Features'

.gitignore

Lines changed: 39 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,39 @@
1-
2-
#ignore thumbnails created by windows
3-
Thumbs.db
4-
#Ignore files build by Visual Studio
5-
*.obj
6-
*.exe
7-
*.pdb
8-
*.user
9-
*.aps
10-
*.pch
11-
*.vspscc
12-
*_i.c
13-
*_p.c
14-
*.ncb
15-
*.suo
16-
*.tlb
17-
*.tlh
18-
*.bak
19-
*.cache
20-
*.ilk
21-
*.log
22-
*.dll
23-
*.lib
24-
*.sbr
25-
logs
26-
vendor/bin
27-
/cache
1+
2+
#ignore thumbnails created by windows
3+
Thumbs.db
4+
#Ignore files build by Visual Studio
5+
*.obj
6+
*.exe
7+
*.pdb
8+
*.user
9+
*.aps
10+
*.pch
11+
*.vspscc
12+
*_i.c
13+
*_p.c
14+
*.ncb
15+
*.suo
16+
*.tlb
17+
*.tlh
18+
*.bak
19+
*.cache
20+
*.ilk
21+
*.log
22+
*.dll
23+
*.lib
24+
*.sbr
25+
logs
26+
/cache
27+
28+
!tests/bin/**/*.sh
29+
/coverage
30+
/vendor
31+
/travis-ci
32+
33+
/.coveralls.yml
34+
/phpcs.xml
35+
/phpmd.xml
36+
/phpunit.xml
37+
/tests/bootstrap.php
38+
/tests/.plugin
39+
composer.lock

.travis.yml

Lines changed: 221 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,221 @@
1+
language: php
2+
3+
sudo: false
4+
dist: trusty
5+
6+
git:
7+
depth: 3
8+
9+
notifications:
10+
email: false
11+
slack:
12+
secure: k23wSAJ6NzLU2O/DvstKfZfuf2KzoGWG5wn2AKE0/IFpdwAyR1UFadiIz4v2CzOnQIG7uLeNIsG8wzG2iMXuVMy77evsF5vdGfN1HfFVLmmZBsuVXgfRWr0PWbGP3S7cZBbJoQdLxqFMRP6MZGb27T4vgoCNIsD7aYXu9vXWtDJmi/gJb0ToAsejfj1UV9BA4YX9JoFS4LXrFx7REmbwJQCelFUevz3NVgdotfZlo/VFenCrYg8KNjgocd9b7SeZf6B4I1C42D+sBOfz6kGTYPt6rMZ8RD1Nzcmc2miWSca64APKJpcxXVdtgztjz92xFfYfaPcT9JH8vAl2TjR4dqWEDzs/6rsUyCiXkmEwluV+x9ygfbdaEHd1EGneQ8zNa761xsjvzGaS6OysSSOU/QKy8ummr8vczX0q4Iv8WO4fKxlxmOORxhm5ri3QAVLhltwLXbuCw9WF5Y87vpFxd+C6pG7U4/uIxv5ZEOhJdj7effk2p9kgO6b9IC/S3bd3LneGMkhMvLffObsQeqN+8D86FTG7O7hr9SJcrHKiNcHkAyokJGXBl5mmEDqULOHsNMekSCRADUn8nuWbWLsg28NzQelIZd4Uf46wuzvUXk0vrmjY2Ro1lnGk6upwwUUV64uh8pPgcLqTfPZGW3zsTY4bx/tNwCQELCQ20YxUsu0=
13+
14+
branches:
15+
only:
16+
- master
17+
- "/^v[0-9\\.]+/"
18+
19+
cache:
20+
directories:
21+
- "${HOME}/.composer/cache"
22+
- "${HOME}/.npm"
23+
- "${TRAVIS_BUILD_DIR}/.plugin"
24+
25+
stages:
26+
- name: check
27+
if: branch = master and tag IS blank and type IN (pull_request, api, cron)
28+
- name: test
29+
if: branch = master and tag IS blank and type IN (pull_request, api)
30+
- name: test trunk
31+
if: branch = master and tag IS blank and type IN (pull_request, api, cron)
32+
- name: prepare
33+
if: branch = master and tag IS blank and type IN (pull_request, api)
34+
- name: deploy
35+
if: tag IS present
36+
37+
before_script:
38+
- git clone --depth=1 https://github.com/wp-content-framework/travis-ci.git travis-ci
39+
- bash travis-ci/bin/prepare.sh
40+
41+
jobs:
42+
fast_finish: true
43+
include:
44+
- stage: check
45+
language: php
46+
php: '7.2'
47+
script: bash travis-ci/bin/php/phpcs.sh
48+
- stage: check
49+
language: php
50+
php: '7.2'
51+
script: bash travis-ci/bin/php/phpmd.sh
52+
53+
- stage: check
54+
language: node_js
55+
node_js: '11'
56+
dist: trusty
57+
script: bash travis-ci/bin/js/js-lint.sh
58+
59+
60+
- stage: test
61+
language: php
62+
php: '7.3'
63+
env:
64+
- WP_VERSION=latest
65+
- COVERAGE_REPORT=1
66+
- ACTIVATE_POPULAR_PLUGINS=1
67+
script: bash travis-ci/bin/php/wp-test.sh
68+
- stage: test
69+
language: php
70+
php: '7.3'
71+
env:
72+
- WP_VERSION=latest
73+
- WP_MULTISITE=1
74+
script: bash travis-ci/bin/php/wp-test.sh
75+
- stage: test
76+
language: php
77+
php: '7.2'
78+
env: WP_VERSION=latest
79+
script: bash travis-ci/bin/php/wp-test.sh
80+
- stage: test
81+
language: php
82+
php: '7.2'
83+
env:
84+
- WP_VERSION=5.2
85+
- WP_MULTISITE=1
86+
- COVERAGE_REPORT=1
87+
script: bash travis-ci/bin/php/wp-test.sh
88+
- stage: test
89+
language: php
90+
php: '7.1'
91+
env: WP_VERSION=latest
92+
script: bash travis-ci/bin/php/wp-test.sh
93+
- stage: test
94+
language: php
95+
php: '7.1'
96+
env:
97+
- WP_VERSION=5.1
98+
- WP_MULTISITE=1
99+
- COVERAGE_REPORT=1
100+
script: bash travis-ci/bin/php/wp-test.sh
101+
- stage: test
102+
language: php
103+
php: '7.0'
104+
env:
105+
- WP_VERSION=5.0
106+
- COVERAGE_REPORT=1
107+
script: bash travis-ci/bin/php/wp-test.sh
108+
- stage: test
109+
language: php
110+
php: '7.0'
111+
env:
112+
- WP_VERSION=latest
113+
- WP_MULTISITE=1
114+
script: bash travis-ci/bin/php/wp-test.sh
115+
- stage: test
116+
language: php
117+
php: '5.6'
118+
env:
119+
- WP_VERSION=latest
120+
- COVERAGE_REPORT=1
121+
script: bash travis-ci/bin/php/wp-test.sh
122+
- stage: test
123+
language: php
124+
php: '5.6'
125+
env:
126+
- WP_VERSION=5.0
127+
- WP_MULTISITE=1
128+
- COVERAGE_REPORT=1
129+
script: bash travis-ci/bin/php/wp-test.sh
130+
- stage: test
131+
language: php
132+
php: '5.6'
133+
env: WP_VERSION=4.6
134+
script: bash travis-ci/bin/php/wp-test.sh
135+
- stage: test
136+
language: php
137+
php: '5.6'
138+
env: WP_VERSION=4.5
139+
script: bash travis-ci/bin/php/wp-test.sh
140+
- stage: test
141+
language: php
142+
php: '5.6'
143+
env: WP_VERSION=3.9
144+
script: bash travis-ci/bin/php/wp-test.sh
145+
146+
- stage: test
147+
language: node_js
148+
node_js: '10'
149+
dist: trusty
150+
script: bash travis-ci/bin/js/js-test.sh
151+
- stage: test
152+
language: node_js
153+
node_js: '11'
154+
dist: trusty
155+
env: COVERAGE_REPORT=1
156+
script: bash travis-ci/bin/js/js-test.sh
157+
158+
159+
- stage: test trunk
160+
language: php
161+
php: '7.3'
162+
env:
163+
- WP_VERSION=trunk
164+
- WP_MULTISITE=1
165+
- ACTIVATE_POPULAR_PLUGINS=1
166+
script: bash travis-ci/bin/php/wp-test.sh
167+
168+
- stage: test trunk
169+
language: php
170+
php: '5.6'
171+
env: WP_VERSION=trunk
172+
script: bash travis-ci/bin/php/wp-test.sh
173+
174+
175+
- stage: prepare
176+
language: node_js
177+
node_js: '11'
178+
dist: trusty
179+
script:
180+
- source travis-ci/bin/deploy/env.sh
181+
- bash travis-ci/bin/deploy/wp-check-diff.sh
182+
183+
184+
- stage: deploy
185+
language: node_js
186+
node_js: '11'
187+
dist: trusty
188+
script: skip
189+
before_deploy:
190+
- source travis-ci/bin/deploy/env.sh
191+
- bash travis-ci/bin/deploy/create.sh
192+
deploy:
193+
provider: releases
194+
skip_cleanup: true
195+
name: ${RELEASE_TITLE}
196+
tag_name: ${RELEASE_TAG}
197+
draft: true
198+
api_key:
199+
secure: SED2xsuudQql6XDDhUXESghmbqzuOrxKMMM/jdRBSkj4IBkUkmq+273uiFeZKdNau/CgM4uqaFus2LFcGyJdLkA+HlO1aP+1yDMzCKoMVRuDRk4foo3/EiS21hYX4RmHLzERSlM9EKjfH1GN37v01LqIV+59NmSwiRBMXkIOaeGC3lVXeT6oeUnCvPfQjTc9Da24mCObHwPqgfWIjw4SaA4WGT+aEvjv9xLZst8c68/P/wz77eZsrgJMxcXKn/zr/OrlYUeQdPhSQLLU2BSI4BoSqPxI6EjQz6W7NumRHyTm0b7D6y5C9SyvaC8A7+iibdC5xWGxfHGORaA3ix8T+ihCnK/dDSelcUAjxB/Cp1T3BJCTCW1fnqRR1g86ddulzy2oJBhuGyxHkWcmTR34tp59bTIA6WkEAXPg9TNOs5LALDXK3scy+pQ4u+wu3yxyGVJon6su/0j1r77WEt9O0Ob6UqeYtQ+CHynU4Ix2xzH7jgYfPBCJIIVm4MPGiXQVW+YoRPNGGsreNe2rvVW3FrA3KoBZvPI2RI44jx2Zf1SIMPEVi5zSgqEhoZMnpXrxedphOvJ86EgrByfd9vr3b9rW4/qXZy2f3Kjt41XVou3fqbR0vrbTbClzXwqHzVssV+59S/nB//9ACfHYBZQrURR0N00060gLoFyzEz37Kcc=
200+
file: ${RELEASE_FILE}
201+
overwrite: true
202+
on:
203+
tags: true
204+
205+
- stage: deploy
206+
language: node_js
207+
node_js: '11'
208+
dist: trusty
209+
script: skip
210+
before_deploy:
211+
- source travis-ci/bin/deploy/env.sh
212+
deploy:
213+
provider: script
214+
skip_cleanup: true
215+
script: bash travis-ci/bin/deploy/wp-release.sh
216+
on:
217+
tags: true
218+
219+
allow_failures:
220+
- env: WP_VERSION=4.5
221+
- env: WP_VERSION=3.9

0 commit comments

Comments
 (0)