refactor: initialise settings from config module and persist only the values

Closes #30, #59
This commit is contained in:
Sebastian Lange
2019-04-29 14:04:25 +02:00
parent e1039aa226
commit 235693a9e2
14 changed files with 1673 additions and 256 deletions

View File

@@ -12,6 +12,8 @@
"scripts": {
"build": "ng build",
"build:prod": "ng build --prod",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md && git commit -m 'docs: update changelog'",
"check-configuration": "openstapps-configuration",
"e2e": "ng e2e",
"docker:build": "sudo docker run -p 8100:8100 -p 35729:35729 -p 53703:53703 -v $PWD:/app -it registry.gitlab.com/openstapps/app bash -c \"npm install && npm run build\"",
"docker:enter": "sudo docker run -p 8100:8100 -p 35729:35729 -p 53703:53703 -v $PWD:/app -it registry.gitlab.com/openstapps/app bash",
@@ -25,13 +27,13 @@
"test": "ng test"
},
"dependencies": {
"@angular/common": "7.2.12",
"@angular/core": "7.2.12",
"@angular/forms": "7.2.12",
"@angular/http": "7.2.12",
"@angular/platform-browser": "7.2.12",
"@angular/platform-browser-dynamic": "7.2.12",
"@angular/router": "7.2.12",
"@angular/common": "7.2.14",
"@angular/core": "7.2.14",
"@angular/forms": "7.2.14",
"@angular/http": "7.2.14",
"@angular/platform-browser": "7.2.14",
"@angular/platform-browser-dynamic": "7.2.14",
"@angular/router": "7.2.14",
"@ionic-native/core": "5.4.0",
"@ionic-native/geolocation": "5.4.0",
"@ionic-native/splash-screen": "5.4.0",
@@ -42,7 +44,7 @@
"@ngx-translate/http-loader": "4.0.0",
"@openstapps/api": "0.6.0",
"@openstapps/configuration": "0.8.0",
"@openstapps/core": "0.15.0",
"@openstapps/core": "0.17.0",
"@openstapps/logger": "0.0.5",
"cordova-android": "8.0.0",
"cordova-browser": "6.0.0",
@@ -54,6 +56,7 @@
"cordova-plugin-splashscreen": "5.0.2",
"cordova-plugin-whitelist": "1.3.3",
"core-js": "2.6.5",
"deepmerge": "3.2.0",
"moment": "2.24.0",
"ngx-markdown": "7.1.4",
"ngx-moment": "3.4.0",
@@ -66,16 +69,17 @@
"@angular-devkit/core": "7.3.8",
"@angular-devkit/schematics": "7.3.8",
"@angular/cli": "7.3.8",
"@angular/compiler": "7.2.12",
"@angular/compiler-cli": "7.2.12",
"@angular/language-service": "7.2.12",
"@angular/compiler": "7.2.14",
"@angular/compiler-cli": "7.2.14",
"@angular/language-service": "7.2.14",
"@compodoc/compodoc": "1.1.9",
"@ionic/ng-toolkit": "1.1.0",
"@ionic/schematics-angular": "1.0.7",
"@types/jasmine": "3.3.12",
"@types/jasminewd2": "2.0.6",
"@types/node": "11.13.2",
"@types/node": "10.14.6",
"codelyzer": "5.0.0",
"conventional-changelog-cli": "2.0.12",
"is-docker": "1.1.0",
"jasmine-core": "3.4.0",
"jasmine-spec-reporter": "4.2.1",
@@ -107,5 +111,20 @@
"browser",
"android"
]
},
"openstappsConfiguration": {
"forPackaging": false,
"hasCli": false,
"ignoreCiEntries": [
"image",
"pages"
],
"ignoreScripts": [
"prepublishOnly",
"compile"
],
"serverSide": false,
"standardBuild": false,
"standardDocumentation": false
}
}