@blocklet/cli 1.16.45-beta-20250610-112229-2eb0face → 1.16.45-beta-20250612-231219-481217be

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.
@@ -21,9 +21,9 @@ const clearAllCache = async (printSuccess, printError) => {
21
21
  }
22
22
 
23
23
  const cache = new DBCache(() => ({
24
- ...getAbtNodeRedisAndSQLiteUrl(),
25
24
  prefix: 'all',
26
25
  ttl: 1000 * 60,
26
+ ...getAbtNodeRedisAndSQLiteUrl(),
27
27
  forceType: 'sqlite',
28
28
  }));
29
29
 
@@ -31,9 +31,9 @@ const clearAllCache = async (printSuccess, printError) => {
31
31
  await cache.flushAll();
32
32
  }
33
33
  } catch (error) {
34
- printError(`Clear all db cache failed: ${error.message}`);
34
+ printError(`Failed to clear database cache: ${error.message}`);
35
35
  }
36
- printSuccess('Clear all db cache success');
36
+ printSuccess('Database cache cleared successfully');
37
37
  };
38
38
 
39
39
  module.exports = clearAllCache;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/cli",
3
- "version": "1.16.45-beta-20250610-112229-2eb0face",
3
+ "version": "1.16.45-beta-20250612-231219-481217be",
4
4
  "description": "Command line tools to manage Blocklet Server",
5
5
  "homepage": "https://github.com/ArcBlock/blocklet-server#readme",
6
6
  "bin": {
@@ -35,28 +35,28 @@
35
35
  "url": "https://github.com/ArcBlock/blocklet-server/issues"
36
36
  },
37
37
  "dependencies": {
38
- "@abtnode/blocklet-services": "1.16.45-beta-20250610-112229-2eb0face",
39
- "@abtnode/client": "1.16.45-beta-20250610-112229-2eb0face",
40
- "@abtnode/constant": "1.16.45-beta-20250610-112229-2eb0face",
41
- "@abtnode/core": "1.16.45-beta-20250610-112229-2eb0face",
42
- "@abtnode/db-cache": "1.16.45-beta-20250610-112229-2eb0face",
43
- "@abtnode/logger": "1.16.45-beta-20250610-112229-2eb0face",
44
- "@abtnode/router-provider": "1.16.45-beta-20250610-112229-2eb0face",
45
- "@abtnode/util": "1.16.45-beta-20250610-112229-2eb0face",
46
- "@abtnode/webapp": "1.16.45-beta-20250610-112229-2eb0face",
38
+ "@abtnode/blocklet-services": "1.16.45-beta-20250612-231219-481217be",
39
+ "@abtnode/client": "1.16.45-beta-20250612-231219-481217be",
40
+ "@abtnode/constant": "1.16.45-beta-20250612-231219-481217be",
41
+ "@abtnode/core": "1.16.45-beta-20250612-231219-481217be",
42
+ "@abtnode/db-cache": "1.16.45-beta-20250612-231219-481217be",
43
+ "@abtnode/logger": "1.16.45-beta-20250612-231219-481217be",
44
+ "@abtnode/router-provider": "1.16.45-beta-20250612-231219-481217be",
45
+ "@abtnode/util": "1.16.45-beta-20250612-231219-481217be",
46
+ "@abtnode/webapp": "1.16.45-beta-20250612-231219-481217be",
47
47
  "@arcblock/did": "1.20.14",
48
48
  "@arcblock/event-hub": "1.20.14",
49
49
  "@arcblock/ipfs-only-hash": "^0.0.2",
50
50
  "@arcblock/jwt": "1.20.14",
51
51
  "@arcblock/ws": "1.20.14",
52
- "@blocklet/constant": "1.16.45-beta-20250610-112229-2eb0face",
52
+ "@blocklet/constant": "1.16.45-beta-20250612-231219-481217be",
53
53
  "@blocklet/error": "^0.2.5",
54
54
  "@blocklet/form-collector": "^0.1.8",
55
- "@blocklet/images": "1.16.45-beta-20250610-112229-2eb0face",
56
- "@blocklet/meta": "1.16.45-beta-20250610-112229-2eb0face",
57
- "@blocklet/resolver": "1.16.45-beta-20250610-112229-2eb0face",
58
- "@blocklet/store": "1.16.45-beta-20250610-112229-2eb0face",
59
- "@blocklet/theme-builder": "^0.1.19",
55
+ "@blocklet/images": "1.16.45-beta-20250612-231219-481217be",
56
+ "@blocklet/meta": "1.16.45-beta-20250612-231219-481217be",
57
+ "@blocklet/resolver": "1.16.45-beta-20250612-231219-481217be",
58
+ "@blocklet/store": "1.16.45-beta-20250612-231219-481217be",
59
+ "@blocklet/theme-builder": "^0.1.22",
60
60
  "@ocap/client": "1.20.14",
61
61
  "@ocap/mcrypto": "1.20.14",
62
62
  "@ocap/util": "1.20.14",
@@ -148,13 +148,12 @@
148
148
  "xbytes": "^1.8.0"
149
149
  },
150
150
  "resolutions": {
151
- "colors": "1.4.0",
152
- "minimatch": "9.0.4"
151
+ "colors": "1.4.0"
153
152
  },
154
153
  "engines": {
155
154
  "node": ">=14"
156
155
  },
157
- "gitHead": "d35fb6c907c29f4466fa965c079e1662dc77e582",
156
+ "gitHead": "01a3fb21f16a515e2565d12797baeda5fdf585b0",
158
157
  "devDependencies": {
159
158
  "@types/fs-extra": "^11.0.4",
160
159
  "@types/jest": "^29.5.13"