mirror of
https://github.com/lobehub/lobehub
synced 2026-04-21 09:37:28 +00:00
🐛 fix(model-bank): add repository metadata for provenance (#14018)
This commit is contained in:
parent
1ffd01a9eb
commit
8119789849
1 changed files with 5 additions and 0 deletions
5
.github/workflows/release-model-bank.yml
vendored
5
.github/workflows/release-model-bank.yml
vendored
|
|
@ -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];
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue