Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .template/bundle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "Complete collection of helpers4 utilities - all categories in one convenient package.",
"author": "baxyz <baxy@etik.com>",
"license": "LGPL-3.0",
"homepage": "https://helpers4.dev/typescript/",
"repository": {
"type": "git",
"url": "git+https://github.com/helpers4/typescript.git"
Expand All @@ -24,4 +25,4 @@
"README.md",
"meta/"
]
}
}
3 changes: 2 additions & 1 deletion .template/category/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "A set of helpers in TS/JS, compatible with tree-shaking, for {{category}}.",
"author": "baxyz <baxy@etik.com>",
"license": "LGPL-3.0",
"homepage": "https://helpers4.dev/typescript/categories/{{category}}/",
"repository": {
"type": "git",
"url": "git+https://github.com/helpers4/typescript.git"
Expand Down Expand Up @@ -39,4 +40,4 @@
"engines": {
"node": ">=18.0.0"
}
}
}
1 change: 1 addition & 0 deletions scripts/build/helpers/prepare-category-package-json.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export async function prepareCategoryPackageJson(
version,
name: (templatePackage.name as string)?.replace(/{{category}}/g, category),
description: (templatePackage.description as string)?.replace(/{{category}}/g, category),
homepage: (templatePackage.homepage as string)?.replace(/{{category}}/g, category),
keywords: (templatePackage.keywords as string[])?.flatMap((keyword: string) =>
keyword === "{{category}}" ? category :
keyword === "{{methods}}" ? methods :
Expand Down
Loading