electrobun 0.0.19-beta.19 → 0.0.19-beta.28
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.
- package/package.json +6 -4
- package/src/cli/index.ts +4 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "electrobun",
|
|
3
|
-
"version": "0.0.19-beta.
|
|
3
|
+
"version": "0.0.19-beta.28",
|
|
4
4
|
"description": "Build ultra fast, tiny, and cross-platform desktop apps with Typescript.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Blackboard Technologies Inc.",
|
|
@@ -44,12 +44,14 @@
|
|
|
44
44
|
"push:beta": "bun npm:version:beta && git push origin main --tags",
|
|
45
45
|
"push:patch": "npm version patch && git push origin main --tags",
|
|
46
46
|
"push:minor": "npm version minor && git push origin main --tags",
|
|
47
|
-
"push:major": "npm version major && git push origin main --tags"
|
|
47
|
+
"push:major": "npm version major && git push origin main --tags",
|
|
48
|
+
"build:push:artifacts": "bun scripts/build-and-upload-artifacts.js"
|
|
49
|
+
},
|
|
50
|
+
"devDependencies": {
|
|
51
|
+
"@types/bun": "1.1.9"
|
|
48
52
|
},
|
|
49
53
|
"dependencies": {
|
|
50
54
|
"@oneidentity/zstd-js": "^1.0.3",
|
|
51
|
-
"@types/bun": "1.1.9",
|
|
52
|
-
"bun": "1.1.9",
|
|
53
55
|
"rpc-anywhere": "1.5.0",
|
|
54
56
|
"tar": "^6.2.1"
|
|
55
57
|
}
|
package/src/cli/index.ts
CHANGED
|
@@ -156,9 +156,12 @@ async function ensureCoreDependencies() {
|
|
|
156
156
|
|
|
157
157
|
// Extract to dist directory
|
|
158
158
|
console.log('Extracting core dependencies...');
|
|
159
|
+
const distPath = join(ELECTROBUN_DEP_PATH, 'dist');
|
|
160
|
+
mkdirSync(distPath, { recursive: true });
|
|
161
|
+
|
|
159
162
|
await tar.x({
|
|
160
163
|
file: tempFile,
|
|
161
|
-
cwd:
|
|
164
|
+
cwd: distPath,
|
|
162
165
|
});
|
|
163
166
|
|
|
164
167
|
// Clean up temp file
|