coh-content-db-homecoming 2.0.0-rc.6 → 2.0.0-rc.7
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 +2 -1
- package/README.md +12 -2
- package/dist/bundle.head.json +1 -1
- package/dist/bundle.json +1 -1
- package/dist/coh-content-db-homecoming.js +46 -1
- package/dist/coh-content-db-homecoming.js.map +1 -1
- package/dist/coh-content-db-homecoming.mjs +46 -1
- package/dist/coh-content-db-homecoming.mjs.map +1 -1
- package/package.json +2 -2
- package/src/main/resources/images/badges/event/cheers.png +0 -0
- package/src/main/resources/images/badges/event/mafioso.png +0 -0
- package/src/main/resources/images/badges/event/skull-killer.png +0 -0
- package/src/main/ts/badge/event/_event-badges.ts +6 -0
- package/src/main/ts/badge/event/cheers.ts +15 -0
- package/src/main/ts/badge/event/mafioso.ts +15 -0
- package/src/main/ts/badge/event/skull-killer.ts +15 -0
- package/src/test/ts/badge-fields.test.ts +1 -2
- package/src/test/ts/badge-markdown-fields.test.ts +1 -2
- package/src/test/ts/badge-requirements.test.ts +1 -2
- package/src/test/ts/homecoming.test.ts +2 -4
- package/src/test/ts/link-tests.test.ts +1 -2
package/CHANGELOG.md
CHANGED
|
@@ -5,10 +5,11 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
-
## [2.0.0-rc.
|
|
8
|
+
## [2.0.0-rc.7] - 2025-04-19
|
|
9
9
|
|
|
10
10
|
### Added
|
|
11
11
|
|
|
12
|
+
- [#176](https://github.com/n15g/coh-content-db-homecoming/pull/176) - 2025 Anniversary badges
|
|
12
13
|
- Mission and Contact data.
|
|
13
14
|
- Bundle data is now available as a JSON export.
|
|
14
15
|
- CHANGELOG.md
|
package/README.md
CHANGED
|
@@ -16,8 +16,18 @@ Initialize a database with the homecoming data pack:
|
|
|
16
16
|
import { CohContentDatabase } from 'coh-content-db'
|
|
17
17
|
import { HOMECOMING } from 'coh-content-db-homecoming'
|
|
18
18
|
|
|
19
|
-
const database = new CohContentDatabase()
|
|
20
|
-
|
|
19
|
+
const database = new CohContentDatabase(HOMECOMING)
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
or from the published JSON:
|
|
23
|
+
|
|
24
|
+
```typescript
|
|
25
|
+
import { BundleData, CohContentDatabase } from 'coh-content-db'
|
|
26
|
+
|
|
27
|
+
const response = await fetch('https://n15g.github.io/coh-content-db-homecoming/bundle.json')
|
|
28
|
+
const bundle = await response.json() as BundleData
|
|
29
|
+
|
|
30
|
+
const database = new CohContentDatabase(bundle)
|
|
21
31
|
```
|
|
22
32
|
|
|
23
33
|
# Development
|
package/dist/bundle.head.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"Homecoming","description":"Content data for the CoH: Homecoming server.","repositoryUrl":"https://github.com/n15g/coh-content-db-homecoming","changelogUrl":"https://github.com/n15g/coh-content-db-homecoming/blob/master/CHANGELOG.md","links":[{"title":"Homecoming Forums","href":"https://forums.homecomingservers.com/"}],"version":"2.0.0-rc.
|
|
1
|
+
{"name":"Homecoming","description":"Content data for the CoH: Homecoming server.","repositoryUrl":"https://github.com/n15g/coh-content-db-homecoming","changelogUrl":"https://github.com/n15g/coh-content-db-homecoming/blob/master/CHANGELOG.md","links":[{"title":"Homecoming Forums","href":"https://forums.homecomingservers.com/"}],"version":"2.0.0-rc.7"}
|