skill-atlas-cli 0.2.10 → 0.2.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/index.js +1 -1
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -300,7 +300,7 @@ function runOfficialInstallScriptUpdate() {
300
300
  */
301
301
  const CACHE_DIR = config_default.CONFIG_DIR;
302
302
  const CACHE_FILE = join(CACHE_DIR, "update-check.json");
303
- const CHECK_INTERVAL = 1e3 * 60 * 60;
303
+ const CHECK_INTERVAL = 1e3 * 60 * 2;
304
304
  async function fetchLatestVersion$1(pkgName) {
305
305
  const baseUrl = (process.env.npm_config_registry || "https://registry.npmjs.org").replace(/\/$/, "");
306
306
  const res = await fetch(`${baseUrl}/-/package/${pkgName}/dist-tags`, { signal: AbortSignal.timeout(3e3) });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skill-atlas-cli",
3
- "version": "0.2.10",
3
+ "version": "0.2.11",
4
4
  "description": "skill-atlas CLI - 虾小宝 命令行工具",
5
5
  "homepage": "https://skillatlas.cn/",
6
6
  "type": "module",