Commit Graph

276 Commits

Author SHA1 Message Date
Luca Giamminonni
bdc8c5d41e Merge branch 'main' into CST-5668 2022-05-20 17:18:44 +02:00
Luca Giamminonni
733688bd7e Merge remote-tracking branch '4Science-bitbucket/main' into CST-5668 2022-05-18 13:25:36 +02:00
Yura Bondarenko
21579d1525 Merge remote-tracking branch 'origin/main' into w2p-90978_Improve-initial-page-load_PR 2022-05-13 09:32:34 +02:00
Yura Bondarenko
63de6139a3 90978: Upgrade compression-webpack-plugin 2022-04-28 14:06:38 +02:00
Yura Bondarenko
1522c36ed0 Merge remote-tracking branch 'origin/main' into w2p-90978_Improve-initial-page-load_PR 2022-04-28 13:49:39 +02:00
Yura Bondarenko
7e391f0411 90978: Serve pre-compressed static files 2022-04-28 12:16:46 +02:00
Art Lowel
3bc5ee0253 pages loading twice poc
Cherry-picked from original branch started from Angular 13 PR
2022-04-27 11:58:43 +02:00
Yura Bondarenko
8d6f156db1 90918: Upgrade ng-dynamic-forms and RxJs
Copied over isNumeric from RxJs 6.x as it was removed from 7.x
Build & tests are broken, fixed in subsequent commit
2022-04-25 15:32:34 +02:00
Luca Giamminonni
9509d6d901 Merge remote-tracking branch '4Science-bitbucket/main' into CST-5307 2022-04-22 11:25:12 +02:00
Pratik Rajkotiya
88c324cb5a [CST-5307] Migrate Researcher Profile (Angular). 2022-04-12 17:04:32 +05:30
Art Lowel
708375593d add margin to compensate for the switch to preserveWhiteSpaces = false 2022-04-08 17:57:16 +02:00
Yura Bondarenko
b5911b8536 87968: Manual ESLint configuration
Extend recommended ESLint rulesets, disable rules that are too noisy or would require major code changes to resolve errors
Restore TSLint configuration as closely as possible
2022-04-08 17:57:16 +02:00
Yura Bondarenko
245977a432 87968: Automatic migration from TSLint to ESLint
Via `ng g @angular-eslint/schematics:convert-tslint-to-eslint`
2022-04-08 17:57:16 +02:00
Yura Bondarenko
ec6327edc2 87968: Automatic ESLint install
Via CLI suggestion when running `ng lint` w/o ESLint on Angular 13
2022-04-08 17:57:16 +02:00
Yura Bondarenko
59d46ffbdf 87968: Upgrade ng-bootstrap to v11
Some tests involving NgbModal now fail if setup with mock Injector without `get` method
2022-04-08 17:57:16 +02:00
Yura Bondarenko
48efccb53b 87968: Upgrade ngx-gallery 2022-04-08 17:57:16 +02:00
Yura Bondarenko
8e4f1993bf 87968: Automatic upgrade to NgRx 13 2022-04-08 17:57:15 +02:00
Yura Bondarenko
49f470c07b 87968: Various dependency changes
Upgraded:
  zone.js
  ng-mocks
  @angular/cdk
  @ngtools/webpack
  @angular-builders/custom-webpack
  @nguniversal

Added:
 postcss-preset-env: fix spurious CSS warnings
 sass-loader: fix "can't resolve 'sass-loader'" & "the loader didn't return a string" errors
2022-04-08 17:57:15 +02:00
Yura Bondarenko
1b460fe1d3 87968: Automatic upgrade to Angular 13 2022-04-08 17:57:15 +02:00
Yura Bondarenko
26d45fd5e7 87968: Remove angular2-text-mask dependency 2022-04-08 17:57:15 +02:00
Yura Bondarenko
5476062648 87968: Add unmet peer dependencies 2022-04-08 17:57:15 +02:00
Art Lowel
a47d7dd846 Upgrade ng-dynamic forms 2022-04-08 17:57:15 +02:00
Yura Bondarenko
9093ef4ae9 87968: Karma needs ts-node 10.2.1
Otherwise tests error out with
  Uncaught ReferenceError: sourceMapSupport is not defined

Check just-jeb/angular-builders issue 1046 for more info
2022-04-08 17:57:15 +02:00
Yura Bondarenko
29d8dd68f4 87968: Remove html-webpack-plugin
After updating to Angular 12, it causes ng serve to fail with
  Conflict: Multiple assets emit different content to the same filename index.html

Confirmed that the application still builds and runs properly without it.

This plugin isn't used by @angular-builders/custom-webpack since Angular 8 (see https://www.justjeb.com/post/customizing-angular-cli-build#viewer-51npg), this is just the first time it's actually causing problems for us.

Removed script-ext-html-webpack-plugin as well since that's an extension to html-webpack-plugin & can't run without it.
2022-04-08 17:57:15 +02:00
Yura Bondarenko
22c5976095 87968: Upgrade to Angular 12 2022-04-08 17:57:15 +02:00
Tim Donohue
fe0e414343 Upgrade Cypress 2022-03-04 14:42:47 -06:00
Tim Donohue
8d953f8488 Merge pull request #1538 from DSpace/dependabot/npm_and_yarn/nanoid-3.3.1
Bump nanoid from 3.1.30 to 3.3.1
2022-02-24 14:56:04 -06:00
Tim Donohue
40881cf550 Merge pull request #1531 from DSpace/dependabot/npm_and_yarn/url-parse-1.5.6
Bump url-parse from 1.5.3 to 1.5.6
2022-02-24 14:34:08 -06:00
Tim Donohue
bcbd64ad77 Merge pull request #1539 from DSpace/dependabot/npm_and_yarn/follow-redirects-1.14.9
Bump follow-redirects from 1.14.5 to 1.14.9
2022-02-24 14:22:02 -06:00
dependabot[bot]
3cfde7bf66 Bump url-parse from 1.5.3 to 1.5.6
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.3 to 1.5.6.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.3...1.5.6)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-24 18:42:16 +00:00
dependabot[bot]
00d77175c8 Bump node-fetch from 2.6.6 to 2.6.7
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.6 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.6...v2.6.7)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-24 18:42:11 +00:00
dependabot[bot]
951e1d98ae Bump follow-redirects from 1.14.5 to 1.14.9
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.5 to 1.14.9.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.5...v1.14.9)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-24 18:42:10 +00:00
dependabot[bot]
2a74326f80 Bump nanoid from 3.1.30 to 3.3.1
Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.30 to 3.3.1.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.30...3.3.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-24 18:42:06 +00:00
dependabot[bot]
0abb53928d Bump karma from 5.2.3 to 6.3.14
Bumps [karma](https://github.com/karma-runner/karma) from 5.2.3 to 6.3.14.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v5.2.3...v6.3.14)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-11 05:50:23 +00:00
William Welling
d59e8becc3 specify NODE_ENV for production scripts 2021-12-20 15:28:19 -06:00
William Welling
f652490c1c Merge branch 'main' of github.com:DSpace/dspace-angular into 1422-deploy-time-config 2021-12-20 12:30:53 -06:00
Michael Spalti
b1c3967a5b Added lockfile. 2021-12-13 11:32:37 -08:00
William Welling
10622008c4 refactor config filename and convert to yaml 2021-12-08 14:56:52 -06:00
William Welling
33488ccf40 extend environment and use injected app config 2021-12-07 10:12:27 -06:00
William Welling
71f5b46639 use standard environments 2021-12-06 12:25:37 -06:00
Tim Donohue
597e5396f9 Update ngx-sortablejs to latest version 2021-11-22 11:30:25 -06:00
Tim Donohue
d926a24088 Autoupdate to @ng-dynamic-forms/core@13 and @ng-dynamic-forms/ui-ng-bootstrap@13 2021-11-22 11:26:27 -06:00
Tim Donohue
ab3fa88913 Automated upgrade to @ng-bootstrap/ng-bootstrap@9 2021-11-22 11:22:13 -06:00
Tim Donohue
be289617e1 Automated upgrade to ng-mocks@11 2021-11-22 11:15:41 -06:00
Tim Donohue
2d633d79dc Automated upgrade to @nguniversal/express-engine@11 2021-11-22 11:13:04 -06:00
Tim Donohue
8fedb2c177 Automated upgrade to @ngrx/store@11 2021-11-22 11:10:35 -06:00
Tim Donohue
0d031d0b25 Automated upgrade to @angular/cdk@11 2021-11-22 11:07:53 -06:00
Tim Donohue
9f1a017b56 Automated upgrade to Angular 11.0 2021-11-22 11:01:54 -06:00
William Welling
d049caa8c0 remove webpack node externals 2021-11-18 05:03:02 -06:00
William Welling
8d66f68dfa remove bundle workaround, update dependencies and build 2021-11-17 22:11:06 -06:00