diff --git a/.gitignore b/.gitignore
index 9e4e2d6..51e9c6d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,8 @@ example/gdal2tiles.py
tmp/
*.log
*.tgz
+.DS_Store
+package-lock.json
+pnpm-lock.yaml
+yarn.lock
+
diff --git a/.npmrc b/.npmrc
index 43c97e7..97b895e 100644
--- a/.npmrc
+++ b/.npmrc
@@ -1 +1 @@
-package-lock=false
+ignore-scripts=true
diff --git a/CHANGELOG.md b/CHANGELOG.md
index ab967dd..2efb690 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,52 +1,48 @@
-## 1.0.6 (2023-09-25)
+# 2.0.0-1 (2025-09-29)
-* chore: bump dependencies ([1fff169](https://github.com/commenthol/leaflet-rastercoords/commit/1fff169))
+- feat!: upgrade to leaflet@2 (#db9e5b2)
+- chore: deprecate bower and component.json (#c165c04)
+- chore: npm lock (#04a807f)
-## 1.0.5 (2022-11-02)
+# 1.0.6 (2023-09-25)
-* FIX: setting the max boundaries of map is optional now ([fd57cb6](https://github.com/commenthol/leaflet-rastercoords/commit/fd57cb6))
+- chore: bump dependencies (#1fff169)
+# 1.0.5 (2022-11-02)
-## 1.0.4 (2021-11-03)
+- FIX: setting the max boundaries of map is optional now (#fd57cb6)
-* add bounds to docs ([ed0a051](https://github.com/commenthol/leaflet-rastercoords/commit/ed0a051))
-* add method to get bounds ([6543678](https://github.com/commenthol/leaflet-rastercoords/commit/6543678))
-* remove trailing comma ([1f4ac11](https://github.com/commenthol/leaflet-rastercoords/commit/1f4ac11))
-* fix: linter ([bdee88f](https://github.com/commenthol/leaflet-rastercoords/commit/bdee88f))
-* chore: bump dependencies ([18f26ff](https://github.com/commenthol/leaflet-rastercoords/commit/18f26ff))
-* chore: update example with circles ([618cae4](https://github.com/commenthol/leaflet-rastercoords/commit/618cae4))
-* chore: update gh-pages ([1bd7b1c](https://github.com/commenthol/leaflet-rastercoords/commit/1bd7b1c))
-* chore(example): fix unpkg version and featureGroup ([adcc57f](https://github.com/commenthol/leaflet-rastercoords/commit/adcc57f))
+# 1.0.4 (2021-11-03)
+- fix: linter (#bdee88f)
+- chore: bump dependencies (#18f26ff)
+- remove trailing comma (#1f4ac11)
+- add bounds to docs (#ed0a051)
+- add method to get bounds (#6543678)
+- chore(example): fix unpkg version and featureGroup (#adcc57f)
+- chore: update gh-pages (#1bd7b1c)
+- chore: update example with circles (#618cae4)
+# 1.0.3 (2018-08-14)
-## 1.0.3 (2018-08-14)
-* add semicolon at end for bower ([cbb8bd9](https://github.com/commenthol/leaflet-rastercoords/commit/cbb8bd9))
-* version ([fb9295e](https://github.com/commenthol/leaflet-rastercoords/commit/fb9295e))
+# 1.0.3 (2018-08-14)
+- add semicolon at end for bower (#cbb8bd9)
+# 1.0.2 (2017-02-07)
-## 1.0.2 (2017-02-07)
+- fix documentation (#7d16aaa)
-* fix documentation ([7d16aaa](https://github.com/commenthol/leaflet-rastercoords/commit/7d16aaa))
+# 1.0.1 (2016-10-26)
+- update .json files (#57d22b1)
+- using cdn (#3eb73fc)
+- fix usage with browserify/webpack (#412a767)
+- update link (#01a4a4c)
+- fix badge (#7cd1d4a)
+# 1.0.0 (2016-10-22)
-## 1.0.1 (2016-10-26)
-
-* fix badge ([7cd1d4a](https://github.com/commenthol/leaflet-rastercoords/commit/7cd1d4a))
-* fix usage with browserify/webpack ([412a767](https://github.com/commenthol/leaflet-rastercoords/commit/412a767))
-* update .json files ([57d22b1](https://github.com/commenthol/leaflet-rastercoords/commit/57d22b1))
-* update link ([01a4a4c](https://github.com/commenthol/leaflet-rastercoords/commit/01a4a4c))
-* using cdn ([3eb73fc](https://github.com/commenthol/leaflet-rastercoords/commit/3eb73fc))
-
-
-
-## 1.0.0 (2016-10-22)
-
-* Initial commit ([f8d05db](https://github.com/commenthol/leaflet-rastercoords/commit/f8d05db))
-* packaged ([d9f2ddf](https://github.com/commenthol/leaflet-rastercoords/commit/d9f2ddf))
-
-
+- Initial commit (#f8d05db)
diff --git a/bower.json b/bower.json
deleted file mode 100644
index 39d80d7..0000000
--- a/bower.json
+++ /dev/null
@@ -1,39 +0,0 @@
-{
- "name": "leaflet-rastercoords",
- "version": "1.0.4",
- "description": "Leaflet plugin for plain image map projection to display large images using tiles generated with gdal2tiles-leaflet",
- "keywords": [
- "Leaflet",
- "raster",
- "coordinates"
- ],
- "homepage": "https://commenthol.github.io/leaflet-rastercoords",
- "license": "MIT",
- "authors": [
- "commenthol "
- ],
- "main": "rastercoords.js",
- "repository": {
- "type": "git",
- "url": "git://github.com/commenthol/leaflet-rastercoords.git"
- },
- "moduleType": [
- "amd",
- "node",
- "globals"
- ],
- "ignore": [
- "**/.*",
- "node_modules",
- "bower_components",
- "example",
- "build",
- "assets",
- "tmp",
- "*.tgz",
- "*.log"
- ],
- "dependencies": {
- "leaflet": "^1.3.3"
- }
-}
diff --git a/component.json b/component.json
deleted file mode 100644
index d07ecaa..0000000
--- a/component.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "name": "leaflet-rastercoords",
- "version": "1.0.4",
- "description": "Leaflet plugin for plain image map projection to display large images using tiles generated with gdal2tiles-leaflet",
- "license": "MIT",
- "main": "rastercoords.js",
- "keywords": [
- "Leaflet",
- "raster",
- "coordinates"
- ],
- "repo": "commenthol/leaflet-rastercoords",
- "scripts": [
- "rastercoords.js"
- ],
- "dependencies": {
- "Leaflet/Leaflet": "master"
- }
-}
diff --git a/example/index.html b/example/index.html
index a763591..882cd23 100644
--- a/example/index.html
+++ b/example/index.html
@@ -1,10 +1,10 @@
- example for leaflet-rastercoords
+ Example for leaflet-rastercoords (leaflet@2)
-
+