@mrtdown/core 2.0.0-alpha.1 → 2.0.0-alpha.3
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/dist/index.d.ts +20 -11
- package/dist/index.js +20 -11
- package/dist/index.js.map +1 -1
- package/package.json +4 -17
package/dist/index.d.ts
CHANGED
|
@@ -1,16 +1,25 @@
|
|
|
1
1
|
export { FileStore } from '#repo/common/FileStore.js';
|
|
2
2
|
export { MRTDownRepository } from '#repo/MRTDownRepository.js';
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
3
|
+
export * from '#schema/common.js';
|
|
4
|
+
export * from '#schema/issue/bundle.js';
|
|
5
|
+
export * from '#schema/issue/cause.js';
|
|
6
|
+
export * from '#schema/issue/claim.js';
|
|
7
|
+
export * from '#schema/issue/entity.js';
|
|
8
|
+
export * from '#schema/issue/evidence.js';
|
|
9
|
+
export * from '#schema/issue/facilityEffect.js';
|
|
10
|
+
export * from '#schema/issue/id.js';
|
|
11
|
+
export * from '#schema/issue/impactEvent.js';
|
|
12
|
+
export * from '#schema/issue/issue.js';
|
|
13
|
+
export * from '#schema/issue/issueType.js';
|
|
14
|
+
export * from '#schema/issue/period.js';
|
|
15
|
+
export * from '#schema/issue/serviceEffect.js';
|
|
16
|
+
export * from '#schema/issue/serviceScope.js';
|
|
17
|
+
export * from '#schema/Landmark.js';
|
|
18
|
+
export * from '#schema/Line.js';
|
|
19
|
+
export * from '#schema/Operator.js';
|
|
20
|
+
export * from '#schema/Service.js';
|
|
21
|
+
export * from '#schema/Station.js';
|
|
22
|
+
export * from '#schema/Town.js';
|
|
14
23
|
export { FileWriteStore } from '#write/common/FileWriteStore.js';
|
|
15
24
|
export { IdGenerator } from '#write/id/IdGenerator.js';
|
|
16
25
|
export { MRTDownWriter } from '#write/MRTDownWriter.js';
|
package/dist/index.js
CHANGED
|
@@ -1,16 +1,25 @@
|
|
|
1
1
|
export { FileStore } from '#repo/common/FileStore.js';
|
|
2
2
|
export { MRTDownRepository } from '#repo/MRTDownRepository.js';
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
3
|
+
export * from '#schema/common.js';
|
|
4
|
+
export * from '#schema/issue/bundle.js';
|
|
5
|
+
export * from '#schema/issue/cause.js';
|
|
6
|
+
export * from '#schema/issue/claim.js';
|
|
7
|
+
export * from '#schema/issue/entity.js';
|
|
8
|
+
export * from '#schema/issue/evidence.js';
|
|
9
|
+
export * from '#schema/issue/facilityEffect.js';
|
|
10
|
+
export * from '#schema/issue/id.js';
|
|
11
|
+
export * from '#schema/issue/impactEvent.js';
|
|
12
|
+
export * from '#schema/issue/issue.js';
|
|
13
|
+
export * from '#schema/issue/issueType.js';
|
|
14
|
+
export * from '#schema/issue/period.js';
|
|
15
|
+
export * from '#schema/issue/serviceEffect.js';
|
|
16
|
+
export * from '#schema/issue/serviceScope.js';
|
|
17
|
+
export * from '#schema/Landmark.js';
|
|
18
|
+
export * from '#schema/Line.js';
|
|
19
|
+
export * from '#schema/Operator.js';
|
|
20
|
+
export * from '#schema/Service.js';
|
|
21
|
+
export * from '#schema/Station.js';
|
|
22
|
+
export * from '#schema/Town.js';
|
|
14
23
|
export { FileWriteStore } from '#write/common/FileWriteStore.js';
|
|
15
24
|
export { IdGenerator } from '#write/id/IdGenerator.js';
|
|
16
25
|
export { MRTDownWriter } from '#write/MRTDownWriter.js';
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"/","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"/","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAE/D,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAEhC,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AACjF,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC","sourcesContent":["export { FileStore } from '#repo/common/FileStore.js';\nexport { MRTDownRepository } from '#repo/MRTDownRepository.js';\n\nexport * from '#schema/common.js';\nexport * from '#schema/issue/bundle.js';\nexport * from '#schema/issue/cause.js';\nexport * from '#schema/issue/claim.js';\nexport * from '#schema/issue/entity.js';\nexport * from '#schema/issue/evidence.js';\nexport * from '#schema/issue/facilityEffect.js';\nexport * from '#schema/issue/id.js';\nexport * from '#schema/issue/impactEvent.js';\nexport * from '#schema/issue/issue.js';\nexport * from '#schema/issue/issueType.js';\nexport * from '#schema/issue/period.js';\nexport * from '#schema/issue/serviceEffect.js';\nexport * from '#schema/issue/serviceScope.js';\nexport * from '#schema/Landmark.js';\nexport * from '#schema/Line.js';\nexport * from '#schema/Operator.js';\nexport * from '#schema/Service.js';\nexport * from '#schema/Station.js';\nexport * from '#schema/Town.js';\n\nexport { FileWriteStore } from '#write/common/FileWriteStore.js';\nexport { IdGenerator } from '#write/id/IdGenerator.js';\nexport { MRTDownWriter } from '#write/MRTDownWriter.js';\nexport { normalizeRecurringPeriod } from './helpers/normalizeRecurringPeriod.js';\nexport { resolvePeriods } from './helpers/resolvePeriods.js';\n"]}
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mrtdown/core",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.3",
|
|
4
4
|
"description": "Data repository",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"main": "dist/
|
|
6
|
+
"main": "dist/index.js",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"build": "tsc",
|
|
9
9
|
"test": "vitest",
|
|
@@ -11,15 +11,12 @@
|
|
|
11
11
|
"create": "tsx src/cli/index.ts create",
|
|
12
12
|
"cli": "tsx src/cli/index.ts",
|
|
13
13
|
"ingest:webhook": "tsx src/scripts/ingestViaWebhook.ts",
|
|
14
|
-
"check-rss-feeds": "tsx src/scripts/checkRssFeeds.ts"
|
|
15
|
-
"db:generate": "tsx src/db/generate/index.ts",
|
|
16
|
-
"api:dev": "tsx --watch api/index.ts",
|
|
17
|
-
"sentry:sourcemaps": "sentry-cli sourcemaps inject ./dist && sentry-cli sourcemaps upload ./dist --release $SENTRY_RELEASE"
|
|
14
|
+
"check-rss-feeds": "tsx src/scripts/checkRssFeeds.ts"
|
|
18
15
|
},
|
|
19
16
|
"author": "Foldaway <bottleneck.company@gmail.com>",
|
|
20
17
|
"repository": {
|
|
21
18
|
"type": "git",
|
|
22
|
-
"url": "https://github.com/
|
|
19
|
+
"url": "https://github.com/foldaway/mrtdown-data.git"
|
|
23
20
|
},
|
|
24
21
|
"license": "UNLICENSED",
|
|
25
22
|
"devDependencies": {
|
|
@@ -46,21 +43,11 @@
|
|
|
46
43
|
}
|
|
47
44
|
},
|
|
48
45
|
"dependencies": {
|
|
49
|
-
"@duckdb/node-api": "^1.4.3-r.2",
|
|
50
|
-
"@hono/node-server": "^1.19.6",
|
|
51
|
-
"@hono/standard-validator": "^0.1.4",
|
|
52
|
-
"@hono/zod-validator": "^0.4.3",
|
|
53
|
-
"@scalar/hono-api-reference": "^0.9.13",
|
|
54
|
-
"@sentry/cli": "^2.58.0",
|
|
55
|
-
"@sentry/node": "^10.27.0",
|
|
56
46
|
"commander": "^14.0.3",
|
|
57
47
|
"dotenv": "^16.4.7",
|
|
58
48
|
"fuse.js": "^7.1.0",
|
|
59
|
-
"generic-pool": "^3.9.0",
|
|
60
49
|
"hast-util-from-html": "^2.0.3",
|
|
61
50
|
"hast-util-to-mdast": "^10.1.2",
|
|
62
|
-
"hono": "^4.11.4",
|
|
63
|
-
"hono-openapi": "^0.5.0-rc.3",
|
|
64
51
|
"json-nd": "^1.0.0",
|
|
65
52
|
"luxon": "^3.5.0",
|
|
66
53
|
"mdast-util-gfm": "^3.1.0",
|