@tibia.sh/tibiawiki-data 3.0.5 → 3.1.0

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.
Files changed (3) hide show
  1. package/README.md +13 -8
  2. package/index.db +0 -0
  3. package/package.json +3 -3
package/README.md CHANGED
@@ -23,9 +23,11 @@ index with it. To ask questions over the data without installing anything, add t
23
23
  | `quest` | 370 |
24
24
  | `spell` | 211 |
25
25
 
26
- The counts are from the `3.0.3` snapshot. The tables come from
27
- [tibiawiki-sql](https://github.com/Galarzaa90/tibiawiki-sql), which generates the file. The server
28
- adds a few more for its own queries. Images are not included, only links to them.
26
+ The counts are from the `3.0.3` snapshot. The tables come from tibia.sh's copy of
27
+ [tibiawiki-sql](https://github.com/tibia-sh/tibiawiki-sql), which generates the file. The server
28
+ adds a few more for its own queries. The copy is based on
29
+ [tibiawiki-sql](https://github.com/Galarzaa90/tibiawiki-sql) by Allan Galarza, the original
30
+ project. Images are not included, only links to them.
29
31
 
30
32
  ## Use
31
33
 
@@ -51,11 +53,12 @@ console.log(db.prepare('select title, hitpoints from creature where name = ?').g
51
53
  The major version is the server's schema version, which is why the first release was `3.0.0`.
52
54
  A server that reads schema 3 depends on `^3`, so npm never installs an index it cannot read.
53
55
  Every release within a major is a newer snapshot. The tables the server adds keep their shape
54
- within a major. The rest come from tibiawiki-sql, and `version` in `database_info` says which
55
- release of it wrote them.
56
+ within a major. The rest come from the generator, and `version` in `database_info` says which
57
+ release of it wrote them. From `3.1.0` that is `9.0.0+tibiash.1`, a release of tibia.sh's copy.
58
+ Earlier releases say `9.0.0`, the upstream release.
56
59
 
57
60
  A snapshot says when it was taken. `generate_time` in the `database_info` table is the moment
58
- the wiki was read, and `version` there is the tibiawiki-sql version that read it:
61
+ the wiki was read, and `version` there is the generator version that read it:
59
62
 
60
63
  ```js
61
64
  db.prepare("select key, value from database_info where key in ('version', 'generate_time')").all();
@@ -93,7 +96,9 @@ pnpm test
93
96
  `index.db` is adapted from TibiaWiki (https://tibia.fandom.com), whose text is
94
97
  licensed [CC BY-SA 3.0 Unported](https://creativecommons.org/licenses/by-sa/3.0/)
95
98
  by TibiaWiki and its contributors, and it is released under the same licence. Tibia
96
- is made by CipSoft, and its game content is copyright CipSoft GmbH. The index is
97
- generated by [tibiawiki-sql](https://github.com/Galarzaa90/tibiawiki-sql).
99
+ is made by CipSoft, and its game content is copyright CipSoft GmbH. From `3.1.0`, the index is
100
+ generated by tibia.sh's copy of [tibiawiki-sql](https://github.com/tibia-sh/tibiawiki-sql), release
101
+ `v9.0.0+tibiash.1`. That copy is based on
102
+ [tibiawiki-sql](https://github.com/Galarzaa90/tibiawiki-sql) by Allan Galarza, the original project.
98
103
 
99
104
  The JavaScript module in `dist/` is MIT licensed. See `LICENSE` for both.
package/index.db CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tibia.sh/tibiawiki-data",
3
- "version": "3.0.5",
3
+ "version": "3.1.0",
4
4
  "description": "The prebuilt TibiaWiki index served by @tibia.sh/tibiawiki-mcp. Its major version is the index schema version.",
5
5
  "type": "module",
6
6
  "license": "(CC-BY-SA-3.0 AND MIT)",
@@ -12,7 +12,7 @@
12
12
  "bugs": {
13
13
  "url": "https://github.com/tibia-sh/tibiawiki-data/issues"
14
14
  },
15
- "packageManager": "pnpm@12.4.1",
15
+ "packageManager": "pnpm@12.6.0",
16
16
  "exports": {
17
17
  ".": {
18
18
  "types": "./dist/index.d.ts",
@@ -39,7 +39,7 @@
39
39
  },
40
40
  "devDependencies": {
41
41
  "@modelcontextprotocol/client": "2.0.0",
42
- "@tibia.sh/tibiawiki-mcp": "^0.3.0",
42
+ "@tibia.sh/tibiawiki-mcp": "0.12.0",
43
43
  "@types/node": "24.13.3",
44
44
  "typescript": "7.0.2"
45
45
  }