Skip to content

Commit 2587d32

Browse files
author
ticaki
committed
chore: release v0.1.0
* (ticaki) initial release
1 parent fa9a7d9 commit 2587d32

File tree

7 files changed

+9340
-9402
lines changed

7 files changed

+9340
-9402
lines changed

README.md

+3-84
Original file line numberDiff line numberDiff line change
@@ -12,98 +12,17 @@
1212

1313
## tagesschau adapter for ioBroker
1414

15-
Request news from tagesschau
15+
Ruft News und Videolinks von Tagesschau ab.
1616

17-
## Developer manual
18-
This section is intended for the developer. It can be deleted later.
17+
Installieren - Im Admin gewünschtes einstellen - fertig.
1918

20-
### DISCLAIMER
21-
22-
Please make sure that you consider copyrights and trademarks when you use names or logos of a company and add a disclaimer to your README.
23-
You can check other adapters for examples or ask in the developer community. Using a name or logo of a company without permission may cause legal problems for you.
24-
25-
### Getting started
26-
27-
You are almost done, only a few steps left:
28-
1. Create a new repository on GitHub with the name `ioBroker.tagesschau`
29-
30-
1. Push all files to the GitHub repo. The creator has already set up the local repository for you:
31-
```bash
32-
git push origin main
33-
```
34-
1. Add a new secret under https://github.com/ticaki/ioBroker.tagesschau/settings/secrets. It must be named `AUTO_MERGE_TOKEN` and contain a personal access token with push access to the repository, e.g. yours. You can create a new token under https://github.com/settings/tokens.
35-
36-
1. Head over to [src/main.ts](src/main.ts) and start programming!
37-
38-
### Best Practices
39-
We've collected some [best practices](https://github.com/ioBroker/ioBroker.repositories#development-and-coding-best-practices) regarding ioBroker development and coding in general. If you're new to ioBroker or Node.js, you should
40-
check them out. If you're already experienced, you should also take a look at them - you might learn something new :)
41-
42-
### Scripts in `package.json`
43-
Several npm scripts are predefined for your convenience. You can run them using `npm run <scriptname>`
44-
| Script name | Description |
45-
|-------------|-------------|
46-
| `build` | Compile the TypeScript sources. |
47-
| `watch` | Compile the TypeScript sources and watch for changes. |
48-
| `test:ts` | Executes the tests you defined in `*.test.ts` files. |
49-
| `test:package` | Ensures your `package.json` and `io-package.json` are valid. |
50-
| `test:integration` | Tests the adapter startup with an actual instance of ioBroker. |
51-
| `test` | Performs a minimal test run on package files and your tests. |
52-
| `check` | Performs a type-check on your code (without compiling anything). |
53-
| `lint` | Runs `ESLint` to check your code for formatting errors and potential bugs. |
54-
| `translate` | Translates texts in your adapter to all required languages, see [`@iobroker/adapter-dev`](https://github.com/ioBroker/adapter-dev#manage-translations) for more details. |
55-
| `release` | Creates a new release, see [`@alcalzone/release-script`](https://github.com/AlCalzone/release-script#usage) for more details. |
56-
57-
### Configuring the compilation
58-
The adapter template uses [esbuild](https://esbuild.github.io/) to compile TypeScript and/or React code. You can configure many compilation settings
59-
either in `tsconfig.json` or by changing options for the build tasks. These options are described in detail in the
60-
[`@iobroker/adapter-dev` documentation](https://github.com/ioBroker/adapter-dev#compile-adapter-files).
61-
62-
### Writing tests
63-
When done right, testing code is invaluable, because it gives you the
64-
confidence to change your code while knowing exactly if and when
65-
something breaks. A good read on the topic of test-driven development
66-
is https://hackernoon.com/introduction-to-test-driven-development-tdd-61a13bc92d92.
67-
Although writing tests before the code might seem strange at first, but it has very
68-
clear upsides.
69-
70-
The template provides you with basic tests for the adapter startup and package files.
71-
It is recommended that you add your own tests into the mix.
72-
73-
### Publishing the adapter
74-
Using GitHub Actions, you can enable automatic releases on npm whenever you push a new git tag that matches the form
75-
`v<major>.<minor>.<patch>`. We **strongly recommend** that you do. The necessary steps are described in `.github/workflows/test-and-release.yml`.
76-
77-
Since you installed the release script, you can create a new
78-
release simply by calling:
79-
```bash
80-
npm run release
81-
```
82-
Additional command line options for the release script are explained in the
83-
[release-script documentation](https://github.com/AlCalzone/release-script#command-line).
84-
85-
To get your adapter released in ioBroker, please refer to the documentation
86-
of [ioBroker.repositories](https://github.com/ioBroker/ioBroker.repositories#requirements-for-adapter-to-get-added-to-the-latest-repository).
87-
88-
### Test the adapter manually with dev-server
89-
Since you set up `dev-server`, you can use it to run, test and debug your adapter.
90-
91-
You may start `dev-server` by calling from your dev directory:
92-
```bash
93-
dev-server watch
94-
```
95-
96-
The ioBroker.admin interface will then be available at http://localhost:8081/
97-
98-
Please refer to the [`dev-server` documentation](https://github.com/ioBroker/dev-server#command-line) for more details.
9919

10020
## Changelog
10121
<!--
10222
Placeholder for the next version (at the beginning of the line):
10323
### **WORK IN PROGRESS**
10424
-->
105-
106-
### **WORK IN PROGRESS**
25+
### 0.1.0 (2025-01-04)
10726
* (ticaki) initial release
10827

10928
## License

build/main.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/main.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

io-package.json

+104-85
Original file line numberDiff line numberDiff line change
@@ -1,87 +1,106 @@
11
{
2-
"common": {
3-
"name": "tagesschau",
4-
"version": "0.0.1",
5-
"news": {
6-
"0.0.1": {
7-
"en": "initial release",
8-
"de": "Erstveröffentlichung",
9-
"ru": "Начальная версия",
10-
"pt": "lançamento inicial",
11-
"nl": "Eerste uitgave",
12-
"fr": "Première version",
13-
"it": "Versione iniziale",
14-
"es": "Versión inicial",
15-
"pl": "Pierwsze wydanie",
16-
"uk": "Початкова версія",
17-
"zh-cn": "首次出版"
18-
}
19-
},
20-
"titleLang": {
21-
"en": "Tagesschau",
22-
"de": "Tagesschau",
23-
"ru": "Тагесшау",
24-
"pt": "Tagesschau",
25-
"nl": "Tagesschau",
26-
"fr": "Tagesschau",
27-
"it": "Tagesschau",
28-
"es": "Tagesschau",
29-
"pl": "Tagesschau",
30-
"uk": "Tagesschau",
31-
"zh-cn": "塔格绍"
32-
},
33-
"desc": {
34-
"en": "Request news from tagesschau",
35-
"de": "Fordern Sie Neuigkeiten von der tagesschau an",
36-
"ru": "Запросить новости от tagesschau",
37-
"pt": "Solicite notícias do tagesschau",
38-
"nl": "Vraag nieuws van Tagesschau aan",
39-
"fr": "Demander des nouvelles de tagesschau",
40-
"it": "Richiedi notizie da tagesschau",
41-
"es": "Solicitar noticias de tagesschau",
42-
"pl": "Zapytaj o wiadomości od Tagesschau",
43-
"uk": "Запитати новини від tagesschau",
44-
"zh-cn": "请求来自 tagesschau 的新闻"
45-
},
46-
"authors": ["ticaki <github@renopoint.de>"],
47-
"keywords": ["iobroker", "news", "tagesschau", "image"],
48-
"licenseInformation": {
49-
"type": "free",
50-
"license": "MIT"
51-
},
52-
"supportedMessages": {
53-
"custom": true
54-
},
55-
"platform": "Javascript/Node.js",
56-
"icon": "tagesschau.png",
57-
"enabled": true,
58-
"extIcon": "https://raw.githubusercontent.com/ticaki/ioBroker.tagesschau/main/admin/tagesschau.png",
59-
"readme": "https://github.com/ticaki/ioBroker.tagesschau/blob/main/README.md",
60-
"loglevel": "info",
61-
"tier": 2,
62-
"mode": "daemon",
63-
"type": "misc-data",
64-
"compact": true,
65-
"connectionType": "cloud",
66-
"dataSource": "poll",
67-
"adminUI": {
68-
"config": "json"
69-
},
70-
"dependencies": [
71-
{
72-
"js-controller": ">=6.0.11"
73-
}
74-
],
75-
"globalDependencies": [
76-
{
77-
"admin": ">=7.0.23"
78-
}
79-
]
80-
},
81-
"native": {
82-
"interval": 30,
83-
"maxEntries": 20
84-
},
85-
"objects": [],
86-
"instanceObjects": []
2+
"common": {
3+
"name": "tagesschau",
4+
"version": "0.1.0",
5+
"news": {
6+
"0.1.0": {
7+
"en": "initial release",
8+
"de": "erstausstrahlung",
9+
"ru": "первоначальный выпуск",
10+
"pt": "lançamento inicial",
11+
"nl": "eerste release",
12+
"fr": "libération initiale",
13+
"it": "rilascio iniziale",
14+
"es": "liberación inicial",
15+
"pl": "początkowe zwolnienie",
16+
"uk": "початковий реліз",
17+
"zh-cn": "初步释放"
18+
},
19+
"0.0.1": {
20+
"en": "initial release",
21+
"de": "Erstveröffentlichung",
22+
"ru": "Начальная версия",
23+
"pt": "lançamento inicial",
24+
"nl": "Eerste uitgave",
25+
"fr": "Première version",
26+
"it": "Versione iniziale",
27+
"es": "Versión inicial",
28+
"pl": "Pierwsze wydanie",
29+
"uk": "Початкова версія",
30+
"zh-cn": "首次出版"
31+
}
32+
},
33+
"titleLang": {
34+
"en": "Tagesschau",
35+
"de": "Tagesschau",
36+
"ru": "Тагесшау",
37+
"pt": "Tagesschau",
38+
"nl": "Tagesschau",
39+
"fr": "Tagesschau",
40+
"it": "Tagesschau",
41+
"es": "Tagesschau",
42+
"pl": "Tagesschau",
43+
"uk": "Tagesschau",
44+
"zh-cn": "塔格绍"
45+
},
46+
"desc": {
47+
"en": "Request news from tagesschau",
48+
"de": "Fordern Sie Neuigkeiten von der tagesschau an",
49+
"ru": "Запросить новости от tagesschau",
50+
"pt": "Solicite notícias do tagesschau",
51+
"nl": "Vraag nieuws van Tagesschau aan",
52+
"fr": "Demander des nouvelles de tagesschau",
53+
"it": "Richiedi notizie da tagesschau",
54+
"es": "Solicitar noticias de tagesschau",
55+
"pl": "Zapytaj o wiadomości od Tagesschau",
56+
"uk": "Запитати новини від tagesschau",
57+
"zh-cn": "请求来自 tagesschau 的新闻"
58+
},
59+
"authors": [
60+
"ticaki <github@renopoint.de>"
61+
],
62+
"keywords": [
63+
"news",
64+
"tagesschau",
65+
"image"
66+
],
67+
"licenseInformation": {
68+
"type": "free",
69+
"license": "MIT"
70+
},
71+
"supportedMessages": {
72+
"custom": true
73+
},
74+
"platform": "Javascript/Node.js",
75+
"icon": "tagesschau.png",
76+
"enabled": true,
77+
"extIcon": "https://raw.githubusercontent.com/ticaki/ioBroker.tagesschau/main/admin/tagesschau.png",
78+
"readme": "https://github.com/ticaki/ioBroker.tagesschau/blob/main/README.md",
79+
"loglevel": "info",
80+
"tier": 2,
81+
"mode": "daemon",
82+
"type": "misc-data",
83+
"compact": true,
84+
"connectionType": "cloud",
85+
"dataSource": "poll",
86+
"adminUI": {
87+
"config": "json"
88+
},
89+
"dependencies": [
90+
{
91+
"js-controller": ">=6.0.11"
92+
}
93+
],
94+
"globalDependencies": [
95+
{
96+
"admin": ">=7.0.23"
97+
}
98+
]
99+
},
100+
"native": {
101+
"interval": 30,
102+
"maxEntries": 20
103+
},
104+
"objects": [],
105+
"instanceObjects": []
87106
}

0 commit comments

Comments
 (0)