Skip to content

Commit

Permalink
chore(deps): bump date-fns to v3 and keep specific date-fns-v2 packag…
Browse files Browse the repository at this point in the history
…e for compatibility
  • Loading branch information
frsimond committed Jan 8, 2024
1 parent ae0db96 commit 2d41767
Show file tree
Hide file tree
Showing 10 changed files with 593 additions and 56 deletions.
5 changes: 5 additions & 0 deletions packages/date-fns-v2/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## Date-io adapter for date-fns v2

This project is a part of [date-io monorepo](https://github.com/dmtrKovalenko/date-io) and contains the unified interface of date-fns v2.

Get more information [here](https://github.com/dmtrKovalenko/date-io)
49 changes: 49 additions & 0 deletions packages/date-fns-v2/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"name": "@date-io/date-fns-v2",
"version": "2.17.0",
"description": "Abstraction over common javascript date management libraries",
"main": "build/index.js",
"module": "build/index.esm.js",
"typings": "build/index.d.ts",
"scripts": {
"build": "rollup -c && tsc -p tsconfig.declaration.json"
},
"bugs": {
"url": "https://github.com/dmtrKovalenko/date-io/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/dmtrKovalenko/date-io"
},
"keywords": [
"date",
"time",
"date-io",
"picker",
"date-fns",
"moment",
"luxon"
],
"author": {
"name": "Dmitriy Kovalenko",
"email": "[email protected]"
},
"license": "MIT",
"peerDependencies": {
"date-fns": "^2.0.0"
},
"peerDependenciesMeta": {
"date-fns": {
"optional": true
}
},
"dependencies": {
"@date-io/core": "^2.17.0"
},
"devDependencies": {
"date-fns": "2.16.1",
"rollup": "^2.0.2",
"typescript": "^5.0.0"
},
"gitHead": "687eba751bd706e7d704a39a7caa3e0afbfa40aa"
}
4 changes: 4 additions & 0 deletions packages/date-fns-v2/rollup.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import typescript from "typescript";
import { createRollupConfig } from "@date-io/core/dev-utils";

export default createRollupConfig(typescript);
Loading

0 comments on commit 2d41767

Please sign in to comment.