Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: Evaldo Felipe <[email protected]>
  • Loading branch information
evaldofelipe committed Jan 10, 2025
1 parent 085bc05 commit cc57876
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"scripts": {
"start": "export REACT_APP_GIT_COMMIT_HASH=$(git rev-parse HEAD) && vite",
"dev": "export REACT_APP_GIT_COMMIT_HASH=$(git rev-parse HEAD) && vite --port $PORT --host",
"build": "yarn prebuild-env && cat /tmp/output.env && yarn prebuild && echo $GIT_ENV_EXPORTED && export REACT_APP_GIT_COMMIT_HASH=$(git rev-parse HEAD) && tsc && vite build",
"build": "yarn prebuild-env && yarn prebuild && echo $GIT_ENV_EXPORTED && export REACT_APP_GIT_COMMIT_HASH=$(git rev-parse HEAD) && tsc && vite build",
"prebuild": "tsx scripts/pre-build.ts",
"prebuild-env": "./scripts/pre-build-env.sh",
"analyze": "yarn build && rollup-plugin-visualizer --open ./bundle-size-analysis.json",
Expand Down
1 change: 0 additions & 1 deletion scripts/pre-build-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
# -L https://raw.githubusercontent.com/${GIT_ENV_REPO}/${FILE_REMOTE}
# echo "Updated data at ${FILE_PATH}"
echo "exporting.."
cat ${FILE_PATH}
source ${FILE_PATH}
echo $GIT_ENV_EXPORTED
else
Expand Down

0 comments on commit cc57876

Please sign in to comment.