diff --git a/.github/CODE_OF_CONDUCT.md b/.github/CODE_OF_CONDUCT.md index 49a7978..d0f13d8 100644 --- a/.github/CODE_OF_CONDUCT.md +++ b/.github/CODE_OF_CONDUCT.md @@ -60,7 +60,7 @@ representative at an online or offline event. Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at -[INSERT CONTACT METHOD]. +contributing@add-to-calendar-pro.com. All complaints will be reviewed and investigated promptly and fairly. All community leaders are obligated to respect the privacy and security of the diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 559522f..2a70f7d 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -71,7 +71,7 @@ Adhering to the following process is the best way to get your work included in t ```bash # Clone your fork of the repo - git clone https://github.com//timezones-ical-library.git + git clone https://github.com/add2cal/timezones-ical-library.git # Navigate to the newly cloned directory cd add-to-calendar-button # Assign the original repo to a remote called "upstream" diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 8d3ca09..bc62dd5 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -20,11 +20,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 20 registry-url: https://registry.npmjs.org/ cache: 'npm' - name: npm ci diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 962c266..1389bf2 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -11,24 +11,31 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 20 + registry-url: https://registry.npmjs.org/ + cache: 'npm' - run: npm ci - run: npm test build-and-publish: needs: test runs-on: ubuntu-latest + permissions: + contents: read + id-token: write steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 20 registry-url: https://registry.npmjs.org/ + cache: 'npm' + - run: npm install -g npm - run: npm ci - run: npm run build - - run: npm publish + - run: npm publish --provenance env: NODE_AUTH_TOKEN: ${{secrets.NPM_SECRET}} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 916aa10..f510ae8 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,12 +9,12 @@ jobs: strategy: matrix: platform: [ubuntu-latest] - node-version: ['16'] + node-version: ['18', '20'] toolchain: [stable] runs-on: ${{ matrix.platform }} steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - name: Run tests diff --git a/demo_assets/img/fb.png b/demo_assets/img/fb.png index a258d89..14312ed 100644 Binary files a/demo_assets/img/fb.png and b/demo_assets/img/fb.png differ diff --git a/demo_assets/img/tw.png b/demo_assets/img/tw.png index 24a8391..9905d0b 100644 Binary files a/demo_assets/img/tw.png and b/demo_assets/img/tw.png differ diff --git a/generator.js b/generator.js index 1980fb2..da6da81 100644 --- a/generator.js +++ b/generator.js @@ -3,7 +3,7 @@ * Add to Calendar TimeZones iCal Library * ++++++++++++++++++++++++++++++++++++++ * - * Version: 1.7.1 + * Version: 1.7.2 * Creator: Jens Kuerschner (https://jenskuerschner.de) * Project: https://github.com/add2cal/timezones-ical-library * License: Apache-2.0 diff --git a/index.html b/index.html index 7edfb13..5affe65 100644 --- a/index.html +++ b/index.html @@ -55,7 +55,7 @@ - + @@ -263,15 +263,15 @@

Background story

This page is hosted via "GitHub Pages". It includes some very basic analytics, that still preserves your anonymity and does not use any cookies. However, mind that the GitHub privacy policy applies additionally (click here for details).

-
v1.7.1
+
v1.7.2
- + - + diff --git a/package-lock.json b/package-lock.json index e72686b..e0f1370 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "timezones-ical-library", - "version": "1.7.1", + "version": "1.7.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "timezones-ical-library", - "version": "1.7.1", + "version": "1.7.2", "license": "Apache-2.0", "devDependencies": { "@typescript-eslint/eslint-plugin": "^5.62.0", diff --git a/package.json b/package.json index 227947d..144aee4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "timezones-ical-library", - "version": "1.7.1", + "version": "1.7.2", "engines": { "node": ">=14.20.0" }, diff --git a/src/tzlib.js b/src/tzlib.js index 5d289a4..a884d9e 100644 --- a/src/tzlib.js +++ b/src/tzlib.js @@ -5,7 +5,7 @@ * Add to Calendar TimeZones iCal Library * ++++++++++++++++++++++++++++++++++++++ * - * Version: 1.7.1 + * Version: 1.7.2 * Creator: Jens Kuerschner (https://jenskuerschner.de) * Project: https://github.com/add2cal/timezones-ical-library * License: Apache-2.0 @@ -13,7 +13,7 @@ */ // eslint-disable-next-line @typescript-eslint/no-unused-vars -const tzlibVersion = '1.7.1'; +const tzlibVersion = '1.7.2'; // DEFINING THE DB DATA - WILL GET RE-WRITTEN WITH THE ACTUAL DATA ON BUILD let tzlibZonesDB,