Skip to content

Commit

Permalink
add package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
pitiscarf committed Feb 21, 2025
1 parent 959b3c7 commit 76d0159
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions devops/admin/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ if [[ $CC_DEPLOYMENT_ID != "" ]]; then
# CC_NODE_BUILD_TOOL=custom
# CC_CUSTOM_BUILD_TOOL="VITE_RELEASE=$CC_COMMIT_ID devops/admin/build.sh"
# CC_RUN_COMMAND="nginx -g 'daemon off;' -c nginx.conf"
mv devops/admin/nginx.conf .
rm -rf $(ls -A | grep -v "build\|nginx.conf")
mv devops/admin/nginx.conf devops/admin/package.json .
rm -rf $(ls -A | grep -v "build\|nginx.conf\|package.json")
fi

ls -la
6 changes: 6 additions & 0 deletions devops/admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
"name": "admin",
"version": "1.0.0",
"main": "index.js",
"engines": {
"node": "^20.17"
},
"scripts": {
"start": "nginx -g 'daemon off;' -c nginx.conf"
},
"author": "",
"license": "ISC",
"description": "",
Expand Down

0 comments on commit 76d0159

Please sign in to comment.