mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 22:59:07 +00:00
preinstall -> configure
This commit is contained in:
parent
829a97ffbb
commit
b5ac6c7f01
@ -24,7 +24,7 @@
|
||||
"compile": "tsc",
|
||||
"start": "node --require ts-node/register Serve.ts",
|
||||
"audit": "npm audit --audit-level=low",
|
||||
"preinstall": "npx npm-force-resolutions || echo 'No package-lock.json file. Skipping force resolutions'",
|
||||
"configure": "npx npm-force-resolutions || echo 'No package-lock.json file. Skipping force resolutions'",
|
||||
"dep-check": "depcheck ./ --skip-missing=true'"
|
||||
},
|
||||
"browserslist": {
|
||||
|
@ -2,7 +2,7 @@
|
||||
"name": "oneuptime-homepage",
|
||||
"version": "3.0.0",
|
||||
"scripts": {
|
||||
"preinstall": "npx npm-force-resolutions || echo 'No package-lock.json file. Skipping force resolutions'",
|
||||
"configure": "npx npm-force-resolutions || echo 'No package-lock.json file. Skipping force resolutions'",
|
||||
"start": "node --require ts-node/register Index.ts",
|
||||
"compile": "tsc",
|
||||
"dev": "npx nodemon",
|
||||
|
@ -32,7 +32,7 @@
|
||||
"compile": "tsc",
|
||||
"start": "node --require ts-node/register Serve.ts",
|
||||
"audit": "npm audit --audit-level=low",
|
||||
"preinstall": "npx npm-force-resolutions || echo 'No package-lock.json file. Skipping force resolutions'",
|
||||
"configure": "npx npm-force-resolutions || echo 'No package-lock.json file. Skipping force resolutions'",
|
||||
"dep-check": "depcheck ./ --skip-missing=true'"
|
||||
},
|
||||
"browserslist": {
|
||||
|
@ -4,7 +4,7 @@
|
||||
"description": "Helm Chart Server for OneUptime",
|
||||
"main": "server.js",
|
||||
"scripts": {
|
||||
"preinstall": "npx npm-force-resolutions || echo 'No package-lock.json file. Skipping force resolutions'",
|
||||
"configure": "npx npm-force-resolutions || echo 'No package-lock.json file. Skipping force resolutions'",
|
||||
"start": "node --require ts-node/register Index.ts",
|
||||
"compile": "tsc",
|
||||
"dev": "npx nodemon",
|
||||
|
@ -2,7 +2,7 @@
|
||||
"name": "oneuptime-homepage",
|
||||
"version": "3.0.0",
|
||||
"scripts": {
|
||||
"preinstall": "npx npm-force-resolutions || echo 'No package-lock.json file. Skipping force resolutions'",
|
||||
"configure": "npx npm-force-resolutions || echo 'No package-lock.json file. Skipping force resolutions'",
|
||||
"start": "node --require ts-node/register Index.ts",
|
||||
"compile": "tsc",
|
||||
"dev": "npx nodemon",
|
||||
|
@ -22,7 +22,7 @@
|
||||
"winston": "^3.6.0"
|
||||
},
|
||||
"scripts": {
|
||||
"preinstall": "npx npm-force-resolutions || echo 'No package-lock.json file. Skipping force resolutions'",
|
||||
"configure": "npx npm-force-resolutions || echo 'No package-lock.json file. Skipping force resolutions'",
|
||||
"start": "node --require ts-node/register Index.ts",
|
||||
"compile": "tsc",
|
||||
"dev": "npx nodemon",
|
||||
|
@ -40,7 +40,7 @@ Deploy a single-server instance in one line on Debian / Ubuntu with Docker (we o
|
||||
git clone https://github.com/OneUptime/oneuptime
|
||||
cd oneuptime
|
||||
git checkout release
|
||||
bash preinstall.sh
|
||||
bash configure.sh
|
||||
```
|
||||
|
||||
Please look at config.env and change these values,
|
||||
|
@ -26,7 +26,7 @@
|
||||
"compile": "tsc",
|
||||
"start": "node --require ts-node/register Serve.ts",
|
||||
"audit": "npm audit --audit-level=low",
|
||||
"preinstall": "npx npm-force-resolutions || echo 'No package-lock.json file. Skipping force resolutions'",
|
||||
"configure": "npx npm-force-resolutions || echo 'No package-lock.json file. Skipping force resolutions'",
|
||||
"dep-check": "depcheck ./ --skip-missing=true'"
|
||||
},
|
||||
"browserslist": {
|
||||
|
@ -13,7 +13,7 @@ fi
|
||||
|
||||
set -e
|
||||
|
||||
bash preinstall.sh
|
||||
bash configure.sh
|
||||
|
||||
# Load env values from config.env
|
||||
export $(grep -v '^#' config.env | xargs)
|
||||
|
@ -38,7 +38,7 @@
|
||||
"config-to-ci": "ts-node-esm ./Scripts/Install/ReplaceValueInConfig.ts ENVIRONMENT ci",
|
||||
"config-to-test": "ts-node-esm ./Scripts/Install/ReplaceValueInConfig.ts ENVIRONMENT test && ts-node-esm ./Scripts/Install/ReplaceValueInConfig.ts APP_TAG test",
|
||||
"config-to-production": "ts-node-esm ./Scripts/Install/ReplaceValueInConfig.ts ENVIRONMENT production",
|
||||
"prerun": "bash preinstall.sh",
|
||||
"prerun": "bash configure.sh",
|
||||
"typeorm": "node --require ts-node/register ./node_modules/typeorm/cli.js",
|
||||
"uninstall": "bash uninstall.sh",
|
||||
"lint": "ejslint home/views/*.ejs && eslint '**/*.ts*' -c .eslintrc.json --ignore-path .eslintignore ",
|
||||
|
Loading…
Reference in New Issue
Block a user