minotor 1.0.2 → 1.0.4
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/.prettierignore +1 -0
- package/CHANGELOG.md +2 -2
- package/README.md +1 -1
- package/dist/cli/minotor.d.ts +1 -1
- package/dist/cli/utils.d.ts +1 -1
- package/dist/cli.mjs +1 -3
- package/dist/cli.mjs.map +1 -1
- package/dist/{bundle.cjs.js → parser.cjs.js} +11 -433
- package/dist/parser.cjs.js.map +1 -0
- package/dist/parser.d.ts +3 -0
- package/dist/{bundle.esm.js → parser.esm.js} +12 -426
- package/dist/parser.esm.js.map +1 -0
- package/dist/router.cjs.js +2 -0
- package/dist/router.cjs.js.map +1 -0
- package/dist/{umdIndex.d.ts → router.d.ts} +2 -2
- package/dist/router.esm.js +2 -0
- package/dist/router.esm.js.map +1 -0
- package/dist/{bundle.umd.js → router.umd.js} +2 -2
- package/dist/{bundle.umd.js.map → router.umd.js.map} +1 -1
- package/dist/routing/result.d.ts +2 -2
- package/dist/routing/route.d.ts +2 -1
- package/dist/routing/router.d.ts +1 -1
- package/package.json +13 -8
- package/rollup.config.js +22 -11
- package/src/cli/minotor.ts +1 -1
- package/src/cli/repl.ts +1 -1
- package/src/cli/utils.ts +1 -1
- package/src/parser.ts +4 -0
- package/src/{umdIndex.ts → router.ts} +11 -5
- package/src/routing/result.ts +2 -2
- package/src/routing/route.ts +2 -4
- package/src/routing/router.ts +3 -2
- package/dist/bundle.cjs.js.map +0 -1
- package/dist/bundle.esm.js.map +0 -1
- package/dist/index.d.ts +0 -12
- package/src/index.ts +0 -34
package/dist/index.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { GtfsParser, GtfsProfile } from './gtfs/parser.js';
|
|
2
|
-
import { chGtfsProfile } from './gtfs/profiles/ch.js';
|
|
3
|
-
import { Plotter } from './routing/plotter.js';
|
|
4
|
-
import { Query } from './routing/query.js';
|
|
5
|
-
import { Result } from './routing/result.js';
|
|
6
|
-
import { Leg, Route, Transfer, VehicleLeg } from './routing/route.js';
|
|
7
|
-
import { ReachingTime, Router } from './routing/router.js';
|
|
8
|
-
import { StopId } from './stops/stops.js';
|
|
9
|
-
import { StopsIndex } from './stops/stopsIndex.js';
|
|
10
|
-
import { Time } from './timetable/time.js';
|
|
11
|
-
import { Timetable } from './timetable/timetable.js';
|
|
12
|
-
export { chGtfsProfile, GtfsParser, GtfsProfile, Leg, Plotter, Query, ReachingTime, Result, Route, Router, StopId, StopsIndex, Time, Timetable, Transfer, VehicleLeg, };
|
package/src/index.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* An index containing the full library, including node-dependent modules.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import { GtfsParser, GtfsProfile } from './gtfs/parser.js';
|
|
6
|
-
import { chGtfsProfile } from './gtfs/profiles/ch.js';
|
|
7
|
-
import { Plotter } from './routing/plotter.js';
|
|
8
|
-
import { Query } from './routing/query.js';
|
|
9
|
-
import { Result } from './routing/result.js';
|
|
10
|
-
import { Leg, Route, Transfer, VehicleLeg } from './routing/route.js';
|
|
11
|
-
import { ReachingTime, Router } from './routing/router.js';
|
|
12
|
-
import { StopId } from './stops/stops.js';
|
|
13
|
-
import { StopsIndex } from './stops/stopsIndex.js';
|
|
14
|
-
import { Time } from './timetable/time.js';
|
|
15
|
-
import { Timetable } from './timetable/timetable.js';
|
|
16
|
-
|
|
17
|
-
export {
|
|
18
|
-
chGtfsProfile,
|
|
19
|
-
GtfsParser,
|
|
20
|
-
GtfsProfile,
|
|
21
|
-
Leg,
|
|
22
|
-
Plotter,
|
|
23
|
-
Query,
|
|
24
|
-
ReachingTime,
|
|
25
|
-
Result,
|
|
26
|
-
Route,
|
|
27
|
-
Router,
|
|
28
|
-
StopId,
|
|
29
|
-
StopsIndex,
|
|
30
|
-
Time,
|
|
31
|
-
Timetable,
|
|
32
|
-
Transfer,
|
|
33
|
-
VehicleLeg,
|
|
34
|
-
};
|