Skip to content

Commit

Permalink
chore(deps): upgrade dependencies (#258)
Browse files Browse the repository at this point in the history
* chore(deps): upgrade dependencies

* use vitest

* fix index spec

* fix more tests
  • Loading branch information
Daniel A. White authored Jun 17, 2024
1 parent c30d690 commit 86f2ce6
Show file tree
Hide file tree
Showing 26 changed files with 15,884 additions and 10,667 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ version: 2
jobs:
test_node:
docker:
- image: cimg/node:16.13
- image: cimg/node:18.20
steps:
- checkout
- run: yarn
- run: yarn test.prod

release:
docker:
- image: circleci/node:16.13
- image: cimg/node:18.20
steps:
- checkout
- run: yarn
Expand Down
10 changes: 1 addition & 9 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,5 @@
"@typescript-eslint/prefer-optional-chain": "error",
"@typescript-eslint/no-floating-promises": ["error", { "ignoreVoid": true }],
"no-console": "warn"
},
"overrides": [
{
"files": ["*.spec.{ts,tsx}"],
"env": {
"jest": true
}
}
]
}
}
6 changes: 5 additions & 1 deletion .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,9 @@ module.exports = {
addons: ['@storybook/addon-essentials'],
core: {
builder: "webpack5"
}
},
// From https://github.com/hipstersmoothie/react-docgen-typescript-plugin/issues/78#issuecomment-1409224863
typescript: {
reactDocgen: 'react-docgen-typescript-plugin'
},
};
21 changes: 0 additions & 21 deletions jest.config.js

This file was deleted.

47 changes: 25 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@
"release.docs": "sl-scripts release:docs",
"release.dryRun": "sl-scripts release --dry-run --debug",
"storybook": "start-storybook -p 6006",
"test": "jest",
"test.prod": "yarn lint && yarn test --coverage --maxWorkers=2",
"test.update": "yarn test --updateSnapshot",
"test.watch": "yarn test --watch",
"test": "vitest run",
"test.prod": "yarn lint && vitest run --coverage",
"test.update": "vitest run --update",
"test.watch": "vitest",
"test.packaging": "node -e \"require('./dist/index.js')\" && node --input-type=module -e \"import './dist/index.mjs'\"",
"size-limit": "size-limit"
},
Expand Down Expand Up @@ -61,46 +61,49 @@
"@stoplight/markdown-viewer": "^5.3.3",
"@stoplight/mosaic": "^1.32.0",
"@stoplight/mosaic-code-viewer": "^1.32.0",
"@stoplight/scripts": "9.2.0",
"@stoplight/scripts": "10.0.0",
"@stoplight/types": "^13.7.0",
"@storybook/addon-essentials": "^6.4.14",
"@storybook/builder-webpack5": "^6.4.14",
"@storybook/core": "6.4.14",
"@storybook/manager-webpack5": "^6.4.14",
"@storybook/react": "^6.4.14",
"@storybook/addon-essentials": "^6.5.0",
"@storybook/builder-webpack5": "^6.5.0",
"@storybook/core": "^6.5.0",
"@storybook/manager-webpack5": "^6.5.0",
"@storybook/react": "^6.5.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^12.0.0",
"@types/classnames": "^2.2.11",
"@types/enzyme": "^3.10.8",
"@types/jest": "^26.0.18",
"@types/lodash": "^4.14.149",
"@types/node": "^12.7.2",
"@types/react": "16.9.56",
"@types/react-dom": "16.9.13",
"@types/react": "^16.14.0",
"@types/react-dom": "^16.9.0",
"@types/treeify": "^1.0.0",
"@typescript-eslint/eslint-plugin": "^5.7.0",
"@typescript-eslint/parser": "^5.7.0",
"babel-jest": "^26.6.3",
"@vitejs/plugin-react": "^4.3.1",
"@vitest/coverage-v8": "^1.6.0",
"@vitest/ui": "^1.6.0",
"babel-loader": "^8.2.2",
"copyfiles": "^2.4.1",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.5",
"enzyme-to-json": "^3.6.1",
"eslint": "^8.4.1",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jest": "^25.3.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-jest": "^28.6.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.27.1",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"jest": "^26.6.2",
"jest-enzyme": "^7.1.2",
"prettier": "^2.5.1",
"jsdom": "^24.1.0",
"prettier": "^3.2.2",
"react": "^16.14.0",
"react-docgen-typescript-plugin": "^1.0.6",
"react-dom": "^16.14.0",
"rollup-plugin-terser": "^5.3.0",
"size-limit": "^4.11.0",
"treeify": "^1.1.0",
"ts-jest": "^26.4.4",
"typescript": "4.5.5",
"typescript": "5.4.5",
"vite": "^5.3.1",
"vitest": "^1.6.0",
"webpack": "^5.67.0"
},
"lint-staged": {
Expand Down
17 changes: 0 additions & 17 deletions setupTests.ts

This file was deleted.

Loading

0 comments on commit 86f2ce6

Please sign in to comment.