Skip to content

Commit 2caf7b1

Browse files
committed
doc: Updated internal project structure to latest standards; improved code stability and maintenance.
1 parent fc2cac8 commit 2caf7b1

66 files changed

Lines changed: 14685 additions & 3744 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.create-adapter.json

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"cli": true,
3+
"target": "directory",
4+
"adapterName": "open-meteo-weather",
5+
"title": "Open-Meteo Weather Service",
6+
"description": "Get local weather, air quality and pollen data from Open-Meteo.com",
7+
"keywords": [
8+
"weather",
9+
"forecast",
10+
"open-meteo",
11+
"pollen",
12+
"air quality"
13+
],
14+
"expert": "no",
15+
"features": [
16+
"adapter"
17+
],
18+
"adminFeatures": [],
19+
"type": "weather",
20+
"startMode": "daemon",
21+
"connectionType": "cloud",
22+
"dataSource": "poll",
23+
"connectionIndicator": "no",
24+
"language": "TypeScript",
25+
"nodeVersion": "20",
26+
"adminUi": "json",
27+
"tools": [
28+
"ESLint"
29+
],
30+
"eslintConfig": "official",
31+
"releaseScript": "yes",
32+
"devServer": "local",
33+
"indentation": "Tab",
34+
"quotes": "single",
35+
"authorName": "H5N1",
36+
"authorGithub": "H5N1v2",
37+
"authorEmail": "h5n1@iknox.de",
38+
"gitRemoteProtocol": "HTTPS",
39+
"gitCommit": "no",
40+
"defaultBranch": "main",
41+
"license": "MIT License",
42+
"dependabot": "yes",
43+
"creatorVersion": "3.1.2"
44+
}

.gitignore

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,22 @@
11

2-
node_modules/
2+
# No dot-directories except github/vscode
3+
.*/
4+
!.vscode/
5+
!.github/
6+
7+
*.code-workspace
8+
node_modules
9+
nbproject
10+
11+
# npm package files
12+
iobroker.*.tgz
13+
.npmrc
14+
315
Thumbs.db
4-
*.log
5-
npm-debug.log*
16+
.commitinfo
17+
18+
# i18n intermediate files
19+
admin/i18n/flat.txt
20+
admin/i18n/*/flat.txt
621

7-
.*
22+
/.vscode/extensions.json

.releaseconfig.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"plugins": [
3+
"iobroker",
4+
"license",
5+
"manual-review"
6+
],
7+
"exec": {
8+
"before_commit": "npm run build"
9+
}
10+
}

.vscode/settings.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"typescript.tsdk": "node_modules/typescript/lib",
3+
"eslint.enable": true,
4+
"json.schemas": [
5+
{
6+
"fileMatch": [
7+
"io-package.json"
8+
],
9+
"url": "https://raw.githubusercontent.com/ioBroker/ioBroker.js-controller/master/schemas/io-package.json"
10+
},
11+
{
12+
"fileMatch": [
13+
"admin/jsonConfig.json",
14+
"admin/jsonConfig.json5",
15+
"admin/jsonCustom.json",
16+
"admin/jsonCustom.json5",
17+
"admin/jsonTab.json",
18+
"admin/jsonTab.json5"
19+
],
20+
"url": "https://raw.githubusercontent.com/ioBroker/ioBroker.admin/master/packages/jsonConfig/schemas/jsonConfig.json"
21+
}
22+
]
23+
}

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
![Logo](admin/open-meteo.png)
12
# ioBroker.open-meteo-weather
23

34
[![NPM version](https://img.shields.io/npm/v/iobroker.open-meteo-weather.svg)](https://www.npmjs.com/package/iobroker.open-meteo-weather)
@@ -54,6 +55,15 @@ The adapter provides dynamic icon paths that can be used directly in visualizati
5455
| `air.current` | Air quality and pollen levels as text and value |
5556

5657
---
58+
## Change Log
59+
60+
### 1.2.0
61+
* Updated internal project structure to latest standards; improved code stability and maintenance.
62+
### 1.1.0
63+
* Initial NPM release
64+
* fix for air quality timestamps
65+
* added icons for wind direction and storm warnings
66+
* add some translations
5767

5868
## Legal & Copyright
5969

build/i18n/de.js

Lines changed: 80 additions & 55 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/i18n/de.js.map

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)