@nomideusz/svelte-search 0.1.0 → 0.1.2
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 +13 -0
- package/LICENSE +21 -0
- package/README.md +2 -0
- package/package.json +20 -32
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.2 — 2026-06-17
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
- Add `homepage` field pointing to the live demo (now shown as Homepage on npm).
|
|
7
|
+
- Add a live-demo link to the README.
|
|
8
|
+
- Ship the MIT `LICENSE` file in the published tarball (previously absent).
|
|
9
|
+
|
|
10
|
+
## 0.1.1 — 2026-04-23
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
- **Repository metadata** — `repository` field now points at the standalone `github.com/nomideusz/svelte-search` repo instead of the monorepo, so the npm package page links to the right place.
|
|
14
|
+
- **CHANGELOG included in tarball** — `CHANGELOG.md` is now part of the published package (0.1.0 shipped without it).
|
|
15
|
+
|
|
3
16
|
## 0.1.0 — 2026-04-23
|
|
4
17
|
|
|
5
18
|
Initial public release.
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Bartosz Dymet
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
A full-text search engine for Svelte 5 apps backed by your own database. Combines FTS5 (SQLite) or `tsvector` (PostgreSQL) with trigram fuzzy matching, geo proximity, synonym expansion, and a pluggable schema adapter. Ships with a Polish locale that handles diacritics, stop words, and locative-case stemming.
|
|
4
4
|
|
|
5
|
+
**[Live demo → svelte-search-eight.vercel.app](https://svelte-search-eight.vercel.app/)**
|
|
6
|
+
|
|
5
7
|
## Install
|
|
6
8
|
|
|
7
9
|
```bash
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nomideusz/svelte-search",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Full-text search engine for Svelte 5 apps — FTS5, trigram fuzzy matching, geo proximity, autocomplete, Polish locale support.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -17,12 +17,19 @@
|
|
|
17
17
|
"default": "./dist/locales/pl.js"
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
|
-
"files": [
|
|
21
|
-
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
|
|
20
|
+
"files": ["dist", "CHANGELOG.md", "!dist/**/*.test.*", "!dist/**/*.spec.*"],
|
|
21
|
+
"scripts": {
|
|
22
|
+
"dev": "vite dev",
|
|
23
|
+
"build": "vite build",
|
|
24
|
+
"package": "svelte-kit sync && svelte-package",
|
|
25
|
+
"prepublishOnly": "npm run package",
|
|
26
|
+
"preview": "vite preview",
|
|
27
|
+
"prepare": "svelte-kit sync || echo ''",
|
|
28
|
+
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
|
29
|
+
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
|
30
|
+
"test": "vitest run",
|
|
31
|
+
"test:watch": "vitest"
|
|
32
|
+
},
|
|
26
33
|
"peerDependencies": {
|
|
27
34
|
"svelte": "^5.0.0"
|
|
28
35
|
},
|
|
@@ -35,32 +42,13 @@
|
|
|
35
42
|
"svelte-check": "^4.3.6",
|
|
36
43
|
"typescript": "^5.9.3",
|
|
37
44
|
"vite": "^7.3.1",
|
|
38
|
-
"vitest": "^4.0.18"
|
|
45
|
+
"vitest": "^4.0.18",
|
|
46
|
+
"marked": "^17.0.3"
|
|
39
47
|
},
|
|
40
|
-
"keywords": [
|
|
41
|
-
"svelte",
|
|
42
|
-
"search",
|
|
43
|
-
"fts5",
|
|
44
|
-
"trigram",
|
|
45
|
-
"fuzzy",
|
|
46
|
-
"geo",
|
|
47
|
-
"autocomplete",
|
|
48
|
-
"polish",
|
|
49
|
-
"sqlite",
|
|
50
|
-
"postgres"
|
|
51
|
-
],
|
|
48
|
+
"keywords": ["svelte", "search", "fts5", "trigram", "fuzzy", "geo", "autocomplete", "polish", "sqlite", "postgres"],
|
|
52
49
|
"repository": {
|
|
53
50
|
"type": "git",
|
|
54
|
-
"url": "https://github.com/nomideusz/
|
|
51
|
+
"url": "https://github.com/nomideusz/svelte-search"
|
|
55
52
|
},
|
|
56
|
-
"
|
|
57
|
-
|
|
58
|
-
"build": "vite build",
|
|
59
|
-
"package": "svelte-kit sync && svelte-package",
|
|
60
|
-
"preview": "vite preview",
|
|
61
|
-
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
|
62
|
-
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
|
63
|
-
"test": "vitest run",
|
|
64
|
-
"test:watch": "vitest"
|
|
65
|
-
}
|
|
66
|
-
}
|
|
53
|
+
"homepage": "https://svelte-search-eight.vercel.app/"
|
|
54
|
+
}
|