@johnmorrisdotca/kyogijo-stadiums 0.50.0 → 0.51.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.
- package/CHANGELOG.md +10 -0
- package/NOTICE.md +11 -0
- package/README.md +1 -0
- package/catalogue.json +1208 -0
- package/dist/catalogue-entry.d.ts +2 -0
- package/dist/catalogue-entry.js +3 -0
- package/dist/catalogue.d.ts +45 -0
- package/dist/catalogue.data.d.ts +2 -0
- package/dist/catalogue.data.js +1208 -0
- package/dist/catalogue.js +74 -0
- package/dist/catalogue.types.d.ts +143 -0
- package/dist/catalogue.types.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +11 -2
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,16 @@ All notable changes to this project are written here. The format follows
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.51.0] - 2026-11-03
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- **The catalogue: every venue the package draws, the ones being built and the ones wanted, in one list (KYOGIJO-STADIUMS-26)** ([the catalogue](./docs/catalogue.md)). Each venue has a kebab-case id (the package's own key where it has one), its names in English and Japanese, its city and country, its sports, its Wikidata item and its status. **Supported** (332): every real venue the package draws, made from its own data, 43 in their buildings (the real stadiums and the NHL's venues), 288 as a field, court, rink, park or floor only, and the Las Vegas Strip Circuit as a circuit (`CIRCUITS`'s id and names, `drawn: "circuit"`). **Working on** (10): the tennis show courts of KYOGIJO-STADIUMS-22. **Wanted** (132 new venues, and 69 venues drawn as a field whose building is wanted): every venue of the NBA, MLB, NFL, CFL and NHL this season is listed with its true status and its clubs (a shared stadium once, with both), then world soccer, cricket, rugby, Gaelic and Australian football, Japan's sumo and budō halls, Olympic stadiums and athletics, college football, baseball around the world, ovals and pools, great indoor halls, the circuits of Formula One's 2026 calendar and more great circuits (each waits for its track's data).
|
|
15
|
+
- **The catalogue as an API: a JSON file and a typed entry.** `catalogue.json` is in the package (`@johnmorrisdotca/kyogijo-stadiums/catalogue.json`) and published with the demo at <https://johnmorrisdotca.github.io/kyogijo-stadiums/catalogue.json>, with a `schemaVersion`, the day its sources were read and the licence of its facts. `@johnmorrisdotca/kyogijo-stadiums/catalogue` exports the same data (`CATALOGUE`, `CATALOGUE_GROUPS`, `CATALOGUE_SPORTS`, `CATALOGUE_COUNTRIES`) with `catalogueById`, `catalogueByStatus`, `catalogueBySport`, `catalogueByGroup`, `catalogueWanted`, `catalogueCoverage` and the types; it draws nothing and imports none of the drawing.
|
|
16
|
+
- **Every fact of a new venue is Wikidata's or a named Wikipedia revision's.** `pnpm catalogue:fetch` keeps the raw answers, dated, in `data-sources/catalogue/` (one request at a time, batches of 50, a User-Agent that names the package): the items, labels, coordinates, countries, capacities and places; the NFL's and the CFL's venues checked against the tables of the leagues' lists, and the circuits against the 2026 calendars of Formula One and MotoGP. `pnpm catalogue` makes `src/catalogue.data.ts`, `catalogue.json` and the docs' tables from them; a fact the sources do not give is left out, and `missing` says why. Every new Japanese name was checked by a reviewer.
|
|
17
|
+
- **The demo's catalogue page** (`catalogue.html`, linked from the home page): the leagues' coverage ("NFL: 2 of 30 drawn in its building"), tabs for Supported, Working on and Wanted, sport and group chips, a search, a world map with a pin on each venue shown, and cards a page at a time with each venue's flag, status, clubs and a link to its drawing. In English and Japanese, light and dark, at a phone's width.
|
|
18
|
+
- Tests: `src/catalogue.test.js` (every supported id is the package's own, every id and item once, every item in the raw answers, the coordinates and capacities the items', the names in both languages or their absence said, the JSON and the entry the same, every league's season complete, the docs' tables made from the data) and `e2e/catalogue.demo.mjs`.
|
|
19
|
+
|
|
10
20
|
## [0.50.0] - 2026-11-03
|
|
11
21
|
|
|
12
22
|
### Added
|
package/NOTICE.md
CHANGED
|
@@ -482,6 +482,17 @@ BC Place, Lumen Field, T-Mobile Park, Tokyo Dome, Korakuen Hall and Koshien Stad
|
|
|
482
482
|
| Olympic Stadium | Q285467 | way/108505523 | Olympic Stadium (Montreal), 1382141337 |
|
|
483
483
|
| Barclays Center | Q807966 | relation/8610205 | Barclays Center, 1380399342 |
|
|
484
484
|
|
|
485
|
+
## The catalogue's sources
|
|
486
|
+
|
|
487
|
+
The catalogue (`catalogue.json`, `src/catalogue.data.ts`, `docs/catalogue.md`) was read on 2026-11-03 (`pnpm catalogue:fetch`; the files are in `data-sources/catalogue/2026-11-03/`). Its venues' items, names in English and Japanese, coordinates, countries, capacities and places are Wikidata's (CC0). Which venues the NFL and the CFL play in this season, and which circuits the 2026 calendars of Formula One and MotoGP race at, were checked against the tables of these English Wikipedia articles (CC BY-SA 4.0), whose linked titles are kept as evidence and whose text is not copied; each new venue's English name is the title of its English article.
|
|
488
|
+
|
|
489
|
+
| English article | Revision |
|
|
490
|
+
| --- | --- |
|
|
491
|
+
| List of current National Football League stadiums | 1382562348 |
|
|
492
|
+
| List of Canadian Football League stadiums | 1383444131 |
|
|
493
|
+
| 2026 Formula One World Championship | 1383447981 |
|
|
494
|
+
| 2026 MotoGP World Championship | 1383460791 |
|
|
495
|
+
|
|
485
496
|
## The context's and the gates' sources
|
|
486
497
|
|
|
487
498
|
Downtown Vancouver's buildings and streets (`VANCOUVER_CENTRE`, `src/osm.context.data.ts`) are OpenStreetMap's, ODbL 1.0, (c) OpenStreetMap contributors, made by `pnpm osm-context` from the same raw answer as the walkable mask (`data-sources/walk/2026-10-22/osm-vancouver.json`): each building's outline simplified to 60 centimetres with the height OpenStreetMap maps (else its levels at 3.2 metres, else 10 metres, which is ours) and each street as a line with a width; no name, id or tag is copied. It is kept in its own file, apart from every CC0 and CC BY-SA file and from the PLATEAU data of Tokyo.
|
package/README.md
CHANGED
|
@@ -212,6 +212,7 @@ console.log(svg.startsWith("<svg"), svg.includes("USA 3, Canada 2"));
|
|
|
212
212
|
- **Forty-three surfaces, to scale**, each from its rulebook or its published distances, and each league's variants (48 of them): football fields, the NHL rink, the NBA court, soccer, baseball, curling, twelve net and racket sports, pools, athletics, skating, field sports, the budō, the MMA cage, rings and mats. [The surfaces](./docs/surfaces.md), [sources](./docs/sources.md).
|
|
213
213
|
- **The score on the surface**: each team's name and logo on its side, the score in the middle, wide or tall, a compact badge for a list, the situation of a game. [Score and layout](./docs/score.md), [the situation](./docs/situation.md).
|
|
214
214
|
- **Every ballpark and ground**: The 30 current MLB parks and 44 that MLB clubs have left, and the 12 home parks of Nippon Professional Baseball with eight other NPB grounds, each with its fence drawn from the distances published for it; 64 soccer grounds at their published sizes; 167 arenas. [Ballparks](./docs/ballparks.md), [grounds](./docs/grounds.md), [arenas](./docs/arenas.md).
|
|
215
|
+
- **A catalogue of venues**: every venue drawn today, the ones being built and the ones wanted (every NBA, MLB, NFL, CFL and NHL venue of the season, world soccer, cricket, rugby, the Olympics, Formula One and more), with ids, names in English and Japanese and Wikidata items, as a [JSON file](https://johnmorrisdotca.github.io/kyogijo-stadiums/catalogue.json) and a typed entry. [The catalogue](./docs/catalogue.md).
|
|
215
216
|
- **Real venues**: arenas and stadiums in the outline of their buildings, districts of several venues on one plan, the crowd in the stands and outside. [Ballparks](./docs/ballparks.md), [venues](./docs/venues.md), [districts](./docs/district.md).
|
|
216
217
|
- **A 3D view** of any surface or venue that turns by mouse, touch or keys, with the roof and the walls to switch and a quality level for every device. [The 3D view](./docs/turn.md), [quality](./docs/quality.md).
|
|
217
218
|
- **Circuits**: a famous race track as OpenStreetMap maps it, the Las Vegas Strip Circuit first, with its turns numbered and its pit building standing in 3D. [Circuits](./docs/circuits.md).
|