Skip to content

Commit

Permalink
fix: adds tslib as peerDependencies to hijri and jalaali packages to …
Browse files Browse the repository at this point in the history
…resolve tslib not found error (#643)
  • Loading branch information
HeVictor authored Mar 12, 2024
1 parent 8d43c2f commit 0319900
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/hijri/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"module": "build/index.esm.js",
"typings": "build/index.d.ts",
"peerDependencies": {
"moment-hijri": "^2.1.2"
"moment-hijri": "^2.1.2",
"tslib": "^2.5.0"
},
"peerDependenciesMeta": {
"moment-hijri": {
Expand Down
3 changes: 2 additions & 1 deletion packages/jalaali/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"module": "build/index.esm.js",
"typings": "build/index.d.ts",
"peerDependencies": {
"moment-jalaali": "^0.7.4 || ^0.8.0 || ^0.9.0"
"moment-jalaali": "^0.7.4 || ^0.8.0 || ^0.9.0",
"tslib": "^2.5.0"
},
"peerDependenciesMeta": {
"moment-jalaali": {
Expand Down

0 comments on commit 0319900

Please sign in to comment.