Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
bc1e266
[DURACOM-327] isolate core dependencies, add relative path, refactor …
FrancescoMolinaro Jul 22, 2025
b82aa79
[DURACOM-327] move remaining data services, resource types and models…
FrancescoMolinaro Jul 23, 2025
df8f915
[DURACOM-327] move out unnecessary state from core to app state
atarix83 Jul 23, 2025
f3982cb
[DURACOM-327] Remove reference to AppState
atarix83 Jul 23, 2025
8036082
[DURACOM-327] Decoupling state management from data service WIP
atarix83 Jul 23, 2025
29a194b
[DURACOM-327] Move registry.service out the core folder
atarix83 Jul 24, 2025
f6764b7
[DURACOM-327] fix tests
atarix83 Jul 24, 2025
48a82cd
[DURACOM-327] Decoupling state management from data service
atarix83 Jul 24, 2025
5468d82
[DURACOM-327] Move remote-data.utils into core
atarix83 Jul 24, 2025
a40fc39
[DURACOM-327] Move notify models into core
atarix83 Jul 24, 2025
917ab13
[DURACOM-327] Move process models into core
atarix83 Jul 24, 2025
160454d
[DURACOM-327] Move endpoint-mocking-rest.service into core
atarix83 Jul 24, 2025
352eb11
[DURACOM-327] Reorganize coar data services
atarix83 Jul 25, 2025
fefec4b
[DURACOM-327] fix injection context in tests, move all reference of e…
FrancescoMolinaro Jul 25, 2025
1be3aea
[DURACOM-327] fix circular dependency
FrancescoMolinaro Jul 28, 2025
bd95e0d
[DURACOM-327] Reorganize coar data services
atarix83 Jul 28, 2025
710d1a6
[DURACOM-327] move followlink model and common paths into core, move …
FrancescoMolinaro Jul 28, 2025
37f381f
[DURACOM-327] add config folder dynamic paths
FrancescoMolinaro Jul 28, 2025
b73af90
[DURACOM-327] move correlation id service, ngrx types inside core
FrancescoMolinaro Jul 29, 2025
80205ec
[DURACOM-327] Reorganize cookie services within the core folder
atarix83 Jul 29, 2025
9e03235
[DURACOM-327] Reorganize util files within a folder
atarix83 Jul 29, 2025
448d208
[DURACOM-327] Move all models related to search into the core folder
atarix83 Jul 29, 2025
c403f8a
[DURACOM-327] Move the notification state into the core state
atarix83 Jul 30, 2025
52cbbd0
[DURACOM-327] Move the auth-methods.service out from the core folder
atarix83 Jul 30, 2025
8b38627
[DURACOM-327] Reorganize pagination model and testing mocks
atarix83 Aug 1, 2025
3d20f8f
[DURACOM-327] Set "dspace" as common path for optimized imports
atarix83 Aug 4, 2025
bb7c42d
[DURACOM-327] Fix selector after refactoring
atarix83 Aug 5, 2025
00929e0
[DURACOM-327] Fix selector after refactoring
atarix83 Aug 5, 2025
d726cca
[DURACOM-327] Resolve circular dependencies for core and config funct…
atarix83 Aug 5, 2025
d460dab
Merge remote-tracking branch 'github4science/main' into task/main/DUR…
atarix83 Aug 5, 2025
7c3cc5b
[DURACOM-327] Reordering models after merge
atarix83 Aug 5, 2025
570952d
[DURACOM-327] Move ngrx folder to core
atarix83 Aug 5, 2025
978b3a8
[DURACOM-327] Move breadcrumb models and resolvers to core
atarix83 Aug 5, 2025
9e4775a
[DURACOM-327] Move search result models to core
atarix83 Aug 6, 2025
853eaca
[DURACOM-327] Remove dependency from app
atarix83 Aug 6, 2025
14e22ac
[DURACOM-327] Reorganize coar functionality to remove dependency betw…
atarix83 Aug 6, 2025
0c4f0c3
[DURACOM-327] Reorganize models to remove dependency between core and…
atarix83 Aug 6, 2025
1e8da13
[DURACOM-327] Reorganize submission functionality to remove dependenc…
atarix83 Aug 6, 2025
c932fc3
[DURACOM-327] Reorganize search functionality to remove dependency be…
atarix83 Aug 6, 2025
20b89e8
[DURACOM-327] Move listable.module to shared folder
atarix83 Aug 6, 2025
d444aaf
[DURACOM-327] Reorganize submission models to remove dependency betwe…
atarix83 Aug 6, 2025
8b8826a
[DURACOM-327] Move mock to core
atarix83 Aug 6, 2025
eab9d58
[DURACOM-327] Reorganize relationship to remove dependency between co…
atarix83 Aug 6, 2025
7a708d0
[DURACOM-327] Reorganize code to remove dependency between core and a…
atarix83 Aug 6, 2025
4c4a948
[DURACOM-327] Reorganize code to remove dependency between core and a…
atarix83 Aug 6, 2025
7f3b0fc
[DURACOM-327] Reorganize code to remove dependency between core and a…
atarix83 Aug 7, 2025
c6716bb
Merge branch 'main' into task/main/DURACOM-327
atarix83 Aug 7, 2025
64d2a47
[DURACOM-327] Move common selector functions into the core
atarix83 Aug 7, 2025
dbcf2eb
[DURACOM-327] Split followLink array in order to remove dependendy be…
atarix83 Aug 7, 2025
5f7ff24
[DURACOM-327] Reorganize code to remove dependency between core and a…
atarix83 Aug 7, 2025
cf4942a
[DURACOM-327] Reorganize code to remove dependency between core and a…
atarix83 Aug 7, 2025
ea1027e
first building version
artlowel Sep 11, 2025
1e2ecde
auto generate barrels, and fix resulting issues
artlowel Sep 25, 2025
5682565
fix test build
artlowel Sep 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 14 additions & 0 deletions .barrelsby.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"directory": [
"projects/dspace/config/src/lib/",
"projects/dspace/core/src/lib/",
"projects/dspace/utils/src/lib/"
],
"delete": true,
"exclude": [
],
"location": "all",
"structure": "flat",
"singleQuotes": true,
"noSemicolon": false
}
136 changes: 131 additions & 5 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"index": "src/index.html",
"main": "src/main.browser.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.app.json",
"tsConfig": "tsconfig.browser.json",
"aot": true,
"assets": [
"src/assets",
Expand Down Expand Up @@ -82,8 +82,8 @@
"with": "src/environments/environment.production.ts"
},
{
"replace": "src/config/store/devtools.ts",
"with": "src/config/store/devtools.prod.ts"
"replace": "src/app/ngrx-devtools/devtools.ts",
"with": "src/app/ngrx-devtools/devtools.prod.ts"
}
],
"optimization": true,
Expand Down Expand Up @@ -211,8 +211,8 @@
"with": "src/environments/environment.production.ts"
},
{
"replace": "src/config/store/devtools.ts",
"with": "src/config/store/devtools.prod.ts"
"replace": "src/app/ngrx-devtools/devtools.ts",
"with": "src/app/ngrx-devtools/devtools.prod.ts"
}
]
}
Expand Down Expand Up @@ -276,6 +276,132 @@
}
}
}
},
"@dspace/utils": {
"projectType": "library",
"root": "projects/dspace/utils",
"sourceRoot": "projects/dspace/utils/src",
"prefix": "lib",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:ng-packagr",
"options": {
"project": "projects/dspace/utils/ng-package.json"
},
"configurations": {
"production": {
"tsConfig": "projects/dspace/utils/tsconfig.lib.prod.json"
},
"development": {
"tsConfig": "projects/dspace/utils/tsconfig.lib.json"
}
},
"defaultConfiguration": "production"
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"tsConfig": "projects/dspace/utils/tsconfig.spec.json",
"polyfills": [
"zone.js",
"zone.js/testing"
]
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": [
"projects/dspace/utils/**/*.ts",
"projects/dspace/utils/**/*.html"
]
}
}
}
},
"@dspace/config": {
"projectType": "library",
"root": "projects/dspace/config",
"sourceRoot": "projects/dspace/config/src",
"prefix": "lib",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:ng-packagr",
"options": {
"project": "projects/dspace/config/ng-package.json"
},
"configurations": {
"production": {
"tsConfig": "projects/dspace/config/tsconfig.lib.prod.json"
},
"development": {
"tsConfig": "projects/dspace/config/tsconfig.lib.json"
}
},
"defaultConfiguration": "production"
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"tsConfig": "projects/dspace/config/tsconfig.spec.json",
"polyfills": [
"zone.js",
"zone.js/testing"
]
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": [
"projects/dspace/config/**/*.ts",
"projects/dspace/config/**/*.html"
]
}
}
}
},
"@dspace/core": {
"projectType": "library",
"root": "projects/dspace/core",
"sourceRoot": "projects/dspace/core/src",
"prefix": "lib",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:ng-packagr",
"options": {
"project": "projects/dspace/core/ng-package.json"
},
"configurations": {
"production": {
"tsConfig": "projects/dspace/core/tsconfig.lib.prod.json"
},
"development": {
"tsConfig": "projects/dspace/core/tsconfig.lib.json"
}
},
"defaultConfiguration": "production"
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"tsConfig": "projects/dspace/core/tsconfig.spec.json",
"polyfills": [
"zone.js",
"zone.js/testing"
]
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": [
"projects/dspace/core/**/*.ts",
"projects/dspace/core/**/*.html"
]
}
}
}
}
},
"cli": {
Expand Down
4 changes: 2 additions & 2 deletions cypress/support/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
import {
AuthTokenInfo,
TOKENITEM,
} from 'src/app/core/auth/models/auth-token-info.model';
} from '@dspace/core'
import {
DSPACE_XSRF_COOKIE,
XSRF_REQUEST_HEADER,
} from 'src/app/core/xsrf/xsrf.constants';
} from '@dspace/core'
import { v4 as uuidv4 } from 'uuid';

// Declare Cypress namespace to help with Intellisense & code completion in IDEs
Expand Down
2 changes: 1 addition & 1 deletion cypress/support/e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import './commands';
// https://github.com/component-driven/cypress-axe
import 'cypress-axe';

import { DSPACE_XSRF_COOKIE } from 'src/app/core/xsrf/xsrf.constants';
import { DSPACE_XSRF_COOKIE } from '@dspace/core'

// Runs once before all tests
before(() => {
Expand Down
Loading