Skip to content

Commit

Permalink
Build the worker.js in musa-core
Browse files Browse the repository at this point in the history
  • Loading branch information
miikaah committed Aug 4, 2024
1 parent de5e5c5 commit 4541e18
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 21 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"main": "index.js",
"scripts": {
"build": "shx rm -rf dist && node scripts/esbuild.mjs && npm run build:worker && shx cp src/preload.js dist/ && shx cp package.json dist/ && npm run copy:normalization",
"build:worker": "node scripts/esbuild-worker.mjs",
"build:worker": "shx cp node_modules/@miikaah/musa-core/lib/worker.js dist/",
"copy:normalization": "shx mkdir -p dist/normalization && shx cp -r node_modules/@miikaah/musa-core/lib/bin dist/bin",
"dev": "nodemon --watch ./src --ext ts --exec npm start",
"package:mac:x64": "electron-packager ./dist --overwrite --platform=darwin --arch=x64 --icon=assets/icons/musa1024x1024.icns --prune=true --out=release-builds",
Expand All @@ -28,7 +28,7 @@
},
"license": "MIT",
"dependencies": {
"@miikaah/musa-core": "10.4.2"
"@miikaah/musa-core": "10.4.4"
},
"devDependencies": {
"@eslint/js": "9.8.0",
Expand Down
12 changes: 0 additions & 12 deletions scripts/esbuild-worker.mjs

This file was deleted.

0 comments on commit 4541e18

Please sign in to comment.