Skip to content

Commit

Permalink
chore(deps-dev): updtae dependencies (#3871)
Browse files Browse the repository at this point in the history
- update dependencies to the latest
- update react package coverage settings
- fix lint issues
  • Loading branch information
netil committed Aug 23, 2024
1 parent 3f897f8 commit 102baca
Show file tree
Hide file tree
Showing 14 changed files with 7,000 additions and 11,794 deletions.
2 changes: 2 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ export default [
"@typescript-eslint/ban-types": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-this-alias": 0,
"@typescript-eslint/no-unused-expressions": 0,
"@typescript-eslint/no-unsafe-function-type": 0,
"@typescript-eslint/no-unused-vars": [
"error", {
vars: "all",
Expand Down
34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@
"license": "MIT",
"readmeFilename": "README.md",
"dependencies": {
"@types/d3-selection": "^3.0.0",
"@types/d3-transition": "^3.0.0",
"@types/d3-selection": "^3.0.10",
"@types/d3-transition": "^3.0.8",
"d3-axis": "^3.0.0",
"d3-brush": "^3.0.0",
"d3-drag": "^3.0.0",
Expand All @@ -101,9 +101,9 @@
"d3-zoom": "^3.0.0"
},
"devDependencies": {
"@commitlint/cli": "19.3.0",
"@commitlint/cli": "^19.4.0",
"@commitlint/config-conventional": "^19.2.2",
"@eslint/js": "^9.8.0",
"@eslint/js": "^9.9.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^5.0.7",
"@rollup/plugin-typescript": "^11.1.6",
Expand All @@ -122,8 +122,8 @@
"@vitest/ui": "^2.0.5",
"better-docs": "^2.7.3",
"clean-webpack-plugin": "^4.0.0",
"cloc": "^2.11.0",
"core-js": "^3.37.1",
"cloc": "2.2.0-cloc",
"core-js": "^3.38.1",
"coveralls": "^3.1.1",
"cross-env": "^7.0.3",
"css-loader": "^7.1.2",
Expand All @@ -134,27 +134,27 @@
"docdash": "^2.0.2",
"dprint": "^0.47.2",
"esbuild-loader": "^4.2.2",
"eslint": "^9.8.0",
"eslint": "^9.9.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsdoc": "^48.9.2",
"husky": "^9.1.4",
"eslint-plugin-jsdoc": "^50.2.2",
"husky": "^9.1.5",
"jsdoc": "^4.0.3",
"lint-staged": "^15.2.7",
"mini-css-extract-plugin": "^2.9.0",
"playwright": "^1.46.0",
"lint-staged": "^15.2.9",
"mini-css-extract-plugin": "^2.9.1",
"playwright": "^1.46.1",
"regenerator-runtime": "^0.14.1",
"rollup": "^4.19.1",
"rollup": "^4.21.0",
"rollup-plugin-delete": "^2.0.0",
"sass": "^1.77.8",
"sass-loader": "^16.0.0",
"semantic-release": "^24.0.0",
"sass-loader": "^16.0.1",
"semantic-release": "^24.1.0",
"simulant": "^0.2.2",
"sinon": "^18.0.0",
"string-replace-loader": "^3.1.0",
"style-loader": "^4.0.0",
"tslib": "^2.6.3",
"typescript": "5.5.4",
"typescript-eslint": "^7.18.0",
"typescript": "^5.5.4",
"typescript-eslint": "^8.2.0",
"vitest": "^2.0.5",
"webpack": "^5.93.0",
"webpack-bundle-analyzer": "^4.10.2",
Expand Down
51 changes: 26 additions & 25 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"preview": "npm run build:test && vite preview",
"test": "npm run build:test && vitest",
"test:ui": "npm test -- --ui",
"coverage": "npm run build:test && vitest run --coverage",
"coverage": "npm run build:test && vitest run",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"deploy": "npm run coverage && npm run build"
Expand Down Expand Up @@ -48,29 +48,30 @@
"react": ">=16.8.0"
},
"devDependencies": {
"@babel/core": "^7.18.10",
"@playwright/test": "^1.25.1",
"@storybook/addon-actions": "^6.5.10",
"@storybook/addon-console": "^1.2.3",
"@storybook/addon-essentials": "^6.5.10",
"@storybook/addon-interactions": "^6.5.10",
"@storybook/addon-links": "^6.5.10",
"@storybook/builder-vite": "^0.4.0",
"@storybook/react": "^6.5.10",
"@storybook/testing-library": "^0.0.13",
"@types/react": "^18.0.17",
"@types/react-dom": "^18.0.6",
"@vitejs/plugin-react": "^3.1.0",
"@vitest/coverage-c8": "^0.28.3",
"@vitest/ui": "^0.28.3",
"babel-loader": "^9.1.2",
"billboard.js": "^3.5.1",
"jsdom": "^21.1.0",
"playwright": "^1.25.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^4.6.4",
"vite": "^4.1.1",
"vitest": "^0.28.3"
"@babel/core": "^7.25.2",
"@playwright/test": "^1.46.1",
"@storybook/addon-actions": "^8.2.9",
"@storybook/addon-console": "^3.0.0",
"@storybook/addon-essentials": "^8.2.9",
"@storybook/addon-interactions": "^8.2.9",
"@storybook/addon-links": "^8.2.9",
"@storybook/builder-vite": "^8.2.9",
"@storybook/react": "^8.2.9",
"@storybook/testing-library": "^0.2.2",
"@types/react": "^18.3.4",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.1",
"@vitest/coverage-c8": "^0.33.0",
"@vitest/coverage-v8": "^2.0.5",
"@vitest/ui": "^2.0.5",
"babel-loader": "^9.1.3",
"billboard.js": "^3.12.4",
"jsdom": "^24.1.1",
"playwright": "^1.46.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"typescript": "^5.5.4",
"vite": "^5.4.2",
"vitest": "^2.0.5"
}
}
11 changes: 10 additions & 1 deletion packages/react/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@ export default mergeConfig(viteConfig, defineConfig({
test: {
testTimeout: 3_000,
hookTimeout: 5_000,
globals: true
globals: true,
coverage: {
provider: "istanbul",
reporter: ["text-summary", "html", "lcovonly"],
enabled: true,
include: [
"src/**/**",
],
extension: ["ts"]
}
}
}));
Loading

0 comments on commit 102baca

Please sign in to comment.