Commit Graph

12320 Commits

Author SHA1 Message Date
Alan Orth
3894c87ba2 .dockerignore: remove package-lock.json
We need this now that we are using npm instead of yarn.
2024-09-05 14:56:24 +03:00
Alan Orth
fbf2aee48f package.json: fix @angular/localize version pin
This was the only Angular package not using a "^" to specify the
semver range.
2024-09-05 14:56:24 +03:00
Alan Orth
10df0ac366 Use npm instead of yarn in Dockerfile
There is a minor difference in syntax when starting the application
with `npm run serve`. We use `--` to make sure npm doesn't try to
parse the `--host 0.0.0.0` as an option, allowing it instead to be
read by Angular CLI (ng).

Also, there is no direct npm equivalent to yarn's --network-timeout
option so I will remove it. If we need something similar later we
might be able to use these config options:

    npm config set fetch-retry-mintimeout 300000
    npm config set fetch-retry-maxtimeout 300000
2024-09-05 14:56:24 +03:00
Alan Orth
f3619ff4d8 Use eslint-plugin-unused-imports v3.x.x
Fix lint error. According to the docs we should be using v3.x.x:

> * Version 3.x.x is for eslint 8 with @typescript-eslint/eslint-plugin 6 - 7
> * Version 2.x.x is for eslint 8 with @typescript-eslint/eslint-plugin 5

See: https://www.npmjs.com/package/eslint-plugin-unused-imports
2024-09-05 14:56:23 +03:00
Alan Orth
e29a6a3c0a lint/src/util: fix TS2314
Fix error in lint:

> lint/src/util/structure.ts:16:20 - error TS2314: Generic type 'RuleMetaData<MessageIds, Options>' requires 2 type argument(s).
>
> 16 export type Meta = RuleMetaData<string>;
2024-09-05 14:56:23 +03:00
Alan Orth
da1789aece .github/workflows/build.yml: use npm
Use npm instead of yarn in GitHub Actions.
2024-09-05 14:56:19 +03:00
Alan Orth
c6f984b4cb package.json: add overrides for conflicts
Add overrides for conflicting peer dependencies. In yarn these were
handled less noisily, but in npm we need to add explicit overrides
for each. This allows us to use `npm install` without forcing or
using `--legacy-peer-deps`.
2024-09-05 10:30:12 +03:00
Alan Orth
ee33b8f9cc package.json: remove resolutions
These are a yarn-specific concept that we don't need for npm.
2024-09-05 10:30:11 +03:00
Alan Orth
ce3285c1f2 .gitignore: remove package-lock.json
Now that we are using npm we need to commit this.
2024-09-05 10:30:11 +03:00
Alan Orth
74ac315b58 package.json: update scripts to use "npm run"
All scripts should use "npm run" instead of "yarn".
2024-09-05 10:30:05 +03:00
Alan Orth
84c88a118f package.json: use "file:" for local dependencies
Instead of using the Yarn link protocol, we can use npm's built-in
support for local dependencies using "file:".
2024-09-05 08:40:08 +03:00
Alan Orth
7fc54ec6f7 Remove yarn.lock 2024-09-05 08:40:07 +03:00
Tim Donohue
ab4d32a04e Merge pull request #3284 from DSpace/dependabot/npm_and_yarn/micromatch-4.0.8
Bump micromatch from 4.0.5 to 4.0.8
2024-09-04 16:51:41 -05:00
Tim Donohue
d42d275b9e Merge pull request #3289 from kshepherd/filewatcher_ignores
Ignore some paths from file watcher
2024-09-04 10:46:44 -05:00
Tim Donohue
88e145c0a9 Merge pull request #3283 from DSpace/dependabot/npm_and_yarn/webpack-5.94.0
Bump webpack from 5.90.3 to 5.94.0
2024-09-03 16:37:42 -05:00
Tim Donohue
027a4e5d41 Merge pull request #3287 from 4Science/task/main/DURACOM-265
DURACOM-265 provided label for cclicense required error
2024-09-03 16:14:13 -05:00
Kim Shepherd
8152d39ad0 Ignore some paths from file watcher
Watching all these directories can cause systems to exceed
maximum watched files / inotify limits, especially in dev
mode with IDEs etc also watching files.
2024-09-03 14:52:10 +02:00
Mattia Vianelli
b17cc5d3c3 DSC-1709 provided label for cclicense required error 2024-09-03 14:19:27 +02:00
Alexandre Vryghem
5f922c06e0 Remove webpack@5.90.3 since it causes issues with the tests
This automatically removed some old eslint dependencies, which caused some conflicts in the custom linting plugin
2024-08-30 22:42:47 +02:00
Alexandre Vryghem
7dea5f7d98 Temporarily ignore type errors from EnvironmentPlugin since type matching is currently too strict 2024-08-30 20:59:24 +02:00
dependabot[bot]
aca752a01e Bump micromatch from 4.0.5 to 4.0.8
Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.5 to 4.0.8.
- [Release notes](https://github.com/micromatch/micromatch/releases)
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.5...4.0.8)

---
updated-dependencies:
- dependency-name: micromatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-30 17:02:42 +00:00
dependabot[bot]
81b89f5d0c Bump webpack from 5.90.3 to 5.94.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.90.3 to 5.94.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.90.3...v5.94.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-30 17:00:42 +00:00
Tim Donohue
1c1497422b Merge pull request #3273 from DSpace/dependabot/npm_and_yarn/axios-1.7.4
Bump axios from 1.6.7 to 1.7.4
2024-08-30 11:59:31 -05:00
Tim Donohue
c659061ff0 Merge pull request #3253 from alexandrevryghem/w2p-117287_fix-item-version-performance-issues_contribute-main
Fixed Edit Item's Version History crashing
2024-08-29 16:43:02 -05:00
Tim Donohue
843056d960 Merge pull request #3280 from DSpace/backport-3035-to-main
[Port main] Set color black on filter section for mobile
2024-08-29 15:55:15 -05:00
Victor Hugo Duran Santiago
3a5e309d38 Set color black on filter section for mobile
(cherry picked from commit 36c95db7bf)
2024-08-29 19:59:42 +00:00
Tim Donohue
27ee094310 Merge pull request #3277 from vNovski/Fix/#3259-typo-in-german-translation
Typo in German translation
2024-08-29 13:28:58 -05:00
Vlad Novski
3b4e0d51cd fix[i18n]: typo in German translation 2024-08-29 18:56:28 +02:00
kshepherd
332be2bdb2 Merge pull request #3251 from alexandrevryghem/w2p-110615_minor-accessibibity-fixes_contribute-main
Minor accessibibity fixes
2024-08-29 15:33:56 +02:00
dependabot[bot]
b22ba6f3ef Bump axios from 1.6.7 to 1.7.4
Bumps [axios](https://github.com/axios/axios) from 1.6.7 to 1.7.4.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.6.7...v1.7.4)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-28 16:56:56 +00:00
Alexandre Vryghem
04bbaf9cb9 117287: Simplified the if conditions on the edit/save/discard buttons on item versions 2024-08-14 23:50:28 +02:00
Alexandre Vryghem
9c2909933c Merge branch 'w2p-117287_fix-item-version-performance-issues_contribute-7.6' into w2p-117287_fix-item-version-performance-issues_contribute-main
# Conflicts:
#	src/app/item-page/versions/item-versions.component.html
#	src/app/item-page/versions/item-versions.component.ts
2024-08-14 23:04:54 +02:00
Alexandre Vryghem
d09f5297a1 117287: Removed method calls returning observables from the item versions overview 2024-08-14 22:46:14 +02:00
Alexandre Vryghem
f61e8652d7 Merge branch 'w2p-110615_minor-accessibibity-fixes_contribute-7.6' into w2p-110615_minor-accessibibity-fixes_contribute-main
# Conflicts:
#	src/app/item-page/simple/related-entities/tabbed-related-entities-search/tabbed-related-entities-search.component.html
#	src/app/navbar/expandable-navbar-section/expandable-navbar-section.component.html
#	src/app/shared/form/vocabulary-treeview/vocabulary-treeview.component.html
2024-08-13 13:45:10 +02:00
Alexandre Vryghem
54d99a84c9 110615: Added missing vocabulary search input label 2024-08-13 12:05:16 +02:00
Alexandre Vryghem
655813a8af Merge branch 'refs/heads/w2p-110615_minor-accessibibity-fixes_contribute-7.2' into w2p-110615_minor-accessibibity-fixes_contribute-7.6
# Conflicts:
#	src/app/navbar/expandable-navbar-section/expandable-navbar-section.component.html
2024-08-13 11:48:45 +02:00
Alexandre Vryghem
a0515c4121 110615: Fixed related entities ay11 tab issue & removed potential duplicate ID issue by removing the unused #browseDropdown ID 2024-08-13 11:43:36 +02:00
Tim Donohue
ee7e8358e7 Merge pull request #3243 from tdonohue/fix_lint_error
Fix lint error regarding missing interface
2024-08-09 08:58:46 -05:00
Alan Orth
fd7fb5de37 Merge pull request #3236 from 4Science/task/main/CST-15589 2024-08-08 20:27:15 -07:00
Tim Donohue
ad6a9438de Fix lint error regarding missing interface 2024-08-08 16:49:20 -05:00
Tim Donohue
7a24bf2c7f Merge pull request #3048 from saschaszott/patch-21-squashed
add import of missing Angular interfaces (squashed version)
2024-08-08 16:33:50 -05:00
Tim Donohue
84b32b70a5 Merge pull request #3235 from saschaszott/patch-26
Missing translations in de.json5 (translation key prefix workspace-item)
2024-08-07 14:18:08 -05:00
Tim Donohue
f719fde602 Merge pull request #3234 from saschaszott/patch-25
WorkspaceitemsEditPageModule: remove duplicated delete route
2024-08-07 14:14:48 -05:00
Sascha Szott
92dcffcba1 fix space issue 2024-08-07 16:57:02 +02:00
Sascha Szott
45c018f5f6 added missing translations in de.json5 (prefix workspace-item) 2024-08-07 16:50:17 +02:00
Sascha Szott
cddceadea1 remove duplicated delete route 2024-08-07 16:05:17 +02:00
Simone Ramundi
56ba23fc3d [CST-15589] Updated slider implementation in template 2024-08-07 14:30:44 +02:00
Simone Ramundi
6c2d541b89 [CST-15589] Updated slider implementation in SearchRangeFilterComponent 2024-08-07 14:30:24 +02:00
kshepherd
e7f235a90b Merge pull request #3230 from Neki-IT/FileBrowserForImportingMetadata
Improving the file browser for importing metadata
2024-08-03 17:31:25 +02:00
root
ce2abfe584 Improving the file browser for importing metadata 2024-08-01 13:04:17 -03:00