@mark1russell7/guidebook-preparedness 0.7.18 → 0.7.19

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package",
3
3
  "name": "@mark1russell7/guidebook-preparedness",
4
- "version": "0.7.18",
4
+ "version": "0.7.19",
5
5
  "description": "The preparedness content of the guidebook: cited sources, the steps and marked gaps of 12 cases and 6 cuts, 40 topics in 12 areas, and the catalog of offline bundles.",
6
6
  "keywords": [
7
7
  "guidebook",
@@ -55,10 +55,10 @@
55
55
  "@mark1russell7/ste-lint": "^0.4.0"
56
56
  },
57
57
  "dependencies": {
58
- "@mark1russell7/guidebook": "0.1.1",
59
- "@mark1russell7/guidebook-library": "0.2.0",
60
- "@mark1russell7/guidebook-plans": "0.3.0",
61
- "@mark1russell7/guidebook-topics": "0.1.1"
58
+ "@mark1russell7/guidebook": "0.2.0",
59
+ "@mark1russell7/guidebook-library": "0.2.1",
60
+ "@mark1russell7/guidebook-plans": "0.3.1",
61
+ "@mark1russell7/guidebook-topics": "0.1.2"
62
62
  },
63
63
  "scripts": {
64
64
  "build": "tsdown",
@@ -1,9 +1,10 @@
1
1
  // The offline bundles of the preparedness content: Kiwix ZIM files of open wikis and of 10 sites of Stack Exchange.
2
+ // The catalog also has links: sources that the guidebook can only link to.
2
3
  // The release and the address of each file come from the Kiwix catalog feed, read on the date `BUNDLES_CHECKED`.
3
4
  // The exact size and the SHA-256 of each file come from the `.meta4` file of its release.
4
5
  // The weekly workflow `bundles.yml` starts `scripts/check-bundles.ts`, which compares the bundles to the live feed.
5
6
 
6
- import type { Bundle } from "@mark1russell7/guidebook-library";
7
+ import type { Bundle, Link } from "@mark1russell7/guidebook-library";
7
8
 
8
9
  /** The date of the last read of the Kiwix catalog feed. */
9
10
  export const BUNDLES_CHECKED = "2026-11-21";
@@ -36,3 +37,13 @@ export const BUNDLES: readonly Bundle[] = [
36
37
  { id: "wikipedia-mini", title: "Wikipedia: the introduction of each article", bytes: 14_386_799_064, license: "cc-by-sa-4.0", level: "pocket", source: "wikipedia-en", version: "2026-09", sha256: "350d8956ee3d7abe2839c464c3a983f93d6934a16c7f04b10715b49439dfd349", url: `${ZIM}/wikipedia/wikipedia_en_all_mini_2026-09.zim` },
37
38
  { id: "wikipedia-all", title: "Wikipedia: all articles, with no pictures", bytes: 52_690_706_555, license: "cc-by-sa-4.0", level: "shelf", source: "wikipedia-en", version: "2026-06", sha256: "441a56d9e05b2d98f8ae9acb7986a513ed47904d73852c92dc6b7d50baa122e5", url: `${ZIM}/wikipedia/wikipedia_en_all_nopic_2026-06.zim` },
38
39
  ];
40
+
41
+ /**
42
+ * The links of the catalog. The guidebook keeps no file and no unit of these sources.
43
+ * Hesperian permits a link to its store. It refuses each AI use of its text, so their license is `link-only`.
44
+ * New editions of the two books come in 2027. Then read their terms again.
45
+ */
46
+ export const LINKS: readonly Link[] = [
47
+ { id: "hesperian-doctor", title: "Hesperian: Where There Is No Doctor (buy the book or its PDF)", source: "hesperian-doctor", url: "https://store.hesperian.org/products/where-there-is-no-doctor" },
48
+ { id: "hesperian-dentist", title: "Hesperian: Where There Is No Dentist (buy the book or its PDF)", source: "hesperian-dentist", url: "https://store.hesperian.org/products/where-there-is-no-dentist" },
49
+ ];
@@ -44,6 +44,8 @@ export const SOURCES: readonly Source[] = [
44
44
  { ...federal("fcc-amateur", "Federal Communications Commission", "Amateur Radio Service", "https://www.fcc.gov/wireless/bureau-divisions/mobility-division/amateur-radio-service"), checked: "2026-11-23" },
45
45
  { ...federal("niosh-lead", "NIOSH", "NIOSH Pocket Guide to Chemical Hazards: Lead", "https://www.cdc.gov/niosh/npg/npgd0368.html"), checked: "2026-11-23" },
46
46
  { ...federal("niosh-naoh", "NIOSH", "NIOSH Pocket Guide to Chemical Hazards: Sodium hydroxide", "https://www.cdc.gov/niosh/npg/npgd0565.html"), checked: "2026-11-23" },
47
+ { id: "hesperian-doctor", title: "Where There Is No Doctor", url: "https://store.hesperian.org/products/where-there-is-no-doctor", license: "link-only", checked: "2026-11-23", by: "Hesperian Health Guides", note: "No AI ingestion (publisher, 2026-11-23)" },
48
+ { id: "hesperian-dentist", title: "Where There Is No Dentist", url: "https://store.hesperian.org/products/where-there-is-no-dentist", license: "link-only", checked: "2026-11-23", by: "Hesperian Health Guides", note: "No AI ingestion (publisher, 2026-11-23)" },
47
49
  { id: "mlp-bleeding", title: "Bleeding (MedlinePlus Medical Encyclopedia)", url: "https://medlineplus.gov/ency/article/000045.htm", license: "all-rights-reserved", checked: "2026-11-23", by: "A.D.A.M., Inc., for the U.S. National Library of Medicine" },
48
50
  { id: "mlp-dehydration", title: "Dehydration (MedlinePlus Medical Encyclopedia)", url: "https://medlineplus.gov/ency/article/000982.htm", license: "all-rights-reserved", checked: "2026-11-23", by: "A.D.A.M., Inc., for the U.S. National Library of Medicine" },
49
51
  federal("fda-drugs", "FDA", "Safe Drug Use After a Natural Disaster", "https://www.fda.gov/drugs/emergency-preparedness-drugs/safe-drug-use-after-natural-disaster"),
package/src/index.ts CHANGED
@@ -15,7 +15,7 @@ export { CATALOG_TAB, MASTER, START_TAB } from "./data/chart.ts";
15
15
  export { AREAS, TOPICS } from "./data/topics.ts";
16
16
  export { TOPIC_UNITS } from "./data/units.ts";
17
17
  export { TAB_UNITS } from "./data/tab-units.ts";
18
- export { BUNDLES, BUNDLES_CHECKED, BUNDLE_LEVELS } from "./data/bundles.ts";
18
+ export { BUNDLES, BUNDLES_CHECKED, BUNDLE_LEVELS, LINKS } from "./data/bundles.ts";
19
19
  export { MEDIA_UNITS, MEDIUM_GAPS, MEDIUM_LIVES, MEDIUM_LOSSES } from "./data/media.ts";
20
20
 
21
21
  /**