Skip to content

Commit 4375d67

Browse files
committed
Fix npm badge 404 in ReadMe
1 parent 99b8ad6 commit 4375d67

2 files changed

Lines changed: 14 additions & 2 deletions

File tree

packages/thorium-badges/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.0.2] - 2026-08-07
9+
10+
### Fixed
11+
12+
- Badge preview image not resolving/publishing on npm — added `repository` field and included `assets` in the published `files`.
13+
814
## [1.0.1] - 2026-08-07
915

1016
### Added

packages/thorium-badges/package.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
{
22
"name": "@edrlab/thorium-badges",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"type": "module",
55
"description": "Web components for embedding \"Add to Thorium Reader\" badges (catalog and publication) on any page.",
6+
"repository": {
7+
"type": "git",
8+
"url": "git+https://github.com/edrlab/thorium-reader-website.git",
9+
"directory": "packages/thorium-badges"
10+
},
611
"main": "dist/index.js",
712
"module": "dist/index.js",
813
"unpkg": "dist/thorium-badges.iife.js",
@@ -15,7 +20,8 @@
1520
}
1621
},
1722
"files": [
18-
"dist"
23+
"dist",
24+
"assets"
1925
],
2026
"scripts": {
2127
"generate": "node scripts/generate-badge-texts.mjs",

0 commit comments

Comments
 (0)