From 0319900ab0952bb71575c69db0b80bbd222eaf2c Mon Sep 17 00:00:00 2001 From: Victor He Date: Tue, 12 Mar 2024 20:37:53 +1100 Subject: [PATCH] fix: adds tslib as peerDependencies to hijri and jalaali packages to resolve tslib not found error (#643) --- packages/hijri/package.json | 3 ++- packages/jalaali/package.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/hijri/package.json b/packages/hijri/package.json index 17d77f8..17684cb 100644 --- a/packages/hijri/package.json +++ b/packages/hijri/package.json @@ -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": { diff --git a/packages/jalaali/package.json b/packages/jalaali/package.json index f382938..1582e22 100644 --- a/packages/jalaali/package.json +++ b/packages/jalaali/package.json @@ -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": {