Skip to content

Commit

Permalink
chore: upgrade yarn to v4 and other dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
abnud11 committed Jul 29, 2024
1 parent cab5f01 commit a1607f7
Show file tree
Hide file tree
Showing 13 changed files with 37,754 additions and 26,496 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -54,7 +54,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -68,4 +68,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

yarn precommit
Binary file added .yarn/install-state.gz
Binary file not shown.
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
Binary file added docs-site/.yarn/install-state.gz
Binary file not shown.
3 changes: 2 additions & 1 deletion docs-site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,6 @@
},
"resolutions": {
"strip-ansi": "6.0.1"
}
},
"packageManager": "[email protected]"
}
22,604 changes: 13,308 additions & 9,296 deletions docs-site/yarn.lock

Large diffs are not rendered by default.

Binary file added examples/hello-world/.yarn/install-state.gz
Binary file not shown.
3 changes: 2 additions & 1 deletion examples/hello-world/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@
"last 1 firefox version",
"last 1 safari version"
]
}
},
"packageManager": "[email protected]"
}
22,450 changes: 13,262 additions & 9,188 deletions examples/hello-world/yarn.lock

Large diffs are not rendered by default.

101 changes: 61 additions & 40 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,23 @@
"module": "dist/es/index.js",
"unpkg": "dist/react-datepicker.min.js",
"style": "dist/react-datepicker.min.css",
"files": ["*.md", "dist", "lib", "es", "src/stylesheets"],
"sideEffects": ["**/*.css"],
"keywords": ["react", "datepicker", "calendar", "date", "react-component"],
"files": [
"*.md",
"dist",
"lib",
"es",
"src/stylesheets"
],
"sideEffects": [
"**/*.css"
],
"keywords": [
"react",
"datepicker",
"calendar",
"date",
"react-component"
],
"repository": {
"type": "git",
"url": "git://github.com/Hacker0x01/react-datepicker.git"
Expand All @@ -22,67 +36,71 @@
"url": "https://github.com/Hacker0x01/react-datepicker/issues"
},
"devDependencies": {
"@babel/core": "^7.22.8",
"@babel/eslint-parser": "^7.22.7",
"@babel/helpers": "^7.22.6",
"@babel/plugin-external-helpers": "^7.22.5",
"@babel/core": "^7.24.9",
"@babel/eslint-parser": "^7.25.1",
"@babel/helpers": "^7.25.0",
"@babel/plugin-external-helpers": "^7.24.7",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/preset-env": "^7.22.10",
"@babel/preset-react": "^7.22.5",
"@babel/preset-typescript": "^7.24.1",
"@babel/preset-env": "^7.25.0",
"@babel/preset-react": "^7.24.7",
"@babel/preset-typescript": "^7.24.7",
"@react-docgen/cli": "^2.0.3",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"@testing-library/react": "^15.0.0",
"@testing-library/dom": "^10.4.0",
"@testing-library/react": "^16.0.0",
"@types/eslint": "^8.56.10",
"@types/jest": "^29.5.12",
"@types/node": "20",
"@typescript-eslint/eslint-plugin": "^7.9.0",
"@typescript-eslint/parser": "^7.9.0",
"axe-core": "^4.4.1",
"babel-jest": "^29.6.4",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^7.17.0",
"@typescript-eslint/parser": "^7.17.0",
"axe-core": "^4.9.1",
"babel-jest": "^29.7.0",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"core-js": "^3.29.1",
"eslint": "^8.56.0",
"core-js": "^3.37.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^28.5.0",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-jest": "^28.6.0",
"eslint-plugin-react": "^7.35.0",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-unused-imports": "^3.2.0",
"eslint-plugin-unused-imports": "^4.0.1",
"husky": "9",
"jest": "^29.6.4",
"jest": "^29.7.0",
"jest-canvas-mock": "^2.5.2",
"jest-environment-jsdom": "^29.6.4",
"lint-staged": "^15.0.1",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^15.2.7",
"lodash": "^4.17.21",
"prettier": "^3.2.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rollup": "^4.13.0",
"postcss": "^8.4.40",
"prettier": "^3.3.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"rollup": "^4.19.1",
"rollup-plugin-filesize": "^10.0.0",
"sass": "1.77.8",
"slugify": "^1.6.6",
"stylelint": "^16.2.1",
"stylelint-config-standard": "^36.0.0",
"stylelint-config-standard-scss": "^13.0.0",
"stylelint-scss": "^6.2.1",
"ts-jest": "^29.1.1",
"tslib": "^2.6.2",
"typescript": "^5.4.5"
"stylelint": "^16.8.0",
"stylelint-config-standard": "^36.0.1",
"stylelint-config-standard-scss": "^13.1.0",
"stylelint-scss": "^6.4.1",
"ts-jest": "^29.2.3",
"tslib": "^2.6.3",
"typescript": "^5.5.4"
},
"peerDependencies": {
"react": "^16.9.0 || ^17 || ^18",
"react-dom": "^16.9.0 || ^17 || ^18"
},
"dependencies": {
"@floating-ui/react": "^0.26.2",
"clsx": "^2.1.0",
"date-fns": "^3.3.1",
"prop-types": "^15.7.2"
"@floating-ui/react": "^0.26.20",
"clsx": "^2.1.1",
"date-fns": "^3.6.0",
"prop-types": "^15.8.1"
},
"scripts": {
"eslint": "eslint --ext .js,.jsx,.ts,.tsx ./src",
Expand All @@ -108,7 +126,10 @@
"prepare": "husky install"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,json,css,scss,md}": ["prettier --write", "git add"]
"*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --write",
"git add"
]
},
"packageManager": "yarn@1.22.17"
"packageManager": "yarn@4.3.1"
}
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"esModuleInterop": true,
"baseUrl": "src/",
"typeRoots": ["./src/@types", "./node_modules/@types"],
"types": ["node", "jest"]
"types": ["node", "jest"],
"skipLibCheck": true,
},
"include": ["src/**/*"],
"exclude": ["node_modules", "dist"]
Expand Down
Loading

0 comments on commit a1607f7

Please sign in to comment.