Skip to content

Commit

Permalink
Merge pull request #1691 from silx-kit/deps
Browse files Browse the repository at this point in the history
Upgrade dependencies
  • Loading branch information
axelboc authored Aug 6, 2024
2 parents 735dea6 + 45fb7f5 commit 0d57ca9
Show file tree
Hide file tree
Showing 12 changed files with 1,237 additions and 937 deletions.
3 changes: 1 addition & 2 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,4 @@ labels: ['bug']
- OS: [e.g. iOS]
- Browser: [e.g. Chrome, Safari]
- Version: [e.g. 22]
- H5Web context: [choose one or several] demo, jupyterlab_h5web, @h5web/lib,
@h5web/app
- H5Web context: [choose one or several] demo, jupyterlab_h5web, @h5web/lib, @h5web/app
2 changes: 0 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,6 @@ install the recommended extensions.
- `pnpm test run` - run unit and feature tests once
- `pnpm test [run] <filter>` - run tests matching the given filter
- `pnpm test -- --project <lib|app|...>` - run Vitest on a specific project
- `pnpm test:ui` - run tests inside the
[Vitest UI](https://vitest.dev/guide/ui.html)
- `pnpm support:setup` - create/update Poetry environments required for
[testing the providers](#providers-tests)
- `pnpm support:sample` - create `sample.h5`
Expand Down
12 changes: 6 additions & 6 deletions apps/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,27 +15,27 @@
"dependencies": {
"@h5web/app": "workspace:*",
"@h5web/h5wasm": "workspace:*",
"axios": "1.6.8",
"axios": "1.7.3",
"axios-hooks": "5.0.2",
"h5wasm-plugins": "0.0.3",
"normalize.css": "8.0.1",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-dropzone": "14.2.3",
"react-icons": "5.2.1",
"wouter": "3.1.3"
"wouter": "3.3.1"
},
"devDependencies": {
"@types/node": "^20.12.11",
"@types/react": "^18.3.2",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react-swc": "3.6.0",
"@vitejs/plugin-react-swc": "3.7.0",
"eslint": "8.57.0",
"eslint-config-galex": "4.5.2",
"typescript": "5.4.5",
"vite": "5.2.11",
"vite": "5.3.5",
"vite-css-modules": "1.4.2",
"vite-plugin-checker": "0.6.4",
"vite-plugin-checker": "0.7.2",
"vite-plugin-eslint": "1.8.1"
}
}
12 changes: 6 additions & 6 deletions apps/storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"@h5web/lib": "workspace:*",
"@h5web/shared": "workspace:*",
"@react-hookz/web": "24.0.4",
"@react-three/drei": "9.105.6",
"@react-three/fiber": "8.16.6",
"@react-three/drei": "9.109.2",
"@react-three/fiber": "8.16.8",
"d3-array": "3.2.4",
"d3-format": "3.1.0",
"greenlet": "1.1.0",
Expand All @@ -25,7 +25,7 @@
"react": "18.3.1",
"react-dom": "18.3.1",
"react-icons": "5.2.1",
"three": "0.164.1"
"three": "0.167.1"
},
"devDependencies": {
"@storybook/addon-docs": "8.0.10",
Expand All @@ -39,15 +39,15 @@
"@types/d3-format": "~3.0.4",
"@types/ndarray": "1.0.14",
"@types/node": "^20.12.11",
"@types/react": "^18.3.2",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/three": "0.164.0",
"@types/three": "0.167.1",
"eslint": "8.57.0",
"eslint-config-galex": "4.5.2",
"remark-gfm": "4.0.0",
"storybook": "8.0.10",
"typescript": "5.4.5",
"vite": "5.2.11"
"vite": "5.3.5"
},
"browserslist": {
"production": [
Expand Down
11 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
"lint:cypress:tsc": "tsc --project cypress/tsconfig.json",
"lint:root:eslint": "eslint \"**/*.{js,cjs,ts,tsx}\" --max-warnings=0",
"test": "vitest",
"test:ui": "vitest --ui",
"support:setup": "poetry -C support/sample install && poetry -C support/h5grove install",
"support:sample": "poetry -C support/sample run python support/sample/create_h5_sample.py",
"support:h5grove": "poetry -C support/h5grove run python support/h5grove/tornado_app.py --basedir support/sample/dist",
Expand All @@ -40,16 +39,16 @@
"postversion": "git push && git push --tags"
},
"devDependencies": {
"@simonsmith/cypress-image-snapshot": "9.0.3",
"@testing-library/cypress": "10.0.1",
"@simonsmith/cypress-image-snapshot": "9.1.0",
"@testing-library/cypress": "10.0.2",
"@types/node": "^20.12.11",
"cypress": "13.9.0",
"cypress": "13.13.2",
"cypress-wait-for-stable-dom": "0.1.0",
"eslint": "8.57.0",
"eslint-config-galex": "4.5.2",
"prettier": "3.2.5",
"prettier": "3.3.3",
"typescript": "5.4.5",
"vitest": "1.6.0",
"vitest": "2.0.5",
"vitest-fail-on-console": "0.7.0",
"wait-on": "7.2.0"
},
Expand Down
30 changes: 15 additions & 15 deletions packages/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,45 +51,45 @@
"dependencies": {
"@h5web/lib": "workspace:*",
"@react-hookz/web": "24.0.4",
"@react-three/fiber": "8.16.6",
"axios": "1.6.8",
"@react-three/fiber": "8.16.8",
"axios": "1.7.3",
"d3-format": "3.1.0",
"ndarray": "1.0.19",
"ndarray-ops": "1.2.2",
"react-error-boundary": "4.0.13",
"react-icons": "5.2.1",
"react-reflex": "4.2.6",
"react-slider": "2.0.4",
"three": "0.164.1",
"zustand": "4.5.2"
"three": "0.167.1",
"zustand": "4.5.4"
},
"devDependencies": {
"@h5web/shared": "workspace:*",
"@rollup/plugin-alias": "5.1.0",
"@testing-library/dom": "10.1.0",
"@testing-library/jest-dom": "6.4.5",
"@testing-library/react": "15.0.7",
"@testing-library/dom": "10.4.0",
"@testing-library/jest-dom": "6.4.8",
"@testing-library/react": "16.0.0",
"@testing-library/user-event": "14.5.2",
"@types/d3-format": "~3.0.4",
"@types/ndarray": "1.0.14",
"@types/node": "^20.12.11",
"@types/react": "^18.3.2",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/react-slider": "~1.3.6",
"@vitejs/plugin-react-swc": "3.6.0",
"@vitejs/plugin-react-swc": "3.7.0",
"concat": "1.0.3",
"dot-json": "1.3.0",
"eslint": "8.57.0",
"eslint-config-galex": "4.5.2",
"jsdom": "24.0.0",
"jsdom": "24.1.1",
"react": "18.3.1",
"react-dom": "18.3.1",
"rimraf": "5.0.7",
"rollup": "4.17.2",
"rollup-plugin-dts": "6.1.0",
"rimraf": "6.0.1",
"rollup": "4.20.0",
"rollup-plugin-dts": "6.1.1",
"typescript": "5.4.5",
"vite": "5.2.11",
"vite": "5.3.5",
"vite-css-modules": "1.4.2",
"vitest": "1.6.0"
"vitest": "2.0.5"
}
}
2 changes: 1 addition & 1 deletion packages/app/src/providers/h5grove/h5grove-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export class H5GroveApi extends DataProviderApi {
axiosConfig?: AxiosRequestConfig,
private readonly _getExportURL?: DataProviderApi['getExportURL'],
) {
super(filepath, { baseURL: url, ...axiosConfig });
super(filepath, { adapter: 'fetch', baseURL: url, ...axiosConfig });
}

public override async getEntity(path: string): Promise<ProvidedEntity> {
Expand Down
1 change: 1 addition & 0 deletions packages/app/src/providers/hsds/hsds-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ export class HsdsApi extends DataProviderApi {
private readonly _getExportURL?: DataProviderApi['getExportURL'],
) {
super(filepath, {
adapter: 'fetch',
baseURL: url,
params: { domain: filepath },
auth: { username, password },
Expand Down
12 changes: 6 additions & 6 deletions packages/h5wasm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,17 +55,17 @@
"@h5web/shared": "workspace:*",
"@rollup/plugin-alias": "5.1.0",
"@types/node": "^20.12.11",
"@types/react": "^18.3.2",
"@vitejs/plugin-react-swc": "3.6.0",
"@types/react": "^18.3.3",
"@vitejs/plugin-react-swc": "3.7.0",
"dot-json": "1.3.0",
"eslint": "8.57.0",
"eslint-config-galex": "4.5.2",
"react": "18.3.1",
"react-dom": "18.3.1",
"rollup": "4.17.2",
"rollup-plugin-dts": "6.1.0",
"rollup": "4.20.0",
"rollup-plugin-dts": "6.1.1",
"typescript": "5.4.5",
"vite": "5.2.11",
"vitest": "1.6.0"
"vite": "5.3.5",
"vitest": "2.0.5"
}
}
24 changes: 12 additions & 12 deletions packages/lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
}
},
"dependencies": {
"@floating-ui/react": "0.26.14",
"@floating-ui/react": "0.26.20",
"@react-hookz/web": "24.0.4",
"@visx/axis": "3.10.1",
"@visx/drag": "3.3.0",
Expand All @@ -72,11 +72,11 @@
"react-measure": "2.5.2",
"react-slider": "2.0.4",
"react-window": "1.8.10",
"zustand": "4.5.2"
"zustand": "4.5.4"
},
"devDependencies": {
"@h5web/shared": "workspace:*",
"@react-three/fiber": "8.16.6",
"@react-three/fiber": "8.16.8",
"@rollup/plugin-alias": "5.1.0",
"@types/d3-array": "~3.2.1",
"@types/d3-color": "~3.1.3",
Expand All @@ -86,26 +86,26 @@
"@types/d3-scale-chromatic": "~3.0.3",
"@types/ndarray": "~1.0.14",
"@types/node": "^20.12.11",
"@types/react": "^18.3.2",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/react-measure": "~2.0.12",
"@types/react-slider": "~1.3.6",
"@types/react-window": "~1.8.8",
"@types/three": "0.164.0",
"@vitejs/plugin-react-swc": "3.6.0",
"@types/three": "0.167.1",
"@vitejs/plugin-react-swc": "3.7.0",
"concat": "1.0.3",
"dot-json": "1.3.0",
"eslint": "8.57.0",
"eslint-config-galex": "4.5.2",
"react": "18.3.1",
"react-dom": "18.3.1",
"rimraf": "5.0.7",
"rollup": "4.17.2",
"rollup-plugin-dts": "6.1.0",
"three": "0.164.1",
"rimraf": "6.0.1",
"rollup": "4.20.0",
"rollup-plugin-dts": "6.1.1",
"three": "0.167.1",
"typescript": "5.4.5",
"vite": "5.2.11",
"vite": "5.3.5",
"vite-css-modules": "1.4.2",
"vitest": "1.6.0"
"vitest": "2.0.5"
}
}
4 changes: 2 additions & 2 deletions packages/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@
"@types/ndarray": "~1.0.14",
"@types/ndarray-ops": "~1.2.7",
"@types/node": "^20.12.11",
"@types/react": "^18.3.2",
"@types/react": "^18.3.3",
"d3-format": "3.1.0",
"eslint": "8.57.0",
"eslint-config-galex": "4.5.2",
"ndarray": "1.0.19",
"ndarray-ops": "1.2.2",
"react": "18.3.1",
"typescript": "5.4.5",
"vitest": "1.6.0"
"vitest": "2.0.5"
}
}
Loading

0 comments on commit 0d57ca9

Please sign in to comment.