Skip to content

Commit

Permalink
chore: remove runtime/config from package json
Browse files Browse the repository at this point in the history
  • Loading branch information
bholmesdev committed Mar 11, 2024
1 parent cd5e8d4 commit c1b4678
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
7 changes: 0 additions & 7 deletions packages/db/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@
"types": "./dist/runtime/index.d.ts",
"import": "./dist/runtime/index.js"
},
"./runtime/config": {
"types": "./dist/runtime/config.d.ts",
"import": "./dist/runtime/config.js"
},
"./package.json": "./package.json"
},
"typesVersions": {
Expand All @@ -36,9 +32,6 @@
],
"runtime": [
"./dist/runtime/index.d.ts"
],
"runtime/config": [
"./dist/runtime/config.d.ts"
]
}
},
Expand Down
3 changes: 2 additions & 1 deletion packages/db/src/core/consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ export const PACKAGE_NAME = JSON.parse(
).name;

export const RUNTIME_IMPORT = JSON.stringify(`${PACKAGE_NAME}/runtime`);
export const RUNTIME_CONFIG_IMPORT = JSON.stringify(`${PACKAGE_NAME}/runtime/config`);
// Use `dist` path. Not exposed as a public API.
export const RUNTIME_CONFIG_IMPORT = JSON.stringify(`${PACKAGE_NAME}/dist/runtime/config.js`);

export const DB_TYPES_FILE = 'db-types.d.ts';

Expand Down

0 comments on commit c1b4678

Please sign in to comment.