Skip to content

Commit

Permalink
Set category explicitly to simplify iCalendar
Browse files Browse the repository at this point in the history
  • Loading branch information
mjradwin committed Feb 20, 2024
1 parent 758fa84 commit 2f682b0
Show file tree
Hide file tree
Showing 6 changed files with 77 additions and 73 deletions.
140 changes: 70 additions & 70 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hebcal/learning",
"version": "5.0.6",
"version": "5.0.7",
"description": "Daily learning schedules: Daf Yomi, Mishna Yomi, etc",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
Expand All @@ -25,7 +25,7 @@
},
"homepage": "https://github.com/hebcal/hebcal-learning#readme",
"dependencies": {
"@hebcal/core": "^5.2.1"
"@hebcal/core": "^5.2.2"
},
"files": [
"types.d.ts",
Expand All @@ -49,7 +49,7 @@
"eslint-config-google": "^0.14.0",
"jsdoc": "^4.0.2",
"jsdoc-to-markdown": "^8.0.1",
"rollup": "^4.9.6",
"rollup": "^4.12.0",
"ttag-cli": "^1.10.10"
}
}
1 change: 1 addition & 0 deletions src/MishnaYomiEvent.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export class MishnaYomiEvent extends Event {
constructor(date, mishnaYomi) {
super(date, formatMyomi(mishnaYomi, null), flags.MISHNA_YOMI);
this.mishnaYomi = mishnaYomi;
this.category = 'Mishna Yomi';
}
/**
* Returns Mishna Yomi name (e.g. "Bava Metzia 10:5-6" or "Berakhot 9:5-Peah 1:1").
Expand Down
1 change: 1 addition & 0 deletions src/NachYomiEvent.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export class NachYomiEvent extends Event {
constructor(date, nachYomi) {
super(date, `${nachYomi.k} ${nachYomi.v}`, flags.NACH_YOMI);
this.nachYomi = nachYomi;
this.category = 'Nach Yomi';
}
/**
* Returns name of tractate and page (e.g. "Beitzah 21").
Expand Down
1 change: 1 addition & 0 deletions src/dafyomi.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ export class DafYomiEvent extends DafPageEvent {
constructor(date) {
const daf = new DafYomi(date.greg());
super(date, daf, flags.DAF_YOMI);
this.category = 'Daf Yomi';
}
/**
* Returns Daf Yomi name including the 'Daf Yomi: ' prefix (e.g. "Daf Yomi: Pesachim 107").
Expand Down
1 change: 1 addition & 0 deletions src/yerushalmi.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ export class YerushalmiYomiEvent extends Event {
constructor(date, daf) {
super(date, `${daf.name} ${daf.blatt}`, flags.YERUSHALMI_YOMI);
this.daf = daf;
this.category = 'Yerushalmi Yomi';
}
/**
* Returns name of tractate and page (e.g. "Yerushalmi Beitzah 21").
Expand Down

0 comments on commit 2f682b0

Please sign in to comment.