jlhwung / hexo-offline Goto Github PK
View Code? Open in Web Editor NEWOut-of-the-box hexo offline experience
License: BSD 2-Clause "Simplified" License
Out-of-the-box hexo offline experience
License: BSD 2-Clause "Simplified" License
Branch | Build failing 🚨 |
---|---|
Dependency | babel-plugin-istanbul |
Current Version | 4.1.1 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
As babel-plugin-istanbul is “only” a devDependency of this project it might not break production or downstream projects, but “only” your build or test tools – preventing new deploys or publishes.
I recommend you give this issue a high priority. I’m sure you can resolve this 💪
The new version differs by 5 commits0.
2bdc94b
chore(release): 4.1.3
b10c1cd
chore: explicit upgrade of istanbul dependencies (#104)
0d0d46e
docs: switch to conventional commits badge
476a455
chore(release): 4.1.2
6f1bc89
chore: explicit update to dependencies (#100)
false
See the full diff
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot 🌴
Branch | Build failing 🚨 |
---|---|
Dependency | babel-preset-env |
Current Version | 1.5.1 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
As babel-preset-env is “only” a devDependency of this project it might not break production or downstream projects, but “only” your build or test tools – preventing new deploys or publishes.
I recommend you give this issue a high priority. I’m sure you can resolve this 💪
browser
targets should be overridden by explicit targets, and we inadvertently broke this when we landed string version support.
The new version differs by 5 commits.
f4ce53c
1.5.2
00490ac
Merge pull request #346 from babel/issue345
2896925
Add node 8 to travis (#347)
0017129
Ensure explicit targets always override browsers key targets
e23bd47
README: Add string type as valid node target value (#337) [skip ci]
See the full diff
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot 🌴
How to pre-cache a cdn path
If a visitor enters an article directly, the article will never be updated until the service worker expires
Expected: The register snippet should be only inserted when public
is generated.
There's something that I dont want offline;
I find the issuse here
but config like this wont work
staticFileGlobs:
- !no-offline/**/*
other regex try !/no-offline/**/*
、/!(no-offline)/**/*
....
How can I config to ignore some file?
由于 next 主题采用 jquery.fancybox.css?v=2.1.5
这样的链接形式,多了 ?v=2.1.5
,造成这种类型的资源无法离线。
查看了 sw-precache 文档,发现只要添加 ignoreUrlParametersMatching
即可。
一番尝试后,只需在 _config.yml
中添加如下部分即可正常离线。
offline:
# next 主题部分资源以 ?v=2.1.5 引入,此配置用于此配置用于让这类资源生效
ignoreUrlParametersMatching:
- /^v$/
希望作者能添加到文档中。
npm install hexo-offline --save
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/hexo
npm ERR! hexo@"^7.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer hexo@"^5.0.0 || ^6.0.0" from [email protected]
npm ERR! node_modules/hexo-offline
npm ERR! hexo-offline@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
Branch | Build failing 🚨 |
---|---|
Dependency | sw-precache |
Current Version | 5.1.1 |
Type | dependency |
This version is covered by your current version range and after updating it in your project the build failed.
sw-precache is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you it’s very likely also breaking them.
I recommend you give this issue a very high priority. I’m sure you can resolve this 💪
The 5.2.0
release includes support for using Buffer
objects, in addition to the previously supported String
s and glob patterns, as the values in dynamicUrlToDependencies
.
It also includes a number of enhancements and clarifications to the project's README.
Thanks to @papandreou, @mbj36, @mlcdf, and @sp00m for their contributions!
The new version differs by 6 commits.
d5b338f
5.2.0
8341d53
Updates to the README build process & the note for navigateFallback. (#313)
943f1e8
dynamicUrlToDependencies: Support Buffers alongside strings (#297)
9bb456b
path
module not used (#306)
1647a05
Clarify cache check in navigateFallback (#301)
e7b36b7
Replaced sw-helpers with Workbox (#300)
See the full diff
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot 🌴
Branch | Build failing 🚨 |
---|---|
Dependency | tap |
Current Version | 10.3.2 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
As tap is “only” a devDependency of this project it might not break production or downstream projects, but “only” your build or test tools – preventing new deploys or publishes.
I recommend you give this issue a high priority. I’m sure you can resolve this 💪
The new version differs by 6 commits.
ec47ea5
v10.3.3
12255f8
update nyc to 11.0.2 release candidate
7a66dba
--debug removed in node 8
69d6097
bump nyc dep
e0b319a
Drop 0.10 from travis-ci
81aa913
Fix tests on 0.10
See the full diff
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot 🌴
按照说明安装后如下配置:
offline:
maximumFileSizeToCacheInBytes: 10485760
staticFileGlobs:
- public/**/*.{js,html,css,png,jpg,gif,svg,eot,ttf,woff,woff2}
stripPrefix: public
verbose: true
ignoreUrlParametersMatching:
- /^v$/
然后hexo clean && hexo g
后,并没有看到sw的注册的相关脚本在public文件中出现。
When I run hexo g
, it generates service-worker.js
in my public/
directory. But when I run hexo d
, the service-worker.js
can't be copied to the .deploy_git
, so it doesn't work.
In the generated log of hexo, no INFO Generated: service-worker.js
, so I think hexo-offline
doesn't follow the convention of hexo to generate file. It just my thought. So I want to know how to solve this.
Branch | Build failing 🚨 |
---|---|
Dependency | hexo |
Current Version | 3.3.0 |
Type | peerDependency |
This version is covered by your current version range and after updating it in your project the build failed.
As hexo is “only” a peerDependency of this project it might not break production or downstream projects, but “only” your build or test tools – preventing new deploys or publishes.
I recommend you give this issue a high priority. I’m sure you can resolve this 💪
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot 🌴
[email protected] /Users/wangqingbin/blog
├── UNMET PEER DEPENDENCY [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]
npm ERR! peer dep missing: hexo@^3.2.2, required by [email protected]
能否设置hexo s 不 Caching static resource xxxx资源
而且关闭hexo s 又会在一次 Caching static resource xxxx资源
hexo g 会Caching static resource xxxx资源
hexo d 又会再一次Caching static resource xxxx资源
还有served via CDN
引用了https://cdn.jsdelivr.net/npm/velocity-ui-pack@latest/velocity.ui.min.js
options:
origin: 是写 cdn.jsdelivr.net/npm 还是cdn.jsdelivr.net
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
.github/workflows/ci.yml
actions/checkout v3
actions/setup-node v3
actions/cache v3
actions/checkout v3
actions/setup-node v3
actions/cache v3
actions/setup-node v3
coverallsapp/github-action v1.2.5
package.json
workbox-build ^6.4.2
@babel/cli ^7.8.0
@babel/core ^7.8.0
@babel/preset-env ^7.8.0
husky ^8.0.0
jest ^27.4.7
lint-staged ^12.1.5
prettier ^2.5.1
rimraf ^3.0.2
terser ^5.10.0
yaspeller-ci ^1.0.2
hexo ^5.0.0 || ^6.0.0
node >=12
Branch | Build failing 🚨 |
---|---|
Dependency | cross-env |
Current Version | 5.0.0 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
As cross-env is “only” a devDependency of this project it might not break production or downstream projects, but “only” your build or test tools – preventing new deploys or publishes.
I recommend you give this issue a high priority. I’m sure you can resolve this 💪
<a name"5.0.1">
The new version differs by 2 commits.
b10de51
fix: Change splitter regex to use .* instead of .+ (#117)
c9908f3
test(JSON): add JSON value tests that work on both Windows and UNIX (#112)
See the full diff
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot 🌴
When I update my website, I can see service worker fetching new content. However, if I refresh, I still see the old content.
Here is my hexo-offline.config.cjs
file.
module.exports = {
globDirectory: "public",
swDest: "public/service-worker.js",
globPatterns: [
"**/*.{js,html,css}",
],
maximumFileSizeToCacheInBytes: 52428800,
runtimeCaching: [
{
urlPattern: /\.(png|jpg|webp|gif|woff|woff2|otf|ttf)/,
handler: "CacheFirst"
},
{
urlPattern: "*",
handler: "CacheFirst"
},
]
}
Branch | Build failing 🚨 |
---|---|
Dependency | tap |
Current Version | 10.3.4 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
As tap is “only” a devDependency of this project it might not break production or downstream projects, but “only” your build or test tools – preventing new deploys or publishes.
I recommend you give this issue a high priority. I’m sure you can resolve this 💪
The new version differs by 7 commits.
9b78624
v10.4.0
c2c72f5
update tap-mocha-reporter to 3.0.5
1892366
t.type(fn, Function) should pass
8aa0d52
Add t.rejects() assertion
37ec7a4
update deps
8843d29
remove debug test. times out, removed in node 8
d635535
update travis
See the full diff
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot 🌴
When I want to update my site as run hexo clean && hexo d
, but the offline resource is long cache so that my site will not update. Only unregister my service workers I can update.
I want to return an offline page instead of system offline page. It seems I need navigateFallback
, how can I set this
Process:
hexo-offline
with default configpublic/index.html
Expect: service-worker registering template snippet is injected only once
Actual: injected for three times
Affected hexo version: 3.3.5
Working hexo version: 3.2.4
Branch | Build failing 🚨 |
---|---|
Dependency | hexo |
Current Version | 3.3.6 |
Type | peerDependency |
This version is covered by your current version range and after updating it in your project the build failed.
As hexo is “only” a peerDependency of this project it might not break production or downstream projects, but “only” your build or test tools – preventing new deploys or publishes.
I recommend you give this issue a high priority. I’m sure you can resolve this 💪
Sorry for the inconvenience.
The new version differs by 3 commits.
3d84cd4
Update package.json
4e5ccc8
Revert "Fix parsing error about tag (Issue #2563)" (#2578)
a7e85aa
Update package.json
See the full diff
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot 🌴
Branch | Build failing 🚨 |
---|---|
Dependency | babel-preset-env |
Current Version | 1.2.2 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
As babel-preset-env is “only” a devDependency of this project it might not break production or downstream projects, but “only” your build or test tools – preventing new deploys or publishes.
I recommend you give this issue a high priority. I’m sure you can resolve this 💪
We now properly check for Symbol.species
support in ArrayBuffer and include the
polyfill if necessary. This should, as a side effect, fix ArrayBuffer-related
errors on IE9.
We've simplified things by adding electron
as a target instead of doing a bunch of
things at runtime. Electron targets should now also be displayed in the debug output.
If you are targeting the node
environment exclusively, the always-included web polyfills
(like dom.iterable
, and a few others) will now no longer be included.
The new version differs by 8 commits .
8b2dc4f
1.3.0
6ebf857
Update changelog
046f326
Add check for ArrayBuffer[Symbol.species] (#233)
aead61c
Fill data with electron as a target. (#229)
48a329b
separate default builtins for platforms (#226)
a4d585c
remove deprecated projects (#223) [skip ci]
88cbe17
Merge pull request #216 from babel/update-npmignore
cf94af3
npmignore: Add related to build data and codecov.
See the full diff.
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot 🌴
Thank you for a wonderful package. I would like to ask whether this package supports Hexo@^5.
Branch | Build failing 🚨 |
---|---|
Dependency | cross-env |
Current Version | 3.1.4 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
As cross-env is “only” a devDependency of this project it might not break production or downstream projects, but “only” your build or test tools – preventing new deploys or publishes.
I recommend you give this issue a high priority. I’m sure you can resolve this 💪
<a name"3.2.0">
The new version differs by 4 commits .
dad00c4
feat(revamp): revamp the entire lib (backward compatible) (#63)
e33a85c
docs(README): Add doc for cross-var. (#58)
5e590ec
docs(README): added how to use cross-env to run npm sub-scripts (#53)
afdb2de
docs(README): mention Bash on Windows (#49)
See the full diff.
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot 🌴
Branch | Build failing 🚨 |
---|---|
Dependency | babel-preset-babili |
Current Version | 0.1.3 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
As babel-preset-babili is “only” a devDependency of this project it might not break production or downstream projects, but “only” your build or test tools – preventing new deploys or publishes.
I recommend you give this issue a high priority. I’m sure you can resolve this 💪
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot 🌴
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.