Commit Graph

251 Commits

Author SHA1 Message Date
curbengh 7085b15d10
style: rename logic* to minify* or *Fn 2019-09-15 16:55:36 +01:00
curbengh b5639aba85
refactor: logger function 2019-09-15 16:51:15 +01:00
curbengh 36bca1b939
refactor: use const function 2019-09-15 16:16:53 +01:00
curbengh 9cb977e2d2
Merge pull request #17 from curbengh/options
feat: enable plugin by default and update options naming
2019-09-13 11:29:36 +09:30
curbengh ff3b07c9e2
release: v3.0.0 2019-09-11 02:48:40 +01:00
curbengh ddf4415ef0
docs: update options naming 2019-09-11 02:48:32 +01:00
curbengh 7e85bd6338
feat: enable plugin by default and update options naming 2019-09-11 02:15:19 +01:00
curbengh 2930f1da1d
release: v2.2.1 2019-08-09 11:49:15 +09:30
curbengh ede71a0857
fix: options.exclude might not exist
Fixes a6f59a9704 (r34629621)
2019-08-09 11:48:08 +09:30
curbengh b054c0a24b
docs(readme): update globOptions 2019-08-08 09:08:51 +09:30
curbengh 5b8549077f
release: v2.2.0 2019-08-06 12:06:00 +09:30
curbengh d964918d21
chore: use simpler repo value 2019-08-06 12:05:16 +09:30
curbengh 79308b2d44
Merge pull request #16 from curbengh/lint
test: lint using Javascript Standard Style
2019-08-06 12:02:41 +09:30
curbengh 32a519928a
style: standard 2019-08-06 11:57:44 +09:30
curbengh d72bb5b567 test: lint using Javascript Standard Style
https://standardjs.com/
2019-08-06 11:55:45 +09:30
curbengh 2725e230e3 chore(travis): use bionic and disable sudo 2019-08-06 11:55:45 +09:30
curbengh bbba062411 chore(travis): use newer cache syntax 2019-08-06 11:55:45 +09:30
curbengh 493683644a chore(travis): remove comment and npm install 2019-08-06 11:55:45 +09:30
curbengh 4923f5c39d
Merge pull request #15 from curbengh/basename
feat: disable basename globbing when pattern contains slash
2019-08-06 11:36:11 +09:30
curbengh a6f59a9704
feat: disable basename globbing when pattern contains slash 2019-08-06 11:26:11 +09:30
curbengh 43a316d149
refactor: use basename instead of matchBase 2019-08-06 11:23:58 +09:30
curbengh 7d06de7e79 release: v2.1.1 2019-07-18 17:34:54 +09:30
curbengh 37dac8c011 chore: update username 2019-07-18 17:34:26 +09:30
weyusi 374b24e9f4 release: v2.1.0 2019-07-10 12:17:00 +09:30
weyusi 41ecf75f71 chore: npmignore is not used 2019-07-10 12:16:01 +09:30
weyusi 5fac46455c test(snyk): remove nanomatch and add lodash 2019-07-10 12:14:21 +09:30
weyusi a75fc79e3d docs: tidy up readme 2019-07-10 12:04:37 +09:30
weyusi ba77db0094
Merge pull request #14 from weyusi/micromatch
feat: switch nanomatch to micromatch
2019-07-10 11:59:38 +09:30
weyusi c69b6d3356 feat: switch nanomatch to micromatch 2019-07-10 11:50:23 +09:30
weyusi 55908e655a chore: ignore optional deps 2019-06-22 14:22:08 +09:30
weyusi 98f174cd7a chore: specify minor version of node
* https://node.green
2019-06-22 14:16:16 +09:30
weyusi feaf654f15 test(snyk): add set-value and mixin-deep
* https://snyk.io/vuln/SNYK-JS-MIXINDEEP-450212
* https://snyk.io/vuln/SNYK-JS-SETVALUE-450213
* Remove braces and chownr
2019-06-22 14:10:58 +09:30
weyusi 7203ea2abe release: v2.0.4 2019-06-08 17:25:53 +09:30
weyusi 0ce066c2fd fix(html-minifier): ignore post excerpt tag
https://hexo.io/docs/tag-plugins#Post-Excerpt
2019-06-08 17:22:40 +09:30
weyusi 655f65adcd refactor: add 'use strict' 2019-05-27 10:44:04 +09:30
weyusi 654d279378
Merge pull request #12 from weyusi/terser-v4
chore(deps): Update terser from 3.17.0 to 4.0.0
2019-05-21 17:00:07 +09:30
weyusi 0623ca7e31 chore(deps): Update terser from 3.17.0 to 4.0.0 2019-05-21 16:56:01 +09:30
weyusi 3929884c8c chore(package): Set PR title for greenkeeper
https://greenkeeper.io/docs.html#custom-pr-titles
2019-05-21 16:46:47 +09:30
weyusi 587b460029 chore(package): use dependabot commit message
* (package) for non-deps change
2019-05-21 16:36:43 +09:30
weyusi 9c8af3b30f chore(package): change greenkeeper commit message
ref:
https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#type
https://github.com/hexojs/hexo/commits/master
2019-05-21 16:31:57 +09:30
weyusi 9bb184e9cf release: v2.0.3 2019-05-21 13:47:14 +09:30
weyusi db58c8e686 fix: typo in default config of svgo 2019-05-21 13:45:18 +09:30
weyusi 8531b77cfc style: arrow function
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions
2019-05-21 11:16:14 +09:30
weyusi 37aa7f9758 release: v2.0.2 2019-05-18 17:07:24 +09:30
weyusi f05c379687 feat: assign more default options for html-minifier
* to minify more stuff.
  * remove deprecated removeCommentsFromCDATA
  * add removeScriptTypeAttributes and removeStyleLinkTypeAttributes
    * noticed from https://github.com/weyusi/hexo-nofollow/issues/4#issue-445559505
  * ref https://github.com/kangax/html-minifier
2019-05-18 17:01:15 +09:30
weyusi c9b7323768 refactor: remove default ignoreCustomComments from html-minifier
not sure why upstream has it in the first place ¯\_(ツ)_/¯
2019-05-18 14:19:42 +09:30
weyusi ea2a4afe99 release: v2.0.1 2019-05-13 16:53:22 +09:30
weyusi 0595a4ae31 docs: add license 2019-05-13 16:51:06 +09:30
weyusi 3d08e37c8f chore: specify files in package.json 2019-05-13 16:44:51 +09:30
weyusi 08e3cc5a46 docs: update status on brotli support by github/gitlab/netlify 2019-05-08 12:28:19 +09:30