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

Commit 172c740

Browse files
Merge pull request #176 from technote-space/release/v2.1.2
Release/v2.1.2
2 parents 28d6680 + cd9d5df commit 172c740

File tree

24 files changed

+8250
-10326
lines changed

24 files changed

+8250
-10326
lines changed

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,12 @@ package.json export-ignore
2525
package-lock.json export-ignore
2626
composer.json export-ignore
2727
composer.lock export-ignore
28+
yarn.lock export-ignore
29+
update.json export-ignore
2830

2931
test export-ignore
3032
__test__ export-ignore
33+
bin export-ignore
3134
assets/js/node_modules export-ignore
3235
assets/js/coverage export-ignore
3336
assets/js/.nyc_output export-ignore

.github/CODEOWNERS

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

.gitignore

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,17 @@ logs
2626
/cache
2727

2828
!tests/bin/**/*.sh
29-
/coverage
29+
coverage/
3030
/vendor
3131
/travis-ci
32+
/gh-pages
3233

3334
/.coveralls.yml
3435
/phpcs.xml
3536
/phpmd.xml
3637
/phpunit.xml
3738
/tests/bootstrap.php
38-
/tests/.plugin
39+
/.plugin
40+
/.work
3941
composer.lock
42+
!/bin

.travis.yml

Lines changed: 38 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@ branches:
1717
- "/^v[0-9\\.]+/"
1818

1919
cache:
20+
yarn: true
2021
directories:
2122
- "${HOME}/.composer/cache"
22-
- "${HOME}/.npm"
23+
- node_modules
2324
- "${TRAVIS_BUILD_DIR}/.plugin"
25+
- "${TRAVIS_BUILD_DIR}/.work/cache"
2426

2527
stages:
2628
- name: check
@@ -29,8 +31,8 @@ stages:
2931
if: branch = master and tag IS blank and type IN (pull_request, api)
3032
- name: test trunk
3133
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: prepare
35+
# if: branch = master and tag IS blank and type IN (pull_request, api)
3436
- name: deploy
3537
if: tag IS present
3638

@@ -172,13 +174,13 @@ jobs:
172174
script: bash travis-ci/bin/php/wp-test.sh
173175

174176

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
177+
# - stage: prepare
178+
# language: node_js
179+
# node_js: '11'
180+
# dist: trusty
181+
# script:
182+
# - source travis-ci/bin/deploy/env.sh
183+
# - bash travis-ci/bin/deploy/wp-check-diff.sh
182184

183185

184186
- stage: deploy
@@ -202,17 +204,41 @@ jobs:
202204
on:
203205
tags: true
204206

207+
# - stage: deploy
208+
# language: node_js
209+
# node_js: '11'
210+
# dist: trusty
211+
# script: skip
212+
# before_deploy:
213+
# - source travis-ci/bin/deploy/env.sh
214+
# deploy:
215+
# provider: script
216+
# skip_cleanup: true
217+
# script: bash travis-ci/bin/deploy/wp-release.sh
218+
# on:
219+
# tags: true
220+
205221
- stage: deploy
206222
language: node_js
207223
node_js: '11'
208224
dist: trusty
225+
env:
226+
- GH_PAGES_APP_ID=editor
227+
- GH_PAGES_PLUGIN_SCRIPT="./index.min.js"
228+
- GH_PAGES_PLUGIN_STYLE="./index.css"
229+
- GH_PAGES_TITLE="Marker Animation"
230+
- GH_PAGES_TEMPLATE=gutenberg
231+
- GH_PAGES_TRACKING_ID=UA-78163306-3
209232
script: skip
210233
before_deploy:
211234
- source travis-ci/bin/deploy/env.sh
235+
- bash travis-ci/bin/deploy/gh-pages.sh
212236
deploy:
213-
provider: script
237+
provider: pages
214238
skip_cleanup: true
215-
script: bash travis-ci/bin/deploy/wp-release.sh
239+
github_token: ${GITHUB_TOKEN}
240+
keep_history: true
241+
local_dir: ${GH_PAGES_DIR}
216242
on:
217243
tags: true
218244

README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@
55
[![CodeFactor](https://www.codefactor.io/repository/github/technote-space/marker-animation/badge)](https://www.codefactor.io/repository/github/technote-space/marker-animation)
66
[![License: GPL v2+](https://img.shields.io/badge/License-GPL%20v2%2B-blue.svg)](http://www.gnu.org/licenses/gpl-2.0.html)
77
[![PHP: >=5.6](https://img.shields.io/badge/PHP-%3E%3D5.6-orange.svg)](http://php.net/)
8-
![WordPress Plugin: Required WP Version](https://img.shields.io/wordpress/plugin/wp-version/marker-animation.svg)
9-
![WordPress Plugin: Tested WP Version](https://img.shields.io/wordpress/plugin/tested/marker-animation.svg)
8+
[![WordPress: >=4.6](https://img.shields.io/badge/WordPress-%3E%3D4.6-brightgreen.svg)](https://wordpress.org/)
109

1110
![バナー](https://raw.githubusercontent.com/technote-space/marker-animation/images/.github/images/banner-772x250.png)
1211

1312
蛍光ペンで塗るようなアニメーションを表示する機能を追加するプラグインです。
1413

15-
[WordPress公式ディレクトリ](https://ja.wordpress.org/plugins/marker-animation/)
14+
[デモ](https://technote-space.github.io/marker-animation)
15+
16+
[最新バージョン](https://github.com/technote-space/marker-animation/releases/latest/download/marker-animation.zip)
1617

1718
## スクリーンショット
1819
### 動作
@@ -40,11 +41,11 @@
4041
- WordPress 4.6 以上
4142

4243
## 導入手順
43-
1. 管理画面のプラグインから「新規追加」
44-
![手順1](https://raw.githubusercontent.com/technote-space/marker-animation/images/.github/images/201901030113.png)
45-
2.蛍光ペン」で検索し「今すぐインストール」を押下
46-
![手順2](https://raw.githubusercontent.com/technote-space/marker-animation/images/.github/images/201901030114.png)
47-
3. 「有効化」
44+
1. 最新版をGitHubからダウンロード
45+
[marker-animation.zip](https://github.com/technote-space/marker-animation/releases/latest/download/marker-animation.zip)
46+
2.プラグインのアップロード」からインストール
47+
![install](https://raw.githubusercontent.com/technote-space/screenshots/master/misc/install-wp-plugin.png)
48+
3. プラグインを有効化
4849

4950
## 使用方法
5051
1. 投稿画面のエディタでアニメーションを追加したい文章をマウスで選択

_config.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)