@blocklet/cli 1.17.8-beta-20260108-120904-21cb5fb6 → 1.17.8-beta-20260109-075740-5f484e08
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.
|
@@ -99,7 +99,27 @@ const createBlockletBundle = async ({
|
|
|
99
99
|
|
|
100
100
|
// https://docs.npmjs.com/cli/v9/configuring-npm/package-json#files
|
|
101
101
|
const selected = await packList({ package: { files } }, { path: blockletDir });
|
|
102
|
-
|
|
102
|
+
|
|
103
|
+
// Filter out development and build directories that should never be bundled
|
|
104
|
+
// npm-packlist doesn't properly handle negation patterns (!.blocklet) when combined with '.'
|
|
105
|
+
const EXCLUDED_DIRS = [
|
|
106
|
+
path.dirname(BLOCKLET_BUNDLE_FOLDER), // .blocklet - prevents recursive inclusion
|
|
107
|
+
'.docker-output', // Docker build artifacts
|
|
108
|
+
'.home', // Development home directory
|
|
109
|
+
'.claude', // Claude Code settings
|
|
110
|
+
'.cursor', // Cursor editor settings
|
|
111
|
+
'.vscode', // VSCode settings
|
|
112
|
+
'.idea', // JetBrains IDE settings
|
|
113
|
+
'.aigne', // Aigne settings
|
|
114
|
+
'.github', // GitHub settings
|
|
115
|
+
];
|
|
116
|
+
|
|
117
|
+
const filtered = selected.filter((fileName) => {
|
|
118
|
+
// Check if file is in any excluded directory
|
|
119
|
+
return !EXCLUDED_DIRS.some((dir) => fileName === dir || fileName.startsWith(dir + path.sep));
|
|
120
|
+
});
|
|
121
|
+
|
|
122
|
+
filtered.forEach((fileName) => {
|
|
103
123
|
const source = path.join(blockletDir, fileName);
|
|
104
124
|
const target = path.join(distDir, fileName);
|
|
105
125
|
if (fs.existsSync(source) && !fs.existsSync(target)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/cli",
|
|
3
|
-
"version": "1.17.8-beta-
|
|
3
|
+
"version": "1.17.8-beta-20260109-075740-5f484e08",
|
|
4
4
|
"description": "Command line tools to manage Blocklet Server",
|
|
5
5
|
"homepage": "https://www.arcblock.io/docs/blocklet-cli",
|
|
6
6
|
"bin": {
|
|
@@ -33,28 +33,28 @@
|
|
|
33
33
|
"url": "https://github.com/ArcBlock/blocklet-server/issues"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@abtnode/blocklet-services": "1.17.8-beta-
|
|
37
|
-
"@abtnode/constant": "1.17.8-beta-
|
|
38
|
-
"@abtnode/core": "1.17.8-beta-
|
|
39
|
-
"@abtnode/db-cache": "1.17.8-beta-
|
|
40
|
-
"@abtnode/logger": "1.17.8-beta-
|
|
41
|
-
"@abtnode/models": "1.17.8-beta-
|
|
42
|
-
"@abtnode/router-provider": "1.17.8-beta-
|
|
43
|
-
"@abtnode/util": "1.17.8-beta-
|
|
44
|
-
"@abtnode/webapp": "1.17.8-beta-
|
|
36
|
+
"@abtnode/blocklet-services": "1.17.8-beta-20260109-075740-5f484e08",
|
|
37
|
+
"@abtnode/constant": "1.17.8-beta-20260109-075740-5f484e08",
|
|
38
|
+
"@abtnode/core": "1.17.8-beta-20260109-075740-5f484e08",
|
|
39
|
+
"@abtnode/db-cache": "1.17.8-beta-20260109-075740-5f484e08",
|
|
40
|
+
"@abtnode/logger": "1.17.8-beta-20260109-075740-5f484e08",
|
|
41
|
+
"@abtnode/models": "1.17.8-beta-20260109-075740-5f484e08",
|
|
42
|
+
"@abtnode/router-provider": "1.17.8-beta-20260109-075740-5f484e08",
|
|
43
|
+
"@abtnode/util": "1.17.8-beta-20260109-075740-5f484e08",
|
|
44
|
+
"@abtnode/webapp": "1.17.8-beta-20260109-075740-5f484e08",
|
|
45
45
|
"@arcblock/did": "^1.28.4",
|
|
46
46
|
"@arcblock/event-hub": "^1.28.4",
|
|
47
47
|
"@arcblock/ipfs-only-hash": "^0.0.2",
|
|
48
48
|
"@arcblock/jwt": "^1.28.4",
|
|
49
49
|
"@arcblock/ws": "^1.28.4",
|
|
50
|
-
"@blocklet/constant": "1.17.8-beta-
|
|
50
|
+
"@blocklet/constant": "1.17.8-beta-20260109-075740-5f484e08",
|
|
51
51
|
"@blocklet/error": "^0.3.5",
|
|
52
52
|
"@blocklet/form-collector": "^0.1.8",
|
|
53
|
-
"@blocklet/images": "1.17.8-beta-
|
|
54
|
-
"@blocklet/meta": "1.17.8-beta-
|
|
55
|
-
"@blocklet/resolver": "1.17.8-beta-
|
|
56
|
-
"@blocklet/server-js": "1.17.8-beta-
|
|
57
|
-
"@blocklet/store": "1.17.8-beta-
|
|
53
|
+
"@blocklet/images": "1.17.8-beta-20260109-075740-5f484e08",
|
|
54
|
+
"@blocklet/meta": "1.17.8-beta-20260109-075740-5f484e08",
|
|
55
|
+
"@blocklet/resolver": "1.17.8-beta-20260109-075740-5f484e08",
|
|
56
|
+
"@blocklet/server-js": "1.17.8-beta-20260109-075740-5f484e08",
|
|
57
|
+
"@blocklet/store": "1.17.8-beta-20260109-075740-5f484e08",
|
|
58
58
|
"@blocklet/theme-builder": "^0.4.8",
|
|
59
59
|
"@ocap/client": "^1.28.4",
|
|
60
60
|
"@ocap/mcrypto": "^1.28.4",
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
"engines": {
|
|
154
154
|
"node": ">=14"
|
|
155
155
|
},
|
|
156
|
-
"gitHead": "
|
|
156
|
+
"gitHead": "14240868d6efc2e698a804c6ee48deb8a7d10ee1",
|
|
157
157
|
"devDependencies": {
|
|
158
158
|
"@types/fs-extra": "^11.0.4"
|
|
159
159
|
}
|