Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade nivo/radar and nivo/core #2169

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 18 additions & 11 deletions .github/workflows/gradle-build-feature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,25 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 11
- name: Cache SonarQube packages
uses: actions/cache@v1
- name: Clear cache
uses: actions/github-script@v6
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Cache Gradle packages
uses: actions/cache@v1
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle
script: |
console.log("About to clear")
const caches = await github.rest.actions.getActionsCacheList({
owner: context.repo.owner,
repo: context.repo.repo,
})
for (const cache of caches.data.actions_caches) {
console.log(cache)
github.rest.actions.deleteActionsCacheById({
owner: context.repo.owner,
repo: context.repo.repo,
cache_id: cache.id,
})
}
console.log("Clear completed")

- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
- name: Build with Gradle
Expand Down
5 changes: 3 additions & 2 deletions web-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"@mui/styled-engine-sc": "^6.0.0-alpha.18",
"@mui/styles": "^5.15.14",
"@mui/x-date-pickers": "^7.0.0",
"@nivo/core": "^0.73.0",
"@nivo/radar": "^0.73.0",
"@nivo/core": "^0.85.1",
"@nivo/radar": "^0.85.1",
"@tinymce/tinymce-react": "^5.0.0",
"axios": "^1.6.8",
"canvas-confetti": "^1.6.0",
Expand Down Expand Up @@ -90,6 +90,7 @@
"msw": "^2.2.13",
"prettier": "2.8.1",
"prop-types": "^15.8.1",
"raf": "^3.4.1",
"react-test-renderer": "^18.2.0",
"storybook": "^8.0.4",
"vite": "^5.2.6",
Expand Down
5 changes: 4 additions & 1 deletion web-ui/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ import react from "@vitejs/plugin-react-swc"
export default defineConfig({
base: "/",
plugins: [react()],
optimizeDeps: {
exclude: ['@nivo/bar', '@nivo/line', '@nivo/pie', '@nivo/tooltip', '@nivo/legends', '@nivo/scales', '@nivo/colors', '@nivo/core', '@nivo/axes', '@nivo/annotations', '@nivo/stream', '@nivo/sankey', '@nivo/waffle', '@nivo/sunburst', '@nivo/parallel', '@nivo/heatmap', '@nivo/calendar', '@nivo/radar', '@nivo/treemap', '@nivo/bullet', '@nivo/chord', '@nivo/voronoi'],
},
test: {
globals: true,
environment: "jsdom",
Expand All @@ -17,4 +20,4 @@ export default defineConfig({
exclude: [],
}
},
})
})
Loading
Loading