coh-content-db-homecoming 2.0.0-rc.3 → 2.0.0-rc.5

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.
@@ -44,6 +44,17 @@ jobs:
44
44
  env:
45
45
  NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
46
46
 
47
+ - name: Prepare Pages Artifact
48
+ run: |
49
+ mkdir -p pages
50
+ cp -r src/main/resources/* pages/
51
+ cp dist/bundle.json pages/
52
+
53
+ - name: Upload Pages Artifact
54
+ uses: actions/upload-pages-artifact@v3
55
+ with:
56
+ path: pages/
57
+
47
58
  - name: Create Release
48
59
  uses: softprops/action-gh-release@v2
49
60
  with:
@@ -65,17 +76,6 @@ jobs:
65
76
  url: ${{ steps.deployment.outputs.page_url }}
66
77
 
67
78
  steps:
68
- - name: Prepare Pages Artifact
69
- run: |
70
- mkdir -p pages
71
- cp -r src/main/resources/* pages/
72
- cp dist/bundle.json pages/
73
-
74
- - name: Upload Pages Artifact
75
- uses: actions/upload-pages-artifact@v3
76
- with:
77
- path: pages/
78
-
79
79
  - name: Deploy to GitHub Pages
80
80
  id: deployment
81
81
  uses: actions/deploy-pages@v4
package/CHANGELOG.md ADDED
@@ -0,0 +1,24 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [2.0.0] - 2025-03-12
9
+
10
+ ### Added
11
+
12
+ - Mission and Contact data.
13
+ - Bundle data is now available as a JSON export.
14
+ - CHANGELOG.md
15
+ - Added GitHub Actions for continuous integration (CI).
16
+ - Included eslint for linting.
17
+ - Custom lint rules to support data quality.
18
+ - Added jest for unit testing.
19
+
20
+ ### Changed
21
+
22
+ - Updated to [coh-content-db:2.0.0](https://github.com/n15g/coh-content-db) data model.
23
+ - Changed license from GNU to [The Unlicense](https://unlicense.org/).
24
+ - Switched the build system from Webpack to Rollup.
package/README.md CHANGED
@@ -16,7 +16,8 @@ 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(HOMECOMING)
19
+ const database = new CohContentDatabase()
20
+ database.load(HOMECOMING)
20
21
  ```
21
22
 
22
23
  # Development
@@ -0,0 +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.5"}