Skip to content

Commit 0cc9844

Browse files
committed
chore: add typesync step to preinstall script
Typesync tool has been added to the "preinstall" script in package.json. This is to ensure that types packages are synced with the installed dependencies before installation.
1 parent 956f021 commit 0cc9844

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"lingui:extract": "lingui extract --clean",
1313
"lingui:compile": "lingui compile",
1414
"format": "prettier --log-level error --write .",
15-
"test": "jest"
15+
"test": "jest",
16+
"preinstall": "pnpx typesync || :"
1617
},
1718
"dependencies": {
1819
"@headlessui/react": "1.7.16",

0 commit comments

Comments
 (0)