[ACA-4715] break dependency on envsubst (#3325)

* remove BPM host

* break dependency on envsubst

* remove prebuild script

* cleanup package.json
This commit is contained in:
Denys Vuika
2023-07-11 08:39:17 +01:00
committed by GitHub
parent f54ba92f77
commit 7ab4cc5e53
16 changed files with 21 additions and 231 deletions
+1 -7
View File
@@ -1,17 +1,12 @@
{
"name": "alfresco-content-app",
"version": "4.1.0",
"commit": "",
"license": "LGPL-3.0",
"scripts": {
"postinstall": "ngcc",
"ng": "ng",
"validate-app-config": "ajv validate -s ./node_modules/@alfresco/adf-core/app.config.schema.json -d ./app/.tmp/app.config.json --errors=text --verbose",
"assemble-app-config": "envsub --env-file ./.env --env APP_CONFIG_ECM_HOST={protocol}//{hostname}{:port} --all ./app/src/app.config.json.tpl ./app/.tmp/app.config.json",
"prestart": "mkdir -p ./app/.tmp && npm run assemble-app-config && npm run validate-app-config",
"start": "nx serve content-ce",
"start:prod": "npm run validate-app-config && node --max-old-space-size=8192 nx serve content-ce --configuration production",
"prebuild": "mkdir -p ./app/.tmp && cp ./app/src/app.config.json.tpl ./app/.tmp/app.config.json",
"start:prod": "node --max-old-space-size=8192 nx serve content-ce --configuration production",
"build": "nx build content-ce",
"build.release": "npm run build -- --configuration=production,release",
"test": "nx test",
@@ -104,7 +99,6 @@
"cypress": "^12.14.0",
"dotenv": "8.2.0",
"dotenv-expand": "^5.1.0",
"envsub": "^4.1.0",
"eslint": "^8.42.0",
"eslint-plugin-ban": "^1.6.0",
"eslint-plugin-import": "2.27.5",