File tree Expand file tree Collapse file tree 6 files changed +13
-5
lines changed
packages/graph-schema-utils Expand file tree Collapse file tree 6 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @neo4j/graph-schema-utils " : patch
3+ ---
4+
5+ Fix types export
Original file line number Diff line number Diff line change 33 "version" : " 1.0.0-next.12" ,
44 "description" : " Utilities for Neo4j Graph Schema JSON representation" ,
55 "module" : " ./dist/index.js" ,
6- "types" : " ./dist/index.d.ts" ,
6+ "types" : " ./dist/types/ index.d.ts" ,
77 "exports" : {
88 "." : {
9- "types" : " ./dist/index.d.ts" ,
9+ "types" : " ./dist/types/ index.d.ts" ,
1010 "import" : " ./dist/index.js"
1111 }
1212 },
Original file line number Diff line number Diff line change 1+ export * as json from "./json/index.js" ;
Original file line number Diff line number Diff line change 1- export * from "./types.js" ;
1+ import * as types from "./types.js" ;
22export {
33 toJson ,
44 fromJson ,
55 fromJsonStruct ,
66 toJsonStruct ,
77 VERSION ,
88} from "./extensions.js" ;
9+
10+ export { types } ;
Original file line number Diff line number Diff line change 11export { validateSchema , SchemaValidationError } from "./validation.js" ;
22import * as model from "./model/index.js" ;
3- import * as json from "./formatters/json /index.js" ;
3+ import * as formatters from "./formatters/index.js" ;
44
5- const formatters = { json } ;
65export { model , formatters } ;
Original file line number Diff line number Diff line change 66 "sourceMap" : true ,
77 "outDir" : " dist" ,
88 "declaration" : true ,
9+ "declarationDir" : " dist/types" ,
910 "skipLibCheck" : true ,
1011 "strict" : true ,
1112 "resolveJsonModule" : true
You can’t perform that action at this time.
0 commit comments