File tree Expand file tree Collapse file tree 3 files changed +17
-3
lines changed Expand file tree Collapse file tree 3 files changed +17
-3
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @tidaltheory/lens ' : patch
3
+ ---
4
+
5
+ Make types export more reliable
Original file line number Diff line number Diff line change 12
12
],
13
13
"license" : " ISC" ,
14
14
"author" : " Jeff Nelson (https://tidaltheory.io)" ,
15
- "types" : " dist/types.d.ts" ,
15
+ "exports" : {
16
+ "." : {
17
+ "import" : {
18
+ "types" : " ./src/index.d.ts"
19
+ }
20
+ }
21
+ },
22
+ "types" : " src/index.d.ts" ,
16
23
"bin" : {
17
24
"lens" : " bin/index.js"
18
25
},
19
26
"files" : [
27
+ " bin" ,
20
28
" dist" ,
21
- " bin "
29
+ " src/index.d.ts "
22
30
],
23
31
"scripts" : {
24
32
"_build" : " tsdx build --entry src/cli.ts --target node --format cjs" ,
25
33
"build" : " npm run setup && npm run build:bundle" ,
26
34
"build:bundle" : " esbuild src/cli.ts --bundle --platform=node --target=node16 --external:sharp --outfile=dist/index.js" ,
27
- "build:types" : " tsc src/types.ts --emitDeclarationOnly --declaration --outfile dist/types.d.ts" ,
28
35
"changeset" : " changeset add" ,
29
36
"lint" : " npm run setup && eslint ." ,
30
37
"prepare" : " husky install" ,
Original file line number Diff line number Diff line change
1
+ // eslint-disable-next-line import/extensions
2
+ export * from './types'
You can’t perform that action at this time.
0 commit comments