diff --git a/packages/data-model/package.json b/packages/data-model/package.json index ea7ff2d..2d0645f 100644 --- a/packages/data-model/package.json +++ b/packages/data-model/package.json @@ -3,7 +3,7 @@ "version": "0.3.0", "description": "Data model for Lyric", "main": "dist/index.js", - "typings": "dist/index.d.ts", + "types": "dist/index.d.ts", "type": "module", "scripts": { "\n===================== Build =================": "", @@ -24,8 +24,8 @@ "dist/" ], "exports": { - ".": "./index.js", - "./models": "./src/models/index.js" + ".": "./dist/index.js", + "./models": "./dist/src/models/index.js" }, "license": "AGPL-3.0-or-later", "repository": { diff --git a/packages/data-provider/index.ts b/packages/data-provider/index.ts index 5426a00..369f049 100644 --- a/packages/data-provider/index.ts +++ b/packages/data-provider/index.ts @@ -2,7 +2,7 @@ export { type AppConfig } from './src/config/config.js'; export { default as provider } from './src/core/provider.js'; export { errorHandler } from './src/middleware/errorHandler.js'; -export { migrate } from '@overture-stack/lyric-data-model'; +export { type DbConfig, migrate } from '@overture-stack/lyric-data-model'; // routes export { default as dictionaryRouters } from './src/routers/dictionaryRouter.js'; diff --git a/packages/data-provider/package.json b/packages/data-provider/package.json index 3559d0a..82f916d 100644 --- a/packages/data-provider/package.json +++ b/packages/data-provider/package.json @@ -3,7 +3,7 @@ "version": "0.3.0", "description": "Data Submission system", "main": "dist/index.js", - "typings": "dist/index.d.ts", + "types": "dist/index.d.ts", "engines": { "node": ">=20.0.0" },