🐛 fix(model-bank): add repository metadata for provenance (#14018)

This commit is contained in:
Innei 2026-04-21 15:59:55 +08:00 committed by GitHub
parent 1ffd01a9eb
commit 8119789849
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -82,6 +82,11 @@ jobs:
packageJson.main = './dist/index.mjs'; packageJson.main = './dist/index.mjs';
packageJson.types = './dist/index.d.mts'; packageJson.types = './dist/index.d.mts';
packageJson.files = ['dist']; packageJson.files = ['dist'];
packageJson.repository = {
type: 'git',
url: 'https://github.com/lobehub/lobehub',
directory: 'packages/model-bank',
};
packageJson.exports = Object.fromEntries( packageJson.exports = Object.fromEntries(
Object.entries(packageJson.exports).map(([key, value]) => { Object.entries(packageJson.exports).map(([key, value]) => {
if (typeof value !== 'string') return [key, value]; if (typeof value !== 'string') return [key, value];