Commit 19e15d5d authored by Florent POITTEVIN's avatar Florent POITTEVIN
Browse files

fix: [AOU-1900] remove environment.runtime.json from source code and binary

parent ea0e4d6d
......@@ -53,7 +53,8 @@ src/app/generated-api/
src/environments/version.ts
src/environments/versions.ts
src/environments/environment.local.ts
src/assets/configurations/environment.runtime.json
cypress/integration/environments/cypress-environment.local.ts
src/assets/i18n/translate.csv
proxy.conf.local.js
/report.*
\ No newline at end of file
/report.*
......@@ -32,8 +32,6 @@
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.app.json",
"assets": [
"src/assets/favicon/Yareta-dark.ico",
"src/assets",
"src/mitm.html",
"src/ngsw-worker-custom.js",
"src/ngsw-worker-download.js",
......@@ -46,6 +44,14 @@
"glob": "**/*",
"input": "./node_modules/jsme",
"output": "./assets/jsme"
},
{
"glob": "**/*",
"input": "src/assets/",
"ignore": [
"**/configurations/environment.runtime.json"
],
"output": "/assets/"
}
],
"styles": [
......@@ -63,7 +69,6 @@
"node_modules/blobjs/Blob.min.js",
"node_modules/streamsaver/StreamSaver.js"
],
"showCircularDependencies": false,
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
......
......@@ -18,7 +18,7 @@
"start:noapigenerate": "npm run prepare && npm run serve",
"start:standalone": "npm run prepare && npm run generate-models && npm run serve -- -c standalone",
"start:standalone:no-watch": "npm run prepare && npm run generate-models && npm run serve -- -c standalone --watch=false",
"build": "npm run prepare && ng build --aot=true --configuration production=true --source-map=false",
"build": "npm run prepare && ng build --aot=true --configuration production --source-map=false",
"test": "npm run prepare && ng test --no-progress --code-coverage",
"test:ci": "npm run prepare && ng test --code-coverage --watch=false --no-progress --browsers=ChromeNoSandboxHeadless",
"cypress": "concurrently \"npm run start\" \"npm run cypress-open\"",
......
......@@ -481,7 +481,7 @@ export class AppState extends SolidifyAppState<AppStateModel> {
notificationToTranslate = MARK_AS_TRANSLATABLE("doi.notification.urlShortDoiCopyToClipboard.success");
}
ClipboardUtil.copyStringToClipboard(stringToCopy);
this._notificationService.showInformation(notificationToTranslate, true);
this._notificationService.showInformation(notificationToTranslate);
}
@Action(AppExtendAction.GetShortDoiFail)
......
{
"appLanguages": [
"en",
"fr",
"de"
]
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment