Skip to content

Commit

Permalink
contribution: implements organisation agents
Browse files Browse the repository at this point in the history
The shared folder allows you to share code between several projects.
The project tests have been adapted with the new structure of the Shared module.
Displays organisation agent data in the document brief and detailed view.
Allows the librarian to search for organisation agent authority record in the MEF server when cataloguing.

* Fixes patron history with status "In transit to house".
* Closes rero/rero-ils#1360

Co-Authored-by: Bertrand Zuchuat <bertrand.zuchuat@rero.ch>
  • Loading branch information
Garfield-fr committed Nov 6, 2020
1 parent f1b5cf7 commit 90613c6
Show file tree
Hide file tree
Showing 199 changed files with 4,541 additions and 1,218 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ $ nvm use lts/erbium
$ npm i -g @angular/cli@8.3.28
# Project npm dependencies
$ npm i
# Build shared library
$ ng build shared --watch
# Launch a local server using a proxy for https://localhost:5000 (rero-ils server)
$ npm run start-admin-proxy
```
Expand Down
35 changes: 35 additions & 0 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,41 @@
}
}
}
},
"shared": {
"projectType": "library",
"root": "projects/shared",
"sourceRoot": "projects/shared/src",
"prefix": "shared",
"architect": {
"build": {
"builder": "@angular-devkit/build-ng-packagr:build",
"options": {
"tsConfig": "projects/shared/tsconfig.lib.json",
"project": "projects/shared/ng-package.json"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/shared/src/test.ts",
"tsConfig": "projects/shared/tsconfig.spec.json",
"karmaConfig": "projects/shared/karma.conf.js"
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"projects/shared/tsconfig.lib.json",
"projects/shared/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
}
}
}
}
},
"defaultProject": "admin"
Expand Down
Loading

0 comments on commit 90613c6

Please sign in to comment.