Skip to content

Commit 1bf4d3a

Browse files
committed
Merge branch 'feature/pbs-25.04' into feat/8975-redirect-service
2 parents 04ec7dd + 5bf7d6c commit 1bf4d3a

File tree

1,402 files changed

+13544
-6990
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,402 files changed

+13544
-6990
lines changed

.github/rules/All Branch Rules.json

Lines changed: 0 additions & 37 deletions
This file was deleted.

.github/rules/Main_Develop Branch Rules.json

Lines changed: 0 additions & 52 deletions
This file was deleted.

.github/workflows/review.yml

Lines changed: 0 additions & 51 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@ name: Run Jest Tests
22

33
on:
44
pull_request:
5-
branches: ['*'] # or change to match your default branch
65
push:
7-
branches: ['*']
6+
branches:
7+
- develop
8+
- main
9+
- 'release/*'
10+
- 'hotfix/*'
811
workflow_dispatch:
912

1013
jobs:
@@ -45,6 +48,10 @@ jobs:
4548

4649
- name: Check coverage thresholds
4750
run: npm run test:check-coverage-thresholds
51+
- name: Coveralls Report
52+
uses: coverallsapp/github-action@v2
53+
with:
54+
github-token: ${{ secrets.GITHUB_TOKEN }}
4855
lint:
4956
runs-on: ubuntu-latest
5057

.husky/pre-push

Lines changed: 0 additions & 20 deletions
This file was deleted.

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ RUN npm install
99
COPY . .
1010

1111
RUN npm link @angular/cli
12-
RUN ng build --verbose
12+
RUN NG_BUILD_OPTIMIZE_CHUNKS=1 ng build --verbose
1313

1414
# Dist
1515
FROM node:22-alpine AS dist

angular.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@
3030
"cedar-artifact-viewer",
3131
"markdown-it-video",
3232
"ace-builds/src-noconflict/ext-language_tools",
33-
"@traptitech/markdown-it-katex"
33+
"@traptitech/markdown-it-katex",
34+
"@citation-js/core",
35+
"@citation-js/plugin-csl"
3436
],
3537
"assets": [
3638
"src/favicon.ico",
@@ -48,7 +50,6 @@
4850
"styles": [
4951
"src/styles/styles.scss",
5052
"node_modules/primeflex/primeflex.css",
51-
"node_modules/@fortawesome/fontawesome-free/css/all.min.css",
5253
"node_modules/ngx-markdown-editor/assets/highlight.js/agate.min.css"
5354
],
5455
"stylePreprocessorOptions": {
@@ -74,7 +75,8 @@
7475
"maximumError": "25kB"
7576
}
7677
],
77-
"outputHashing": "all"
78+
"outputHashing": "all",
79+
"optimization": true
7880
},
7981
"analyze-bundle": {
8082
"sourceMap": true,
@@ -147,15 +149,15 @@
147149
},
148150
"development": {
149151
"buildTarget": "osf:build:development",
150-
"hmr": false
152+
"hmr": true
151153
},
152154
"docker": {
153155
"buildTarget": "osf:build:docker",
154-
"hmr": false
156+
"hmr": true
155157
},
156158
"staging": {
157159
"buildTarget": "osf:build:staging",
158-
"hmr": false
160+
"hmr": true
159161
},
160162
"test": {
161163
"buildTarget": "osf:build:test",

jest.config.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ module.exports = {
1111
'^@styles/(.*)$': '<rootDir>/assets/styles/$1',
1212
'^@testing/(.*)$': '<rootDir>/src/testing/$1',
1313
'^src/environments/environment$': '<rootDir>/src/environments/environment.ts',
14+
'^cedar-artifact-viewer$': '<rootDir>/src/testing/mocks/cedar-artifact-viewer.mock.ts',
15+
'^cedar-embeddable-editor$': '<rootDir>/src/testing/mocks/cedar-embeddable-editor.mock.ts',
1416
},
1517
transform: {
1618
'^.+\\.(ts|mjs|js|html)$': [
@@ -50,10 +52,10 @@ module.exports = {
5052
extensionsToTreatAsEsm: ['.ts'],
5153
coverageThreshold: {
5254
global: {
53-
branches: 24.1,
54-
functions: 28.73,
55-
lines: 56.52,
56-
statements: 56.82,
55+
branches: 28.0,
56+
functions: 32.0,
57+
lines: 60.28,
58+
statements: 60.77,
5759
},
5860
},
5961
watchPathIgnorePatterns: [

0 commit comments

Comments
 (0)