@bscotch/gamemaker-releases 0.1.0 → 0.2.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.
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=feeds.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"feeds.test.d.ts","sourceRoot":"","sources":["../src/feeds.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,20 @@
1
+ import { pathy } from '@bscotch/pathy';
2
+ import { expect } from 'chai';
3
+ import { listReleases, listReleasesWithNotes } from './feeds.js';
4
+ import { rawReleaseNotesCacheSchema } from './feeds.types.js';
5
+ const notesCache = pathy('release-notes-cache.json').withValidator(rawReleaseNotesCacheSchema);
6
+ describe('Release Feeds', function () {
7
+ it('can create a centralized GameMaker Releases database', async function () {
8
+ const releases = await listReleases();
9
+ const withNotes = await listReleasesWithNotes(releases, notesCache);
10
+ expect(withNotes.length).to.be.greaterThan(0);
11
+ expect(withNotes.every((r) => r.channel)).to.exist;
12
+ for (const type of ['ide', 'runtime']) {
13
+ expect(withNotes.every((r) => r[type])).to.exist;
14
+ expect(withNotes.every((r) => r[type].version)).to.exist;
15
+ expect(withNotes.every((r) => r[type].notes)).to.exist;
16
+ expect(withNotes.every((r) => r[type].notes.groups)).to.exist;
17
+ }
18
+ });
19
+ });
20
+ //# sourceMappingURL=feeds.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"feeds.test.js","sourceRoot":"","sources":["../src/feeds.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,YAAY,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AACjE,OAAO,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAC;AAE9D,MAAM,UAAU,GAAG,KAAK,CAAC,0BAA0B,CAAC,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
  {
2
2
  "name": "@bscotch/gamemaker-releases",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Utility for combining GameMaker release data into a single feed.",
5
5
  "keywords": [
6
6
  "gamemaker",
@@ -16,6 +16,7 @@
16
16
  "rss",
17
17
  "feed"
18
18
  ],
19
+ "homepage": "https://github.com/bscotch/gamemaker-info/blob/develop/packages/releases/README.md",
19
20
  "repository": {
20
21
  "type": "git",
21
22
  "url": "https://github.com/bscotch/gamemaker-info.git",
@@ -65,4 +66,4 @@
65
66
  "publishConfig": {
66
67
  "access": "public"
67
68
  }
68
- }
69
+ }