gatelogue-types 2.0.0-b13 → 2.0.0-b14

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.
Files changed (3) hide show
  1. package/README.md +24 -1
  2. package/package.json +3 -2
  3. package/tsconfig.json +42 -0
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ![](./gatelogue-client/public/gat2-light.png)
1
+ ![](https://raw.githubusercontent.com/MRT-Map/gatelogue/refs/heads/main/gatelogue-client/public/gat2-light.png)
2
2
 
3
3
  ![Github Version](https://img.shields.io/github/v/release/MRT-Map/gatelogue)
4
4
  ![Docs Status](https://img.shields.io/github/actions/workflow/status/MRT-Map/gatelogue/.github%2Fworkflows%2Fpages.yml?style=flat&label=docs&link=https%3A%2F%2Fmrt-map.github.io%2Fgatelogue%2Fdocs)
@@ -13,6 +13,29 @@
13
13
 
14
14
  ![GitHub last commit (branch)](https://img.shields.io/github/last-commit/mrt-map/gatelogue/dist?label=last%20data%20update)
15
15
 
16
+ `gatelogue-types` (python):
17
+ ![PyPI - Version](https://img.shields.io/pypi/v/gatelogue-types)
18
+ ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/gatelogue-types)
19
+ ![Docs Status](https://img.shields.io/github/actions/workflow/status/MRT-Map/gatelogue/.github%2Fworkflows%2Fpages.yml?style=flat&label=docs&link=https%3A%2F%2Fmrt-map.github.io%2Fgatelogue%2Fdocs%2F_autosummary%2Fgatelogue_types.html)
20
+ ![PyPI - Downloads](https://img.shields.io/pypi/dm/gatelogue-types)
21
+ ![Pepy Total Downlods](https://img.shields.io/pepy/dt/gatelogue-types)
22
+
23
+ `gatelogue-types` (rust):
24
+ ![Crates.io Version](https://img.shields.io/crates/v/gatelogue-types)
25
+ ![Crates.io MSRV](https://img.shields.io/crates/msrv/gatelogue-types)
26
+ ![docs.rs](https://img.shields.io/docsrs/gatelogue-types?label=docs.rs)
27
+ ![Crates.io Downloads (recent)](https://img.shields.io/crates/dr/gatelogue-types)
28
+ ![Crates.io Total Downloads](https://img.shields.io/crates/d/gatelogue-types)
29
+
30
+ `gatelogue-types` (ts, npm):
31
+ ![NPM Version](https://img.shields.io/npm/v/gatelogue-types)
32
+ ![Docs Status](https://img.shields.io/github/actions/workflow/status/MRT-Map/gatelogue/.github%2Fworkflows%2Fpages.yml?style=flat&label=typedoc&link=https%3A%2F%2Fmrt-map.github.io%2Fgatelogue%2Fdocs%2Fts)
33
+ ![NPM Downloads](https://img.shields.io/npm/dw/gatelogue-types?label=downloads%20(week))
34
+ ![NPM Downloads](https://img.shields.io/npm/dy/gatelogue-types?label=downloads%20(year))
35
+
36
+ `gatelogue-types` (ts, jsr):
37
+ ![JSR Version](https://img.shields.io/jsr/v/@mrt-map/gatelogue-types)
38
+
16
39
  Database of air, rail, sea, bus routes on the MRT
17
40
 
18
41
  Client is hosted at https://mrt-map.github.io/gatelogue
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatelogue-types",
3
- "version": "2.0.0-b13+8",
3
+ "version": "2.0.0-b14+8",
4
4
  "license": "GPL-3.0-only",
5
5
  "author": {
6
6
  "name": "MRT Mapping Services",
@@ -29,7 +29,8 @@
29
29
  "require": "./dist/cjs/lib.js"
30
30
  },
31
31
  "files": [
32
- "dist"
32
+ "dist",
33
+ "tsconfig.json"
33
34
  ],
34
35
  "devDependencies": {
35
36
  "@eslint/js": "^9.25",
package/tsconfig.json ADDED
@@ -0,0 +1,42 @@
1
+ /* https://www.totaltypescript.com/tsconfig-cheat-sheet */
2
+ {
3
+ "include": ["lib.ts"],
4
+ "compilerOptions": {
5
+ /* Base Options: */
6
+ "esModuleInterop": true,
7
+ "skipLibCheck": true,
8
+ "target": "esnext",
9
+ "allowJs": true,
10
+ "resolveJsonModule": true,
11
+ "moduleDetection": "force",
12
+ "isolatedModules": true,
13
+ "verbatimModuleSyntax": true,
14
+
15
+ /* Strictness */
16
+ "strict": true,
17
+ "noUncheckedIndexedAccess": true,
18
+ "noImplicitOverride": true,
19
+
20
+ /* If transpiling with TypeScript: */
21
+ "module": "NodeNext",
22
+ "outDir": "dist",
23
+ "sourceMap": true,
24
+
25
+ /* AND if you're building for a library: */
26
+ "declaration": true,
27
+
28
+ /* AND if you're building for a library in a monorepo: */
29
+ "composite": true,
30
+ "declarationMap": true,
31
+
32
+ /* If NOT transpiling with TypeScript:
33
+ "module": "preserve",
34
+ "noEmit": true, */
35
+
36
+ /* If your code runs in the DOM: */
37
+ "lib": ["esnext", "dom", "dom.iterable"]
38
+
39
+ /* If your code doesn't run in the DOM:
40
+ "lib": ["es2022"], */
41
+ }
42
+ }