Skip to content

Commit

Permalink
Merge pull request #89 from jack-blackson/v1.3.0
Browse files Browse the repository at this point in the history
V1.3.0
  • Loading branch information
jack-blackson authored Feb 22, 2023
2 parents 562a388 + 7f99199 commit cd7f408
Show file tree
Hide file tree
Showing 9 changed files with 5,844 additions and 3,627 deletions.
71 changes: 0 additions & 71 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

47 changes: 23 additions & 24 deletions .github/workflows/test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ jobs:

strategy:
matrix:
node-version: [12.x]
node-version: [16.x]

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2.1.4
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

Expand All @@ -44,8 +44,8 @@ jobs:
# CI: true
# - name: Lint TypeScript code
# run: npm run lint
# - name: Test package files
# run: npm run test:package
- name: Test package files
run: npm run test:package

# Runs adapter tests on all supported node versions and OSes
adapter-tests:
Expand All @@ -56,29 +56,29 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
node-version: [16.x, 18.x]
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2.1.4
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Install Dependencies
run: npm ci

- name: Run local tests
run: npm test
# - name: Run unit tests
# run: npm run test:unit
# - name: Run integration tests # (linux/osx)
# if: startsWith(runner.OS, 'windows') == false
# run: DEBUG=testing:* npm run test:integration
# - name: Run integration tests # (windows)
# if: startsWith(runner.OS, 'windows')
# run: set DEBUG=testing:* & npm run test:integration
# - name: Run local tests
# run: npm test
- name: Run unit tests
run: npm run test:unit
- name: Run integration tests # (linux/osx)
if: startsWith(runner.OS, 'windows') == false
run: DEBUG=testing:* npm run test:integration
- name: Run integration tests # (windows)
if: startsWith(runner.OS, 'windows')
run: set DEBUG=testing:* & npm run test:integration

# Deploys the final package to NPM
deploy:
Expand All @@ -92,14 +92,14 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
node-version: [16.x]

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2.1.4
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

Expand All @@ -126,7 +126,7 @@ jobs:
npm config set //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}
npm whoami
npm publish
- name: Notify Sentry.io about the release
run: |
npm i -g @sentry/cli
Expand All @@ -136,8 +136,7 @@ jobs:
export SENTRY_PROJECT=iobroker-countdown
export SENTRY_VERSION=iobroker.countdown@${{ steps.extract_release.outputs.VERSION }}
sentry-cli releases new $SENTRY_VERSION
sentry-cli releases finalize $SENTRY_VERSION
sentry-cli releases set-commits $SENTRY_VERSION --auto
sentry-cli releases finalize $SENTRY_VERSION
# Add the following line BEFORE finalize if sourcemap uploads are needed
# sentry-cli releases files $SENTRY_VERSION upload-sourcemaps build/
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ nbproject
admin/i18n/flat.txt
admin/i18n/*/flat.txt
.DS_Store
admin/.DS_Store
admin/.DS_Store
.dev-server/
3 changes: 3 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# exclude all dot-files and directories
.*

admin/i18n/flat.txt
admin/i18n/*/flat.txt
.DS_Store
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019-2021 jack-blackson blacksonj7@gmail.com
Copyright (c) 2019-2023 jack-blackson blacksonj7@gmail.com

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ Parameters here are:

## Changelog

## 1.3.0 (2023-02-22)
* (jack-blackson) Updates for dependencies

## 1.2.5 (2021-06-16)
* (jack-blackson) Bugfix to delete countdown with sendto

Expand Down Expand Up @@ -162,7 +165,7 @@ Parameters here are:
## License
The MIT License (MIT)

Copyright (c) 2019-2021 jack-blackson <blacksonj7@gmail.com>
Copyright (c) 2019-2023 jack-blackson <blacksonj7@gmail.com>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
121 changes: 22 additions & 99 deletions io-package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,21 @@
{
"common": {
"name": "countdown",
"version": "1.2.5",
"version": "1.3.0",
"news": {
"1.3.0": {
"en": "Update dependencies, small fixes",
"de": "Aktualisieren von Abhängigkeiten, kleine Fixes",
"ru": "Обновить зависимости, небольшие исправления",
"pt": "Dependências de atualização, pequenas correções",
"nl": "Update afhankelijkheid, kleine reparaties",
"fr": "Mise à jour des dépendances, petites corrections",
"it": "Aggiornare le dipendenze, piccole correzioni",
"es": "Actualizar las dependencias, pequeñas correcciones",
"pl": "Zależności aktualne",
"uk": "Оновлення залежностей, невеликих фіксаторів",
"zh-cn": "最新依赖、小配件"
},
"1.2.5": {
"en": "Bugfix to delete countdown with sendto",
"de": "Bugfix zum Löschen des Countdowns mit sendto",
Expand Down Expand Up @@ -86,105 +99,8 @@
"es": "Enlace Léame de corrección de errores y ciclo de repetición",
"pl": "Link do pliku Readme z błędem i cykl powtórzeń",
"zh-cn": "错误修正自述链接和重复周期"
}
},
"1.0.9": {
"en": "Bugfix log messages",
"de": "Bugfix-Protokollmeldungen",
"ru": "Исправление сообщений журнала",
"pt": "Mensagens de log de correções",
"nl": "Bugfix-logberichten",
"fr": "Messages du journal de correction de bogues",
"it": "Messaggi di registro bugfix",
"es": "Mensajes de registro de corrección de errores",
"pl": "Komunikaty dziennika błędów",
"zh-cn": "错误修正日志消息"
},
"1.0.8": {
"en": "Repeat countdown in defined period (e.g. every year)",
"de": "Wiederholen Sie den Countdown in einem definierten Zeitraum (z. B. jedes Jahr).",
"ru": "Повторите обратный отсчет в определенный период (например, каждый год)",
"pt": "Repita a contagem regressiva no período definido (por exemplo, todos os anos)",
"nl": "Herhaal het aftellen in een bepaalde periode (bijv. Elk jaar)",
"fr": "Répéter le compte à rebours dans la période définie (par exemple chaque année)",
"it": "Ripeti il conto alla rovescia in un periodo definito (ad es. Ogni anno)",
"es": "Repita la cuenta regresiva en un período definido (por ejemplo, cada año)",
"pl": "Powtórz odliczanie w zdefiniowanym okresie (np. Co roku)",
"zh-cn": "在定义的时间段内(例如每年)重复倒数计时"
},
"1.0.7": {
"en": "Added date format YYYY-MM-DD",
"de": "Datumsformat hinzugefügt JJJJ-MM-TT",
"ru": "Добавлен формат даты ГГГГ-ММ-ДД",
"pt": "Formato de data adicionado AAAA-MM-DD",
"nl": "Datumformaat toegevoegd JJJJ-MM-DD",
"fr": "Format de date ajouté AAAA-MM-JJ",
"it": "Aggiunto il formato della data AAAA-MM-GG",
"es": "Formato de fecha agregado AAAA-MM-DD",
"pl": "Dodano format daty RRRR-MM-DD",
"zh-cn": "添加日期格式YYYY-MM-DD"
},
"1.0.6": {
"en": "DutchmanNL: Fixed adapter type",
"de": "DutchmanNL: Adaptertyp behoben",
"ru": "DutchmanNL: фиксированный тип адаптера",
"pt": "DutchmanNL: tipo de adaptador fixo",
"nl": "DutchmanNL: Type vaste adapter",
"fr": "DutchmanNL: Type d'adaptateur fixe",
"it": "DutchmanNL: tipo di adattatore fisso",
"es": "DutchmanNL: tipo de adaptador fijo",
"pl": "DutchmanNL: Naprawiono typ adaptera",
"zh-cn": "DutchmanNL:固定适配器类型"
},
"1.0.5": {
"en": "Bugfix for countdown around midnight",
"de": "Bugfix für Countdown gegen Mitternacht",
"ru": "Исправлена ошибка обратного отсчета около полуночи",
"pt": "Correção de bug para contagem regressiva por volta da meia-noite",
"nl": "Bugfix voor aftellen rond middernacht",
"fr": "Correction d'un bug pour le compte à rebours vers minuit",
"it": "Bugfix per il conto alla rovescia verso mezzanotte",
"es": "Corrección de errores para la cuenta regresiva alrededor de la medianoche",
"pl": "Bugfix do odliczania około północy",
"zh-cn": "午夜时分倒计时的错误修正"
},
"1.0.4": {
"en": "Change in release infos",
"de": "Änderung der Release-Infos",
"ru": "Изменение в выпуске информации",
"pt": "Alterar as informações de lançamento",
"nl": "Wijziging in release-info",
"fr": "Changement dans les infos de sortie",
"it": "Modifica delle informazioni sulla versione",
"es": "Cambio en la información de lanzamiento",
"pl": "Zmiana informacji o wydaniu",
"zh-cn": "更新发布信息"
},
"1.0.3": {
"en": "Changes for Compact Mode, allow multiple instances",
"de": "Änderungen für den Kompaktmodus, mehrere Instanzen erlauben",
"ru": "Изменения в компактном режиме, позволяют несколько экземпляров",
"pt": "Alterações para o modo compacto, permitem várias instâncias",
"nl": "Wijzigingen voor de compacte modus, staan meerdere instanties toe",
"fr": "Modifications pour le mode compact, autoriser plusieurs instances",
"it": "Modifiche per la modalità compatta, consentono più istanze",
"es": "Cambios para el modo compacto, permitir múltiples instancias",
"pl": "Zmiany w trybie kompaktowym pozwalają na wiele wystąpień",
"zh-cn": "紧凑模式的更改,允许多个实例"
},
"1.0.2": {
"en": "Release Version",
"de": "Veröffentlichungsversion",
"ru": "Версия выпуска",
"pt": "Versão de lançamento",
"nl": "Uitgegeven versie",
"fr": "Version finale",
"it": "Versione di rilascio",
"es": "Versión de lanzamiento",
"pl": "Wersja wydania",
"zh-cn": "发行版"
}
},
"title": "Countdown",
"titleLang": {
"en": "Countdown",
"de": "Countdown",
Expand All @@ -195,6 +111,7 @@
"it": "Conto alla rovescia",
"es": "cuenta regresiva",
"pl": "Odliczanie",
"uk": "Відправити",
"zh-cn": "倒数"
},
"desc": {
Expand All @@ -207,6 +124,7 @@
"it": "Conto alla rovescia",
"es": "Adaptador de cuenta regresiva",
"pl": "Adapter do odliczania",
"uk": "Відлік адаптера",
"zh-cn": "倒计时适配器"
},
"authors": [
Expand All @@ -218,6 +136,11 @@
"messagebox": true,
"enabled": true,
"compact": true,
"dependencies": [
{
"js-controller": ">=3.0.0"
}
],
"readme": "https://github.com/jack-blackson/ioBroker.countdown/blob/master/README.md",
"loglevel": "info",
"keywords": ["countdown"],
Expand Down
Loading

0 comments on commit cd7f408

Please sign in to comment.