Skip to content

Commit

Permalink
fix(run): ensure that static assets are included in published pkg
Browse files Browse the repository at this point in the history
fixes the run-isolated utility creation, since it depends on a .js file static asset that was being skipped
  • Loading branch information
uladkasach committed Nov 9, 2021
1 parent 037be0e commit 9938ba7
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 1 deletion.
75 changes: 75 additions & 0 deletions package-lock.json

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

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
"generate:cli-readme": "npm run build && oclif-dev readme",
"format": "prettier --parser typescript --write 'src/**/*.ts' --config ./prettier.config.js",
"build:ts": "tsc -p ./tsconfig.build.json",
"build": "rm -rf ./dist && npm run build:ts",
"build:static-assets": "copyfiles -u 1 src/**/*.js dist/",
"build": "rm -rf ./dist && npm run build:ts && npm run build:static-assets",
"test:types": "tsc --noEmit",
"test:format": "prettier --parser typescript --check 'src/**/*.ts' --config ./prettier.config.js",
"test:lint": "tslint -c tslint.json -p tsconfig.json",
Expand All @@ -65,6 +66,7 @@
"@types/uuid": "3.4.4",
"@types/yaml": "1.0.2",
"@types/yesql": "3.2.1",
"copyfiles": "2.4.1",
"core-js": "3.6.5",
"husky": "1.3.1",
"jest": "27.1.0",
Expand Down

0 comments on commit 9938ba7

Please sign in to comment.