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",
|
"compile": "tsc",
|
||||||
"start": "node --require ts-node/register Serve.ts",
|
"start": "node --require ts-node/register Serve.ts",
|
||||||
"audit": "npm audit --audit-level=low",
|
"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'"
|
"dep-check": "depcheck ./ --skip-missing=true'"
|
||||||
},
|
},
|
||||||
"browserslist": {
|
"browserslist": {
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"name": "oneuptime-homepage",
|
"name": "oneuptime-homepage",
|
||||||
"version": "3.0.0",
|
"version": "3.0.0",
|
||||||
"scripts": {
|
"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",
|
"start": "node --require ts-node/register Index.ts",
|
||||||
"compile": "tsc",
|
"compile": "tsc",
|
||||||
"dev": "npx nodemon",
|
"dev": "npx nodemon",
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
"compile": "tsc",
|
"compile": "tsc",
|
||||||
"start": "node --require ts-node/register Serve.ts",
|
"start": "node --require ts-node/register Serve.ts",
|
||||||
"audit": "npm audit --audit-level=low",
|
"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'"
|
"dep-check": "depcheck ./ --skip-missing=true'"
|
||||||
},
|
},
|
||||||
"browserslist": {
|
"browserslist": {
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"description": "Helm Chart Server for OneUptime",
|
"description": "Helm Chart Server for OneUptime",
|
||||||
"main": "server.js",
|
"main": "server.js",
|
||||||
"scripts": {
|
"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",
|
"start": "node --require ts-node/register Index.ts",
|
||||||
"compile": "tsc",
|
"compile": "tsc",
|
||||||
"dev": "npx nodemon",
|
"dev": "npx nodemon",
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"name": "oneuptime-homepage",
|
"name": "oneuptime-homepage",
|
||||||
"version": "3.0.0",
|
"version": "3.0.0",
|
||||||
"scripts": {
|
"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",
|
"start": "node --require ts-node/register Index.ts",
|
||||||
"compile": "tsc",
|
"compile": "tsc",
|
||||||
"dev": "npx nodemon",
|
"dev": "npx nodemon",
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
"winston": "^3.6.0"
|
"winston": "^3.6.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"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",
|
"start": "node --require ts-node/register Index.ts",
|
||||||
"compile": "tsc",
|
"compile": "tsc",
|
||||||
"dev": "npx nodemon",
|
"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
|
git clone https://github.com/OneUptime/oneuptime
|
||||||
cd oneuptime
|
cd oneuptime
|
||||||
git checkout release
|
git checkout release
|
||||||
bash preinstall.sh
|
bash configure.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Please look at config.env and change these values,
|
Please look at config.env and change these values,
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
"compile": "tsc",
|
"compile": "tsc",
|
||||||
"start": "node --require ts-node/register Serve.ts",
|
"start": "node --require ts-node/register Serve.ts",
|
||||||
"audit": "npm audit --audit-level=low",
|
"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'"
|
"dep-check": "depcheck ./ --skip-missing=true'"
|
||||||
},
|
},
|
||||||
"browserslist": {
|
"browserslist": {
|
||||||
|
@ -13,7 +13,7 @@ fi
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
bash preinstall.sh
|
bash configure.sh
|
||||||
|
|
||||||
# Load env values from config.env
|
# Load env values from config.env
|
||||||
export $(grep -v '^#' config.env | xargs)
|
export $(grep -v '^#' config.env | xargs)
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
"config-to-ci": "ts-node-esm ./Scripts/Install/ReplaceValueInConfig.ts ENVIRONMENT ci",
|
"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-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",
|
"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",
|
"typeorm": "node --require ts-node/register ./node_modules/typeorm/cli.js",
|
||||||
"uninstall": "bash uninstall.sh",
|
"uninstall": "bash uninstall.sh",
|
||||||
"lint": "ejslint home/views/*.ejs && eslint '**/*.ts*' -c .eslintrc.json --ignore-path .eslintignore ",
|
"lint": "ejslint home/views/*.ejs && eslint '**/*.ts*' -c .eslintrc.json --ignore-path .eslintignore ",
|
||||||
|
Loading…
Reference in New Issue
Block a user