Skip to content

Commit fd99a6c

Browse files
authored
fix(sdk): add typesVersions for support of older moduleResolution (#515)
1 parent 9997250 commit fd99a6c

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.changeset/lovely-jobs-end.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"lingo.dev": patch
3+
"@lingo.dev/_sdk": patch
4+
---
5+
6+
add typesVersions for support of older `moduleResolution`

packages/cli/package.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,19 @@
2525
"require": "./build/spec.cjs"
2626
}
2727
},
28+
"typesVersions": {
29+
"*": {
30+
"sdk": [
31+
"./build/sdk.d.ts"
32+
],
33+
"cli": [
34+
"./build/cli.d.ts"
35+
],
36+
"spec": [
37+
"./build/spec.d.ts"
38+
]
39+
}
40+
},
2841
"bin": {
2942
"lingo.dev": "./bin/cli.mjs"
3043
},

0 commit comments

Comments
 (0)