Skip to content

Commit

Permalink
cleaned up build profiles and updated to new audev server url
Browse files Browse the repository at this point in the history
cleaned up build profiles and updated to new audev server url
  • Loading branch information
PeterWarren committed Nov 15, 2023
1 parent d3ac3f5 commit 4b06952
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 166 deletions.
54 changes: 0 additions & 54 deletions .github/workflows/build-test-release.yml

This file was deleted.

17 changes: 0 additions & 17 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,20 +103,6 @@
}
]
},
"au2": {
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "50kb"
}
],
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.au2.ts"
}
]
},
"development": {
"buildOptimizer": false,
"optimization": false,
Expand All @@ -141,9 +127,6 @@
"production": {
"browserTarget": "project:build:production"
},
"au2": {
"browserTarget": "project:build:au2"
},
"development": {
"browserTarget": "project:build:development"
}
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"start": "node --max_old_space_size=8000 ./node_modules/@angular/cli/bin/ng serve",
"build": "node --max_old_space_size=8000 ./node_modules/@angular/cli/bin/ng build",
"build-prod": "node --max_old_space_size=8000 ./node_modules/@angular/cli/bin/ng build --configuration=production",
"build-test": "node --max_old_space_size=8000 ./node_modules/@angular/cli/bin/ng build --configuration=au2",
"build-dev": "node --max_old_space_size=8000 ./node_modules/@angular/cli/bin/ng build --configuration=audev",
"test": "ng test",
"lint": "ng lint",
Expand Down
43 changes: 0 additions & 43 deletions src/environments/environment.au2.ts

This file was deleted.

8 changes: 4 additions & 4 deletions src/environments/environment.dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
export const environment = {
production: false,
getCSWRecordEndP: 'getKnownLayers.do',
portalBaseUrl: 'https://au-portal-dev.it.csiro.au/api/',
portalBaseUrl: 'https://auportal-dev.geoanalytics.group/api/',
portalProxyUrl: '/api/',
authBaseUrl: 'https://au-portal-dev.it.csiro.au/api/',
hostUrl: 'https://au-portal-dev.it.csiro.au',
authBaseUrl: 'https://auportal-dev.geoanalytics.group/api/',
hostUrl: 'https://auportal-dev.geoanalytics.group',
nVCLAnalyticalUrl: 'https://nvclanalytics.azurewebsites.net/NVCLAnalyticalServices/',
googleAnalyticsKey: null,
bingMapsKey: '',
bingMapsKey: 'Bing_Maps_Key',
baseMapLayers: [
{ value: 'World_Imagery', viewValue: 'ESRI World Imagery', tooltip: 'ESRI World Imagery', layerType: 'ESRI' },
{ value: 'NatGeo_World_Map', viewValue: 'ESRI National Geographic Map', tooltip: 'ESRI National Geographic Map', layerType: 'ESRI' },
Expand Down
43 changes: 0 additions & 43 deletions src/environments/environment.prod-https.ts

This file was deleted.

8 changes: 4 additions & 4 deletions src/environments/environment.prod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@

// To us this prod profile run `ng build --configuration=prod`.

// Available build profiles and their environment files can be found in the angular configuration (angular.json).
// Available build profiles and their environment files can be found in the angular configuration in `angular.json`.
// Note: environment files replace the default, they don't override. So, any change in this file
// will almost always need an equivalent change in all the other environment files.


export const environment = {
production: true,
getCSWRecordEndP: 'getKnownLayers.do',
portalBaseUrl: 'http://portal.auscope.org.au/api/',
portalBaseUrl: 'https://portal.auscope.org.au/api/',
portalProxyUrl: '/api/',
authBaseUrl: 'http://portal.auscope.org.au/api/',
hostUrl: 'http://portal.auscope.org.au',
authBaseUrl: 'https://portal.auscope.org.au/api/',
hostUrl: 'https://portal.auscope.org.au',
nVCLAnalyticalUrl: 'https://nvclanalytics.azurewebsites.net/NVCLAnalyticalServices/',
googleAnalyticsKey: null,
bingMapsKey: 'Bing_Maps_Key',
Expand Down

0 comments on commit 4b06952

Please sign in to comment.