Skip to content

Commit e1c30dd

Browse files
authored
Merge pull request #6182 from DSpace/backport-6171-to-dspace-10_x
[Port dspace-10_x] Fix Mirador build issues on `main` and 10.x
2 parents a15c9f0 + e08fb41 commit e1c30dd

2 files changed

Lines changed: 25 additions & 39 deletions

File tree

package-lock.json

Lines changed: 19 additions & 38 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"clean:prod": "npm run clean:dist && npm run clean:log && npm run clean:doc && npm run clean:coverage && npm run clean:json",
3939
"clean": "npm run clean:prod && npm run clean:dev:config && npm run clean:cli && npm run clean:node",
4040
"sync-i18n": "ts-node -r tsconfig-paths/register --project ./tsconfig.ts-node.json scripts/sync-i18n-files.ts",
41-
"build:mirador": "webpack --config webpack/webpack.mirador.config.ts",
41+
"build:mirador": "cross-env TS_NODE_PROJECT=./tsconfig.ts-node.json webpack --config webpack/webpack.mirador.config.ts",
4242
"merge-i18n": "ts-node -r tsconfig-paths/register --project ./tsconfig.ts-node.json scripts/merge-i18n-files.ts",
4343
"cypress:open": "cypress open",
4444
"cypress:run": "cypress run",
@@ -74,6 +74,11 @@
7474
"@nicky-lenaers/ngx-scroll-to": {
7575
"@angular/common": "^20.3.12",
7676
"@angular/core": "^20.3.12"
77+
},
78+
"react": "16.14.0",
79+
"react-dom": "16.14.0",
80+
"mirador-share-plugin": {
81+
"notistack": "1.0.10"
7782
}
7883
},
7984
"dependencies": {

0 commit comments

Comments
 (0)