Skip to content

Commit e23fc24

Browse files
committed
refactor: πŸ„πŸ½ move Map component to separate package
BREAKING CHANGE:
1 parent 47a28f5 commit e23fc24

File tree

9 files changed

+281
-376
lines changed

9 files changed

+281
-376
lines changed

β€ŽREADME.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Library of TypeScript friendly SvelteKit components for adding functionality to
2020
To install the package run
2121

2222
```shell
23-
pnpm add -D @rodneylab/sveltekit-components
23+
pnpm add -D @rodneylab/sveltekit-components @rodneylab/sveltekit-map-component
2424
pnpm add --save-peer leaflet
2525
```
2626

@@ -213,7 +213,7 @@ Add the component to a `.svelte` file in your project:
213213

214214
```svelte
215215
<script>
216-
import { Map } from '@rodneylab/sveltekit-components';
216+
import { Map } from '@rodneylab/sveltekit-map-component';
217217
const latitude = 51.50162;
218218
const longitude = -0.14115;
219219
const zoom = 16;

β€Žpackage.json

+13-17
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"dev": "vite dev --https",
1717
"build": "vite build",
1818
"preview": "vite preview",
19-
"check": "svelte-check --tsconfig ./tsconfig.json --fail-on-hints --ignore package",
19+
"check": "svelte-check --fail-on-hints --ignore package",
2020
"check:watch": "svelte-check --tsconfig ./tsconfig.json --watch",
2121
"format": "prettier --write --plugin-search-dir=. .",
2222
"lint": "prettier --ignore-path .gitignore --check --plugin-search-dir=. . && eslint --ignore-path .gitignore .",
@@ -25,27 +25,26 @@
2525
"svelte-check": "svelte-check --fail-on-hints --ignore package"
2626
},
2727
"devDependencies": {
28-
"@commitlint/cli": "^17.2.0",
29-
"@commitlint/config-conventional": "^17.2.0",
28+
"@commitlint/cli": "^17.3.0",
29+
"@commitlint/config-conventional": "^17.3.0",
3030
"@sveltejs/adapter-static": "^1.0.0-next.48",
3131
"@sveltejs/kit": "next",
32-
"@sveltejs/package": "1.0.0-next.5",
32+
"@sveltejs/package": "1.0.0-next.6",
3333
"@types/leaflet": "^1.9.0",
34-
"@types/node": "^18.11.9",
35-
"@typescript-eslint/eslint-plugin": "^5.43.0",
36-
"@typescript-eslint/parser": "^5.43.0",
34+
"@types/node": "^18.11.10",
35+
"@typescript-eslint/eslint-plugin": "^5.45.0",
36+
"@typescript-eslint/parser": "^5.45.0",
3737
"@vitejs/plugin-basic-ssl": "^0.1.2",
38-
"eslint": "^8.27.0",
38+
"eslint": "^8.28.0",
3939
"eslint-config-prettier": "^8.5.0",
4040
"eslint-plugin-svelte3": "^4.0.0",
4141
"husky": "^8.0.2",
42-
"leaflet": "^1.9.2",
43-
"prettier": "^2.7.1",
44-
"prettier-plugin-svelte": "^2.8.0",
42+
"prettier": "^2.8.0",
43+
"prettier-plugin-svelte": "^2.8.1",
4544
"svelte": "^3.53.1",
46-
"svelte-check": "^2.9.2",
45+
"svelte-check": "^2.10.0",
4746
"svelte-preprocess": "^4.10.7",
48-
"svelte2tsx": "^0.5.20",
47+
"svelte2tsx": "^0.5.21",
4948
"tslib": "^2.4.1",
5049
"typescript": "^4.9.3",
5150
"vite": "^3.2.4"
@@ -57,8 +56,5 @@
5756
"bugs": {
5857
"url": "https://github.com/rodneylab/sveltekit-components/issues"
5958
},
60-
"type": "module",
61-
"peerDependencies": {
62-
"leaflet": "^1.8.0"
63-
}
59+
"type": "module"
6460
}

0 commit comments

Comments
Β (0)