Skip to content

Commit c6abe80

Browse files
authored
Merge pull request #6 from nickgros/fix-portals
2 parents 1a3582f + bbbfc7a commit c6abe80

File tree

6 files changed

+129
-48
lines changed

6 files changed

+129
-48
lines changed

.github/workflows/build-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
${{ runner.os }}-nx-cache
5555
- run: pnpm install --frozen-lockfile
5656
# Portals won't build without a configuration. For now, copy the test configuration.
57-
# We may want to invert the model and give each portal it's own project in the workspace, so we can build the portals in parallel.
57+
# We may want to invert the model and give each portal its own project in the workspace, so we can build the portals in parallel.
5858
- run: pnpm nx run portals:copy-test-configuration
5959
- run: pnpm build
60-
- run: pnpm test
60+
- run: CI=true pnpm test

.github/workflows/sbom.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Dependabot doesn't yet natively support pnpm. It should be supported, eventually, but for now we can add this workflow to continue getting Dependabot alerts.
2+
# For more information, and to see if support has been added, see https://github.com/dependabot/dependabot-core/issues/1736#issuecomment-1272772849
3+
4+
name: SBOM upload
5+
6+
on:
7+
push:
8+
branches: ["main"]
9+
10+
jobs:
11+
SBOM-upload:
12+
13+
runs-on: ubuntu-latest
14+
permissions:
15+
id-token: write
16+
contents: write
17+
18+
steps:
19+
- uses: actions/checkout@v3
20+
- name: Generate SBOM
21+
run: |
22+
curl -Lo $RUNNER_TEMP/sbom-tool https://github.com/microsoft/sbom-tool/releases/latest/download/sbom-tool-linux-x64
23+
chmod +x $RUNNER_TEMP/sbom-tool
24+
$RUNNER_TEMP/sbom-tool generate -b . -bc . -pn ${{ github.repository }} -pv 1.0.0 -ps SageBionetworks -nsb https://sagebase.org/platform/web -V Verbose
25+
26+
- uses: actions/upload-artifact@v3
27+
with:
28+
name: sbom
29+
path: _manifest/spdx_2.2
30+
- name: SBOM upload
31+
uses: jhutchings1/spdx-to-dependency-graph-action@v0.0.2
32+
with:
33+
filePath: "_manifest/spdx_2.2/"

apps/portals/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"resolveJsonModule": true,
2020
"isolatedModules": true,
2121
"noEmit": true,
22-
"jsx": "react-jsx",
22+
"jsx": "react",
2323
"noFallthroughCasesInSwitch": true,
2424
"noImplicitAny": false
2525
},

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"scripts": {
1111
"prepare": "husky install",
1212
"build": "nx run-many --target=build",
13-
"test": "nx run-many --target=test"
13+
"test": "nx run-many --target=test -- --watchAll=false"
1414
},
1515
"devDependencies": {
1616
"husky": ">=6",

packages/synapse-react-client/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@
159159
"@types/xml2js": "^0.4.4",
160160
"@typescript-eslint/eslint-plugin": "^5.13.0",
161161
"@typescript-eslint/parser": "^5.13.0",
162-
"@vitejs/plugin-legacy": "^2.0.1",
163-
"@vitejs/plugin-react": "^2.0.1",
162+
"@vitejs/plugin-legacy": "^3.0.2",
163+
"@vitejs/plugin-react": "^3.0.1",
164164
"@welldone-software/why-did-you-render": "^7.0.1",
165165
"babel-jest": "^28.1.1",
166166
"babel-loader": "^8.2.5",
@@ -218,7 +218,7 @@
218218
"start-js": "vite",
219219
"start": "pnpm storybook",
220220
"start-deprecated-demo": "start-js",
221-
"test": "jest --watchAll",
221+
"test": "jest",
222222
"test:coverage": "jest --coverage",
223223
"test:ci": "CI=true pnpm test:coverage",
224224
"build": "rimraf dist && pnpm build:js && pnpm build:copy-assets && pnpm build:esbuild",

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)