smap-leaflet 2.6.0 → 2.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,15 @@
2
2
 
3
3
  本文件记录每个版本的重要变更,格式参考 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.1.0/),版本号遵循[语义化版本](https://semver.org/lang/zh-CN/)。
4
4
 
5
+ ## [2.6.1] - 2026-11-12
6
+
7
+ 没有代码变更。
8
+
9
+ ### 变更
10
+
11
+ - 改由 GitHub Actions 发布,包带有 npm 的来源证明(provenance)。
12
+ - README 增加在线示例的链接。
13
+
5
14
  ## [2.6.0] - 2026-11-11
6
15
 
7
16
  首个发布到公共 npm 的版本。此前的 2.x 以 `@attach/leaflet-smap` 的名字发布在内部仓库。
package/README.md CHANGED
@@ -5,12 +5,18 @@
5
5
  </p>
6
6
 
7
7
  <p align="center">
8
- <img src="https://img.shields.io/badge/version-2.0.0-blue" alt="version" />
8
+ <a href="https://www.npmjs.com/package/smap-leaflet"><img src="https://img.shields.io/npm/v/smap-leaflet" alt="npm" /></a>
9
9
  <img src="https://img.shields.io/badge/leaflet-%3E%3D1.8.0-green" alt="leaflet" />
10
10
  <img src="https://img.shields.io/badge/typescript-5-blue" alt="typescript" />
11
11
  <img src="https://img.shields.io/badge/build-vite%205-purple" alt="vite" />
12
12
  </p>
13
13
 
14
+ <p align="center">
15
+ <a href="https://robeshell.github.io/leaflet-smap/"><strong>在线示例</strong></a> ·
16
+ <a href="https://github.com/robeshell/leaflet-smap">GitHub</a> ·
17
+ <a href="https://github.com/robeshell/leaflet-smap/blob/main/packages/core/CHANGELOG.md">更新日志</a>
18
+ </p>
19
+
14
20
  ---
15
21
 
16
22
  ## 特性
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "smap-leaflet",
3
- "version": "2.6.0",
3
+ "version": "2.6.1",
4
4
  "description": "基于 Leaflet 的地图库:国内底图、坐标纠偏、测量、绘制与编辑、点聚合、天地图服务",
5
5
  "type": "module",
6
6
  "main": "dist/smap-leaflet.cjs",