Skip to content

Commit

Permalink
in progress
Browse files Browse the repository at this point in the history
Signed-off-by: Johnny Mariéthoz <Johnny.Mariethoz@rero.ch>
  • Loading branch information
jma committed Dec 3, 2024
1 parent 7f5dccb commit e0d7312
Show file tree
Hide file tree
Showing 86 changed files with 298 additions and 1,885 deletions.
237 changes: 14 additions & 223 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
}
],
"styles": [
"projects/public-search/src/app/scss/styles.scss"
"projects/public-search/src/app/scss/bootstrap_styles.scss"
],
"scripts": [],
"vendorChunk": true,
Expand All @@ -187,6 +187,9 @@
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"styles": [
"projects/public-search/src/app/scss/styles.scss"
],
"budgets": [
{
"type": "initial",
Expand Down Expand Up @@ -397,7 +400,7 @@
}
],
"styles": [
"projects/public-search/src/app/scss/styles.scss"
"projects/public-search/src/app/scss/bootstrap_styles.scss"
],
"scripts": [],
"vendorChunk": true,
Expand All @@ -422,6 +425,9 @@
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"styles": [
"projects/public-search/src/app/scss/styles.scss"
],
"budgets": [
{
"type": "initial",
Expand Down Expand Up @@ -520,6 +526,7 @@
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"baseHref": "/highlands/patrons/profile",
"allowedCommonJsDependencies": [
"crypto-js",
"easymde",
Expand All @@ -545,7 +552,7 @@
}
],
"styles": [
"projects/public-search/src/app/scss/styles.scss"
"projects/public-search/src/app/scss/bootstrap_styles.scss"
],
"scripts": [],
"vendorChunk": true,
Expand All @@ -570,7 +577,11 @@
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"styles": [
"projects/public-search/src/app/scss/styles.scss"
],
"deployUrl": "/static/node_modules/@rero/rero-ils-ui/dist/public-patron-profile/",
"baseHref": "",
"budgets": [
{
"type": "initial",
Expand Down Expand Up @@ -627,226 +638,6 @@
}
}
}
},
"public-user-profile-edit": {
"projectType": "application",
"schematics": {},
"root": "projects/public-user-profile-edit",
"sourceRoot": "projects/public-user-profile-edit/src",
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"allowedCommonJsDependencies": ["crypto-js", "easymde", "moment"],
"outputPath": "build/dist/public-user-profile-edit",
"index": "projects/public-user-profile-edit/src/index.html",
"main": "projects/public-user-profile-edit/src/main.ts",
"polyfills": "projects/public-user-profile-edit/src/polyfills.ts",
"tsConfig": "projects/public-user-profile-edit/tsconfig.app.json",
"assets": [
{
"glob": "**/*.json",
"input": "projects/public-search/src/assets",
"output": "/assets/"
},
{
"glob": "**/*.json",
"input": "projects/shared/src/assets",
"output": "/assets/"
}
],
"styles": [
"projects/public-search/src/app/scss/styles.scss"
],
"scripts": [],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "projects/public-user-profile-edit/src/environments/environment.ts",
"with": "projects/public-user-profile-edit/src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb",
"maximumError": "10kb"
}
]
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"port": 4206,
"buildTarget": "public-user-profile-edit:build"
},
"configurations": {
"production": {
"buildTarget": "public-user-profile-edit:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"buildTarget": "public-user-profile-edit:build"
}
},
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "projects/public-user-profile-edit/e2e/protractor.conf.js",
"devServerTarget": "public-user-profile-edit:serve"
},
"configurations": {
"production": {
"devServerTarget": "public-user-profile-edit:serve:production"
}
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": [
"projects/public-user-profile-edit/src/**/*.ts",
"projects/public-user-profile-edit/src/**/*.html"
]
}
}
}
},
"public-user-password-change": {
"projectType": "application",
"schematics": {},
"root": "projects/public-user-password-change",
"sourceRoot": "projects/public-user-password-change/src",
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"allowedCommonJsDependencies": ["crypto-js", "easymde", "moment"],
"outputPath": "build/dist/public-user-password-change",
"index": "projects/public-user-password-change/src/index.html",
"main": "projects/public-user-password-change/src/main.ts",
"polyfills": "projects/public-user-password-change/src/polyfills.ts",
"tsConfig": "projects/public-user-password-change/tsconfig.app.json",
"assets": [
{
"glob": "**/*.json",
"input": "projects/public-search/src/assets",
"output": "/assets/"
},
{
"glob": "**/*.json",
"input": "projects/shared/src/assets",
"output": "/assets/"
}
],
"styles": [
"projects/public-search/src/app/scss/styles.scss"
],
"scripts": [],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "projects/public-user-password-change/src/environments/environment.ts",
"with": "projects/public-user-password-change/src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb",
"maximumError": "10kb"
}
]
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"port": 4205,
"buildTarget": "public-user-password-change:build"
},
"configurations": {
"production": {
"buildTarget": "public-user-password-change:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"buildTarget": "public-user-password-change:build"
}
},
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "projects/public-user-password-change/e2e/protractor.conf.js",
"devServerTarget": "public-user-password-change:serve"
},
"configurations": {
"production": {
"devServerTarget": "public-user-password-change:serve:production"
}
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": [
"projects/public-user-password-change/src/**/*.ts",
"projects/public-user-password-change/src/**/*.html"
]
}
}
}
}
},
"cli": {
Expand Down
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,9 @@
"start-public-patron-profile-proxy": "ng serve public-patron-profile --proxy-config proxy.conf.json",
"start-public-holdings-items-proxy": "ng serve public-holdings-items --proxy-config proxy.conf.json",
"start-public-search-proxy": "ng serve public-search --proxy-config proxy.conf.json",
"start-public-user-password-change-proxy": "ng serve public-user-password-change --proxy-config proxy.conf.json",
"start-public-user-profile-edit-proxy": "ng serve public-user-profile-edit --proxy-config proxy.conf.json",
"start-search-bar-proxy": "ng serve search-bar --proxy-config proxy.conf.json",
"build-shared": "ng build --configuration production shared",
"build": "npm run build-shared && ng build admin --configuration production && ng build public-patron-profile --configuration production && ng build public-user-password-change --configuration production && ng build public-user-profile-edit --configuration production && ng build public-search --configuration production && ng build public-holdings-items --configuration production && ng build search-bar --configuration production",
"build": "npm run build-shared && ng build admin --configuration production && ng build public-patron-profile --configuration production && ng build public-search --configuration production && ng build public-holdings-items --configuration production && ng build search-bar --configuration production",
"pack": "npm run build && ./scripts/dist_pkg.js -o build && cd build && npm pack",
"test": "ng test",
"lint": "ng lint --cache",
Expand Down
Loading

0 comments on commit e0d7312

Please sign in to comment.