Commit Graph

362 Commits

Author SHA1 Message Date
wherewhere 83f62ea518 fix: function for after_generate return void 2024-12-03 17:26:45 +08:00
wherewhere bcaa327494 feat: add .webmanifest as json, add .map and .wasm to compressing 2024-12-03 16:41:52 +08:00
wherewhere ac31b9edaa feat: register compression after minify 2024-12-03 16:18:51 +08:00
wherewhere 83484f0e47 feat: split filter 2024-12-02 16:48:09 +08:00
MDLeom 4bd000bfee
release: 9.0.0 2024-06-22 02:28:47 +00:00
MDLeom 5fb3349dec
chore(npm): add "zstd" keyword
remove generic keywords
2024-06-22 02:26:43 +00:00
MDLeom 80b2325cbf
chore(npm): "repository" is now an object 2024-06-22 02:25:33 +00:00
MDLeom 812ff614fc
ci: use windows bash
variable is not expanded properly in pwsh
2024-06-11 12:37:53 +00:00
MDLeom 702eb2fa0c
ci: ${} not supported in pwsh 2024-06-11 12:22:08 +00:00
MDLeom a2c810cfb5
ci: install zstd binary 2024-06-11 12:06:41 +00:00
MDLeom 30c33c0ad3
docs: install zstd dependency explicitly
using --force --include=optional flags are excessive
This reverts commit e33fd0ed5d &
1b04f7c8f1.
2024-06-11 11:30:02 +00:00
MDLeom 1c9d91b524
docs(license): update year 2024-06-10 06:19:21 +00:00
MDLeom c18f4c8476
docs: differentiate minify and compress
update snyk badge
2024-06-10 06:18:06 +00:00
MDLeom e33fd0ed5d
build(npm): --force flag to install optional deps
of child deps
required by https://github.com/curbengh/hexo-yam#cannot-find-module-mongodb-jszstd-linux-x64-gnu
2024-06-08 08:11:38 +00:00
MDLeom 73db847fd4
docs: reorder sections
removed outdated http-compression section
2024-06-08 08:11:28 +00:00
Ming Di Leom 7639547408
Merge pull request #157 from curbengh/previewServer
feat: previewServer option
2024-06-07 20:06:54 +09:30
Ming Di Leom f7df26377a
Merge pull request #158 from curbengh/zstd
feat: zstd compression
2024-06-07 19:52:50 +09:30
MDLeom 1b04f7c8f1
docs(zstd): --force flag to install optional deps
of child deps
https://stackoverflow.com/a/42400102
2024-06-07 09:04:05 +00:00
MDLeom 18a5d8108b
test: include optional deps
to include zstd binary
2024-06-06 11:45:53 +00:00
MDLeom 7f2033e553
feat: zstd compression
disabled by default due to lack of server support
close #156
2024-06-06 11:14:57 +00:00
MDLeom e9584b2e0b
feat: previewServer option
BREAKING CHANGE
plugin is now disabled by default when running `hexo server`,
unless previewServer is set to false.

Close #154
Inspired by e778c55f37/index.js (L49)
2024-06-05 11:08:12 +00:00
Ming Di Leom e99e110d39
Merge pull request #155 from curbengh/dependabot/github_actions/codecov/codecov-action-4
chore(deps): bump codecov/codecov-action from 3 to 4
2024-06-05 18:46:36 +09:30
MDLeom a5f19dbe79
ci(codecov): add upload token
https://github.com/codecov/codecov-action/releases/tag/v4.0.0
2024-06-05 09:14:12 +00:00
MDLeom c3ed0c68c7
test: node 22
drop 21, EOL on 2024-06-01
2024-06-05 09:04:31 +00:00
MDLeom f92017f688
test: node 22
drop 21, EOL on 2024-06-01
2024-06-04 08:52:45 +00:00
dependabot[bot] 0abd90c78a
chore(deps): bump codecov/codecov-action from 3 to 4
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-01 15:46:21 +00:00
Ming Di Leom 426da85620
Merge pull request #150 from curbengh/dependabot/github_actions/actions/cache-4
chore(deps): bump actions/cache from 3 to 4
2024-01-28 21:14:53 +10:30
Ming Di Leom bfb886abac
Merge pull request #149 from curbengh/dependabot/github_actions/github/codeql-action-3
chore(deps): bump github/codeql-action from 2 to 3
2024-01-28 21:12:39 +10:30
Ming Di Leom d99caafe90
Merge pull request #145 from curbengh/dependabot/github_actions/actions/setup-node-4
chore(deps): bump actions/setup-node from 3 to 4
2024-01-28 21:10:18 +10:30
Ming Di Leom 3cc6f5e79e
Merge pull request #151 from curbengh/dependabot/npm_and_yarn/hexo-7.1.0
chore(deps-dev): bump hexo from 6.3.0 to 7.1.0
2024-01-28 21:06:37 +10:30
Ming Di Leom 56af48f632
Merge pull request #152 from curbengh/html-minifier-terser
refactor: switch html-minifier to html-minifier-terser
2024-01-28 21:04:53 +10:30
MDLeom 0bee9ada0e
refactor: switch html-minifier to html-minifier-terser
https://github.com/kangax/html-minifier/issues/1135
2024-01-28 10:26:21 +00:00
dependabot[bot] 1af8c52cdb
chore(deps-dev): bump hexo from 6.3.0 to 7.1.0
Bumps [hexo](https://github.com/hexojs/hexo) from 6.3.0 to 7.1.0.
- [Release notes](https://github.com/hexojs/hexo/releases)
- [Commits](https://github.com/hexojs/hexo/compare/6.3.0...v7.1.0)

---
updated-dependencies:
- dependency-name: hexo
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-19 15:40:47 +00:00
dependabot[bot] 81ceea413d
chore(deps): bump actions/cache from 3 to 4
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-18 15:37:36 +00:00
dependabot[bot] 8e937ead21
chore(deps): bump github/codeql-action from 2 to 3
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-13 15:52:54 +00:00
MDLeom 7809098034
ci: node 20
active lts
2023-12-12 08:33:33 +00:00
MDLeom dffeb0cfc7
test: node 21 2023-12-12 08:30:27 +00:00
dependabot[bot] bfcd93edb7
chore(deps): bump actions/setup-node from 3 to 4
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-24 15:47:02 +00:00
Ming Di Leom 2992e8d8e7
Merge pull request #142 from curbengh/dependabot/github_actions/actions/checkout-4
chore(deps): bump actions/checkout from 3 to 4
2023-10-01 15:20:29 +10:30
dependabot[bot] cf7e8f675c
chore(deps): bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-01 04:48:01 +00:00
MDLeom 3523b0fd98
chore(node): drop Node 16
BREAKING CHANGE
Node 16 EOL 2023-09-11
2023-10-01 04:46:39 +00:00
Ming Di Leom df3b0513e7
Merge pull request #143 from curbengh/bun
feat(ci): run linux jobs using Bun
2023-10-01 15:09:17 +10:30
MDLeom dbed65ffeb
feat(ci): run linux jobs using Bun 2023-10-01 04:05:08 +00:00
Ming Di Leom c964cfcf80
Merge pull request #140 from curbengh/node-20
chore(node): require node 16+
2023-10-01 14:06:48 +10:30
MDLeom 793bcd81c4
chore(node): require node 16+
- node 14 EOL 2023-04-30
- add node 20
2023-05-06 06:04:21 +00:00
MDLeom f65e7e7a22
docs: remove deprecated lgtm badge 2023-04-28 08:53:38 +00:00
MDLeom d9e6228960
docs: fix build badge
https://github.com/badges/shields/issues/8671
2023-03-06 09:33:04 +00:00
Ming Di Leom 6c6060f28c
Merge pull request #139 from curbengh/8.0
release: 8.0.0
2022-11-13 11:08:42 +10:30
MDLeom 79f4f24f8e
release: 8.0.0 2022-11-13 00:05:34 +00:00
Ming Di Leom b0575e6fdc
Merge pull request #135 from curbengh/dependabot/npm_and_yarn/svgo-3.0.0
chore(deps): bump svgo from 2.8.0 to 3.0.0
2022-11-06 15:55:40 +10:30