From 8c5ad03698df08146b82f8938859b490a2d7836b Mon Sep 17 00:00:00 2001 From: Ulad Kasach Date: Sun, 5 Feb 2023 15:13:14 -0500 Subject: [PATCH] fix(deps): ensure to bundle the static js executable with dist --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index ddaeb83..2aca5f3 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,6 @@ }, "scripts": { "generate:cli-readme": "npm run build && oclif-dev readme", - "build:ts": "tsc -p ./tsconfig.build.json", "build:static-assets": "copyfiles -u 1 src/logic/contents/*.js dist/", "commit:with-cli": "npx cz", "fix:format:prettier": "prettier --write '**/*.ts' --config ./prettier.config.js", @@ -47,7 +46,7 @@ "fix:lint": "eslint -c ./.eslintrc.js src/**/*.ts --fix", "build:clean": "rm dist/ -rf", "build:compile": "tsc -p ./tsconfig.build.json", - "build": "npm run build:clean && npm run build:compile", + "build": "npm run build:clean && npm run build:compile && npm run build:static-assets", "test:commits": "LAST_TAG=$(git describe --tags --abbrev=0 @^ 2> /dev/null || git rev-list --max-parents=0 HEAD) && npx commitlint --from $LAST_TAG --to HEAD --verbose", "test:types": "tsc -p ./tsconfig.build.json --noEmit", "test:format:prettier": "prettier --parser typescript --check 'src/**/*.ts' --config ./prettier.config.js",