Skip to content

Commit

Permalink
merged pkg configs
Browse files Browse the repository at this point in the history
  • Loading branch information
bigmarh committed Aug 16, 2023
1 parent 78299db commit 56eee08
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
node_modules
config.json
package-lock.json

activity-generator/releases/*
.DS_Store
2 changes: 1 addition & 1 deletion activity-generator/dist/pkg.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{ "name":"act-gen",
"pkg":{
"assets": ["proto/**/*"]
}
Expand Down
3 changes: 2 additions & 1 deletion activity-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "esbuild bin/index.js --bundle --outdir=dist --out-extension:.js=.cjs \"--external:*.proto\" --platform=node",
"compile": "pkg dist/index.cjs -c dist/pkg.json -o act-gen"
"compile": "esbuild bin/index.js --bundle --outdir=dist --out-extension:.js=.cjs \"--external:*.proto\" --platform=node && pkg dist/index.cjs -c dist/pkg.json -o releases/act-gen",
"run":"./releases/act-gen --config ../config.json"
},
"type": "module",
"bin": {
Expand Down

0 comments on commit 56eee08

Please sign in to comment.