Skip to content

Commit 2f682b0

Browse files
committed
Set category explicitly to simplify iCalendar
1 parent 758fa84 commit 2f682b0

6 files changed

+77
-73
lines changed

package-lock.json

+70-70
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hebcal/learning",
3-
"version": "5.0.6",
3+
"version": "5.0.7",
44
"description": "Daily learning schedules: Daf Yomi, Mishna Yomi, etc",
55
"main": "dist/index.cjs",
66
"module": "dist/index.mjs",
@@ -25,7 +25,7 @@
2525
},
2626
"homepage": "https://github.com/hebcal/hebcal-learning#readme",
2727
"dependencies": {
28-
"@hebcal/core": "^5.2.1"
28+
"@hebcal/core": "^5.2.2"
2929
},
3030
"files": [
3131
"types.d.ts",
@@ -49,7 +49,7 @@
4949
"eslint-config-google": "^0.14.0",
5050
"jsdoc": "^4.0.2",
5151
"jsdoc-to-markdown": "^8.0.1",
52-
"rollup": "^4.9.6",
52+
"rollup": "^4.12.0",
5353
"ttag-cli": "^1.10.10"
5454
}
5555
}

src/MishnaYomiEvent.js

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ export class MishnaYomiEvent extends Event {
3434
constructor(date, mishnaYomi) {
3535
super(date, formatMyomi(mishnaYomi, null), flags.MISHNA_YOMI);
3636
this.mishnaYomi = mishnaYomi;
37+
this.category = 'Mishna Yomi';
3738
}
3839
/**
3940
* Returns Mishna Yomi name (e.g. "Bava Metzia 10:5-6" or "Berakhot 9:5-Peah 1:1").

src/NachYomiEvent.js

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export class NachYomiEvent extends Event {
1111
constructor(date, nachYomi) {
1212
super(date, `${nachYomi.k} ${nachYomi.v}`, flags.NACH_YOMI);
1313
this.nachYomi = nachYomi;
14+
this.category = 'Nach Yomi';
1415
}
1516
/**
1617
* Returns name of tractate and page (e.g. "Beitzah 21").

src/dafyomi.js

+1
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ export class DafYomiEvent extends DafPageEvent {
167167
constructor(date) {
168168
const daf = new DafYomi(date.greg());
169169
super(date, daf, flags.DAF_YOMI);
170+
this.category = 'Daf Yomi';
170171
}
171172
/**
172173
* Returns Daf Yomi name including the 'Daf Yomi: ' prefix (e.g. "Daf Yomi: Pesachim 107").

src/yerushalmi.js

+1
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ export class YerushalmiYomiEvent extends Event {
224224
constructor(date, daf) {
225225
super(date, `${daf.name} ${daf.blatt}`, flags.YERUSHALMI_YOMI);
226226
this.daf = daf;
227+
this.category = 'Yerushalmi Yomi';
227228
}
228229
/**
229230
* Returns name of tractate and page (e.g. "Yerushalmi Beitzah 21").

0 commit comments

Comments
 (0)