From 06d0ffa488dae70f4fa921d66e84e7184001ae0a Mon Sep 17 00:00:00 2001 From: Leandro Facchinetti Date: Thu, 13 Oct 2022 21:06:00 +0100 Subject: [PATCH] --- .github/FUNDING.yml | 6 +++++- .github/workflows/main.yml | 33 ++++++++++++++++----------------- LICENSE | 2 +- README.md | 31 +++++++++++++++++++++++++++++++ package.json | 8 +++++++- tsconfig.json | 13 ++++++++----- 6 files changed, 68 insertions(+), 25 deletions(-) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index c54a6a8..ba3b80a 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,3 +1,7 @@ patreon: leafac -custom: "https://paypal.me/LeandroFacchinettiEU" +custom: + [ + "https://paypal.me/LeandroFacchinettiEU", + "https://btc.com/34KJBgtaFYMtDqpSgMayw9qiKWg2GQXA9M", + ] github: leafac diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b0c5620..39c2060 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,14 +20,14 @@ jobs: artifact: kill-the-newsletter--linux--${{ github.sha }}.tgz runs-on: ${{ matrix.os }}-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 - run: | npm ci ${{ matrix.build }} - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: name: ${{ matrix.artifact }} path: ${{ matrix.artifact }} @@ -36,13 +36,12 @@ jobs: strategy: matrix: os: [windows, macos, ubuntu] - node-version: [14, 15, 16] runs-on: ${{ matrix.os }}-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: - node-version: ${{ matrix.node-version }} + node-version: 18 - run: npm install-ci-test deploy: @@ -50,11 +49,11 @@ jobs: needs: [insiders-build, test] runs-on: ubuntu-latest steps: - - uses: webfactory/ssh-agent@v0.5.0 + - uses: webfactory/ssh-agent@v0.5.4 with: ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} - - uses: actions/checkout@v2 - - uses: actions/download-artifact@v2 + - uses: actions/checkout@v3 + - uses: actions/download-artifact@v3 with: name: kill-the-newsletter--linux--${{ github.sha }}.tgz - run: | @@ -82,10 +81,10 @@ jobs: needs: test runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 registry-url: https://registry.npmjs.org/ - run: npm ci && npm publish env: @@ -96,13 +95,13 @@ jobs: needs: [insiders-build, test] runs-on: ubuntu-latest steps: - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v3 with: name: kill-the-newsletter--windows--${{ github.sha }}.exe - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v3 with: name: kill-the-newsletter--macos--${{ github.sha }}.tgz - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v3 with: name: kill-the-newsletter--linux--${{ github.sha }}.tgz - run: echo "::set-output name=tag::${GITHUB_REF#refs/tags/}" diff --git a/LICENSE b/LICENSE index d898979..552710b 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2021 Leandro Facchinetti (https://leafac.com) +Copyright (c) 2022 Leandro Facchinetti (https://leafac.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 diff --git a/README.md b/README.md index 5efda73..6f1d2f7 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,34 @@ +

Kill the Newsletter!

Convert email newsletters into Atom feeds

diff --git a/package.json b/package.json index 6c71a1f..150719f 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,13 @@ "author": "Leandro Facchinetti (https://leafac.com)", "license": "MIT", "bugs": "https://github.com/leafac/kill-the-newsletter/issues", - "homepage": "https://github.com/leafac/kill-the-newsletter#readme", + "homepage": "https://github.com/leafac/kill-the-newsletter", + "funding": [ + "https://patreon.com/leafac", + "https://paypal.me/LeandroFacchinettiEU", + "https://github.com/sponsors/leafac", + "https://btc.com/34KJBgtaFYMtDqpSgMayw9qiKWg2GQXA9M" + ], "scripts": { "start": "node-dev source/index.ts", "test": "prettier --check \"source/**/*\" --end-of-line auto && jest", diff --git a/tsconfig.json b/tsconfig.json index 4bffa8e..03f71e3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,11 +1,14 @@ { "compilerOptions": { - "rootDir": "source", - "outDir": "distribution", + "rootDir": "./source/", + "outDir": "./distribution/", - "target": "ES2019", - "module": "commonjs", - "esModuleInterop": true, + "module": "ESNext", + "moduleResolution": "NodeNext", + "lib": ["ESNext", "DOM", "DOM.Iterable"], + "skipLibCheck": true, + "allowSyntheticDefaultImports": true, + "target": "ESNext", "declaration": true, "declarationMap": true,