Skip to content

Commit b55dc18

Browse files
committed
fix: add @strapi/typescript-utils to peerDependencies to prevent it from being bundled
1 parent 432b0c1 commit b55dc18

File tree

2 files changed

+17
-28
lines changed

2 files changed

+17
-28
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
"@strapi/design-system": "^2.0.0-rc.14",
8484
"@strapi/icons": "^2.0.0-rc.14",
8585
"@strapi/strapi": "^5.0.0",
86+
"@strapi/typescript-utils": "^5.0.0",
8687
"@strapi/utils": "^5.0.0",
8788
"react": "^17.0.0 || ^18.0.0",
8889
"react-dom": "^17.0.0 || ^18.0.0",
@@ -95,6 +96,7 @@
9596
"@strapi/icons": "^2.0.0-rc.14",
9697
"@strapi/sdk-plugin": "^5.0.0",
9798
"@strapi/strapi": "^5.0.0",
99+
"@strapi/typescript-utils": "^5.0.0",
98100
"@strapi/utils": "^5.0.0",
99101
"babel-eslint": "9.0.0",
100102
"cypress": "^13.9.0",

yarn.lock

Lines changed: 15 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -2895,6 +2895,18 @@
28952895
prettier "3.3.3"
28962896
typescript "5.3.2"
28972897

2898+
"@strapi/typescript-utils@^5.16.1":
2899+
version "5.16.1"
2900+
resolved "https://registry.yarnpkg.com/@strapi/typescript-utils/-/typescript-utils-5.16.1.tgz#df0fb6601a3e12914500d8264129f68cac9c02a0"
2901+
integrity sha512-2I1m2rbXCZzXZARzFSPvpNIGd4r+sBAanCZZAVfP1SSzZg9LbX3+h9HyPfx3WYQN0YOhgmtk79MZLIi9Pgj36g==
2902+
dependencies:
2903+
chalk "4.1.2"
2904+
cli-table3 "0.6.5"
2905+
fs-extra "11.2.0"
2906+
lodash "4.17.21"
2907+
prettier "3.3.3"
2908+
typescript "5.4.4"
2909+
28982910
28992911
version "2.0.0-rc.14"
29002912
resolved "https://registry.yarnpkg.com/@strapi/ui-primitives/-/ui-primitives-2.0.0-rc.14.tgz#b09a93ef9a69971886f87cbed076d735af6f4909"
@@ -12609,16 +12621,7 @@ string-length@^4.0.1:
1260912621
char-regex "^1.0.2"
1261012622
strip-ansi "^6.0.0"
1261112623

12612-
"string-width-cjs@npm:string-width@^4.2.0":
12613-
version "4.2.3"
12614-
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
12615-
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
12616-
dependencies:
12617-
emoji-regex "^8.0.0"
12618-
is-fullwidth-code-point "^3.0.0"
12619-
strip-ansi "^6.0.1"
12620-
12621-
string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.2, string-width@^4.2.3:
12624+
"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.2, string-width@^4.2.3:
1262212625
version "4.2.3"
1262312626
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
1262412627
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
@@ -12727,14 +12730,7 @@ string_decoder@~1.1.1:
1272712730
dependencies:
1272812731
safe-buffer "~5.1.0"
1272912732

12730-
"strip-ansi-cjs@npm:strip-ansi@^6.0.1":
12731-
version "6.0.1"
12732-
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
12733-
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
12734-
dependencies:
12735-
ansi-regex "^5.0.1"
12736-
12737-
strip-ansi@^6.0.0, strip-ansi@^6.0.1:
12733+
"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1:
1273812734
version "6.0.1"
1273912735
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
1274012736
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
@@ -13806,7 +13802,7 @@ wordwrap@^1.0.0:
1380613802
resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb"
1380713803
integrity sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==
1380813804

13809-
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0":
13805+
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0:
1381013806
version "7.0.0"
1381113807
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
1381213808
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
@@ -13824,15 +13820,6 @@ wrap-ansi@^6.0.1, wrap-ansi@^6.2.0:
1382413820
string-width "^4.1.0"
1382513821
strip-ansi "^6.0.0"
1382613822

13827-
wrap-ansi@^7.0.0:
13828-
version "7.0.0"
13829-
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
13830-
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
13831-
dependencies:
13832-
ansi-styles "^4.0.0"
13833-
string-width "^4.1.0"
13834-
strip-ansi "^6.0.0"
13835-
1383613823
wrap-ansi@^8.1.0:
1383713824
version "8.1.0"
1383813825
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214"

0 commit comments

Comments
 (0)