@neo-reckoning/ical 0.1.0-alpha.1

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,15 @@
1
+ /**
2
+ * @neo-reckoning/ical — Browser-compatible iCal parsing adapter.
3
+ *
4
+ * This package is Phase 4 of the neo-reckoning build plan.
5
+ * It will parse .ics text (fetched via the day-planner-api proxy)
6
+ * and produce CalendarEvent[] for the rendering pipeline.
7
+ *
8
+ * Dependencies (to be added):
9
+ * - ical.js (Mozilla's browser-compatible parser)
10
+ * - rrule (RRULE expansion)
11
+ *
12
+ * See PLAN-neo-reckoning.md Phase 4 for full spec.
13
+ */
14
+ export type { CacheAdapter } from '@neo-reckoning/core';
15
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,YAAY,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,18 @@
1
+ /**
2
+ * @neo-reckoning/ical — Browser-compatible iCal parsing adapter.
3
+ *
4
+ * This package is Phase 4 of the neo-reckoning build plan.
5
+ * It will parse .ics text (fetched via the day-planner-api proxy)
6
+ * and produce CalendarEvent[] for the rendering pipeline.
7
+ *
8
+ * Dependencies (to be added):
9
+ * - ical.js (Mozilla's browser-compatible parser)
10
+ * - rrule (RRULE expansion)
11
+ *
12
+ * See PLAN-neo-reckoning.md Phase 4 for full spec.
13
+ */
14
+ export {};
15
+ // Placeholder exports — implementation in Phase 4
16
+ // export function parseICS(icsText: string, window: { from: Date; to: Date }): CalendarEvent[];
17
+ // export async function fetchAndParse(proxyUrl: string, window: { from: Date; to: Date }, options?: { cache?: CacheAdapter; cacheTTL?: number }): Promise<CalendarEvent[]>;
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;;AAIH,kDAAkD;AAClD,gGAAgG;AAChG,4KAA4K"}
package/package.json ADDED
@@ -0,0 +1,32 @@
1
+ {
2
+ "name": "@neo-reckoning/ical",
3
+ "version": "0.1.0-alpha.1",
4
+ "type": "module",
5
+ "main": "./dist/index.js",
6
+ "types": "./dist/index.d.ts",
7
+ "exports": {
8
+ ".": {
9
+ "types": "./dist/index.d.ts",
10
+ "import": "./dist/index.js"
11
+ }
12
+ },
13
+ "scripts": {
14
+ "build": "tsc",
15
+ "test": "NODE_OPTIONS='--experimental-vm-modules' jest --passWithNoTests",
16
+ "typecheck": "tsc --noEmit"
17
+ },
18
+ "dependencies": {
19
+ "@neo-reckoning/core": "workspace:*"
20
+ },
21
+ "files": [
22
+ "dist"
23
+ ],
24
+ "repository": {
25
+ "type": "git",
26
+ "url": "https://github.com/sdougbrown/neo-reckoning.git",
27
+ "directory": "packages/ical"
28
+ },
29
+ "publishConfig": {
30
+ "access": "public"
31
+ }
32
+ }