straeto 0.1.0 → 0.1.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.
- package/README.md +8 -1
- package/package.json +17 -5
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<img src="icon.png" width="120" alt="Strætó logo" />
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
|
-
<h1 align="center">
|
|
5
|
+
<h1 align="center">Strætó</h1>
|
|
6
6
|
|
|
7
7
|
<p align="center">
|
|
8
8
|
A CLI for the Icelandic bus system <a href="https://www.straeto.is">Strætó</a>, built with <a href="https://bun.sh">Bun</a>.
|
|
@@ -16,6 +16,13 @@
|
|
|
16
16
|
bun install -g straeto
|
|
17
17
|
```
|
|
18
18
|
|
|
19
|
+
Or run directly without installing:
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
bunx straeto alerts
|
|
23
|
+
npx straeto route 3
|
|
24
|
+
```
|
|
25
|
+
|
|
19
26
|
## Commands
|
|
20
27
|
|
|
21
28
|
### `straeto route <number> [bus]`
|
package/package.json
CHANGED
|
@@ -1,27 +1,39 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "straeto",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Strætó — Icelandic bus system CLI",
|
|
5
5
|
"author": "magtastic",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
|
-
"url": "https://github.com/magtastic/straeto-cli"
|
|
9
|
+
"url": "git+https://github.com/magtastic/straeto-cli.git"
|
|
10
10
|
},
|
|
11
|
-
"keywords": [
|
|
11
|
+
"keywords": [
|
|
12
|
+
"straeto",
|
|
13
|
+
"iceland",
|
|
14
|
+
"bus",
|
|
15
|
+
"cli",
|
|
16
|
+
"bun",
|
|
17
|
+
"reykjavik"
|
|
18
|
+
],
|
|
12
19
|
"module": "src/cli.ts",
|
|
13
20
|
"type": "module",
|
|
14
21
|
"bin": {
|
|
15
22
|
"straeto": "src/cli.ts"
|
|
16
23
|
},
|
|
17
|
-
"files": [
|
|
24
|
+
"files": [
|
|
25
|
+
"src",
|
|
26
|
+
"icon.png",
|
|
27
|
+
"README.md"
|
|
28
|
+
],
|
|
18
29
|
"scripts": {
|
|
19
30
|
"start": "bun run src/cli.ts",
|
|
20
31
|
"lint": "biome check src",
|
|
21
32
|
"lint:fix": "biome check --write src",
|
|
22
33
|
"format": "biome format --write src",
|
|
23
34
|
"typecheck": "tsc --noEmit",
|
|
24
|
-
"test": "bun test"
|
|
35
|
+
"test": "bun test",
|
|
36
|
+
"release": "npm version patch && git push --tags"
|
|
25
37
|
},
|
|
26
38
|
"devDependencies": {
|
|
27
39
|
"@biomejs/biome": "2.4.6",
|