Skip to content

Commit

Permalink
chore: upgrade packages (#512)
Browse files Browse the repository at this point in the history
* upgrading packages and some minor cleanup

* fix first set of changes

* chore: upgrade packages

* fix build issues

* updated the size limit action

* empty commit

* updated the version of size limit

* updated size limit
  • Loading branch information
prabhuignoto authored Jan 15, 2025
1 parent bfd27bb commit e604836
Show file tree
Hide file tree
Showing 24 changed files with 5,183 additions and 4,452 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/size-limit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ jobs:
env:
CI_JOB_NUMBER: 1
steps:
- uses: pnpm/action-setup@v3
- uses: pnpm/action-setup@v4
with:
version: 8.1.0
version: 10

- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Cache PNPM dependencies
uses: actions/cache@v4
Expand All @@ -23,6 +23,6 @@ jobs:
restore-keys: |
${{ runner.os }}-pnpm-
- uses: andresz1/size-limit-action@v1
- uses: andresz1/size-limit-action@v1.8.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
8 changes: 7 additions & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,10 @@ module.exports = {
},
],
],
};
// Adding presets for better compatibility and support
presets: [
'@babel/preset-env',
'@babel/preset-react',
'@babel/preset-typescript',
],
};
133 changes: 67 additions & 66 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,112 +42,113 @@
},
"dependencies": {
"classnames": "^2.5.1",
"dayjs": "^1.11.12",
"focus-visible": "^5.2.0",
"styled-components": "^6.1.12",
"use-debounce": "^10.0.1",
"dayjs": "^1.11.13",
"focus-visible": "^5.2.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"styled-components": "^6.1.13",
"use-debounce": "^10.0.4",
"xss": "^1.0.15"
},
"peerDependencies": {
"react": "^18.1.0",
"react-dom": "^18.1.0"
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"publishConfig": {
"cache": "cache/.npm",
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@babel/core": "^7.24.9",
"@babel/core": "^7.26.0",
"@babel/plugin-proposal-optional-chaining": "^7.21.0",
"@babel/plugin-transform-runtime": "^7.24.7",
"@babel/plugin-transform-typescript": "^7.24.8",
"@babel/preset-env": "^7.24.8",
"@babel/preset-react": "^7.24.7",
"@babel/preset-typescript": "^7.24.7",
"@emotion/babel-plugin": "^11.12.0",
"@babel/plugin-transform-runtime": "^7.25.9",
"@babel/plugin-transform-typescript": "^7.26.5",
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.26.3",
"@babel/preset-typescript": "^7.26.0",
"@emotion/babel-plugin": "^11.13.5",
"@jest/types": "^29.6.3",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-buble": "^1.0.3",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-commonjs": "^28.0.2",
"@rollup/plugin-eslint": "^9.0.5",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-strip": "^3.0.4",
"@rollup/plugin-terser": "^0.4.4",
"@size-limit/preset-big-lib": "^11.1.4",
"@size-limit/preset-big-lib": "^11.1.6",
"@stylelint/postcss-css-in-js": "^0.38.0",
"@testing-library/dom": "^10.3.2",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.0",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "^29.5.12",
"@types/node": "^20.14.11",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.1.0",
"@testing-library/user-event": "^14.6.0",
"@types/jest": "^29.5.14",
"@types/node": "^22.10.6",
"@types/react": "^19.0.7",
"@types/react-dom": "^19.0.3",
"@types/react-router-dom": "^5.3.3",
"@types/sanitize-html": "^2.11.0",
"@types/sanitize-html": "^2.13.0",
"@types/styled-components": "^5.1.34",
"@types/testing-library__jest-dom": "^6.0.0",
"@typescript-eslint/eslint-plugin": "^7.16.1",
"@typescript-eslint/parser": "^7.16.1",
"@vitejs/plugin-react": "^4.3.1",
"@vitest/coverage-v8": "^2.0.3",
"@vitest/ui": "^2.0.3",
"autoprefixer": "^10.4.19",
"babel-loader": "^9.1.3",
"@typescript-eslint/eslint-plugin": "^8.20.0",
"@typescript-eslint/parser": "^8.20.0",
"@vitejs/plugin-react": "^4.3.4",
"@vitest/coverage-v8": "^2.1.8",
"@vitest/ui": "^2.1.8",
"autoprefixer": "^10.4.20",
"babel-loader": "^9.2.1",
"babel-plugin-jsx-remove-data-test-id": "^3.0.0",
"babel-plugin-styled-components": "^2.1.4",
"c8": "^10.1.2",
"cssnano": "^7.0.4",
"cypress": "13.13.1",
"eslint": "^9.7.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.9.0",
"eslint-plugin-react": "^7.35.0",
"c8": "^10.1.3",
"cssnano": "^7.0.6",
"cypress": "13.17.0",
"eslint": "^9.18.0",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.4",
"eslint-plugin-sort-keys-fix": "^1.1.2",
"eslint-plugin-typescript-sort-keys": "^3.2.0",
"husky": "^9.1.1",
"eslint-plugin-typescript-sort-keys": "^3.3.0",
"husky": "^9.1.7",
"intersection-observer": "^0.12.2",
"jsdom": "^24.1.1",
"lint-staged": "^15.2.7",
"postcss": "^8.4.39",
"postcss-preset-env": "^9.6.0",
"jsdom": "^26.0.0",
"lint-staged": "^15.3.0",
"postcss": "^8.5.1",
"postcss-preset-env": "^10.1.3",
"postcss-syntax": "^0.36.2",
"prettier": "^3.3.3",
"prettier": "^3.4.2",
"pretty-quick": "^4.0.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-is": "^18.3.1",
"react-router-dom": "^6.25.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-is": "^19.0.0",
"react-router-dom": "^7.1.1",
"rimraf": "^6.0.1",
"rollup": "^4.19.0",
"rollup": "^4.30.1",
"rollup-plugin-analyzer": "^4.0.0",
"rollup-plugin-copy": "^3.5.0",
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-delete": "^2.1.0",
"rollup-plugin-filesize": "^10.0.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-typescript2": "^0.36.0",
"rollup-plugin-visualizer": "^5.12.0",
"sass": "^1.77.8",
"rollup-plugin-visualizer": "^5.14.0",
"sass": "^1.83.4",
"semver": "7.6.3",
"size-limit": "^11.1.4",
"snyk": "^1.1292.1",
"start-server-and-test": "^2.0.4",
"stylelint": "^16.7.0",
"size-limit": "^11.1.6",
"snyk": "^1.1295.0",
"start-server-and-test": "^2.0.10",
"stylelint": "^16.13.2",
"stylelint-config-prettier-scss": "^1.0.0",
"stylelint-config-recess-order": "^5.0.1",
"stylelint-config-recommended": "^14.0.1",
"stylelint-config-recess-order": "^5.1.1",
"stylelint-config-recommended": "^15.0.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-order": "^6.0.4",
"stylelint-processor-styled-components": "^1.10.0",
"typescript": "^5.5.3",
"typescript": "^5.7.3",
"typescript-plugin-css-modules": "^5.1.0",
"typescript-plugin-styled-components": "^3.0.0",
"vite": "^5.3.4",
"vite-tsconfig-paths": "^4.3.2",
"vitest": "^2.0.3"
"vite": "^6.0.7",
"vite-tsconfig-paths": "^5.1.4",
"vitest": "^2.1.8"
},
"resolutions": {
"ansi-regex": "5.0.1",
Expand Down
Loading

0 comments on commit e604836

Please sign in to comment.