This commit is contained in:
parent
33ea83e0c1
commit
d9a47f1814
|
@ -23,7 +23,7 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: 15
|
node-version: 16
|
||||||
- run: |
|
- run: |
|
||||||
npm ci
|
npm ci
|
||||||
${{ matrix.build }}
|
${{ matrix.build }}
|
||||||
|
@ -36,12 +36,13 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [windows, macos, ubuntu]
|
os: [windows, macos, ubuntu]
|
||||||
|
node-version: [14, 15, 16]
|
||||||
runs-on: ${{ matrix.os }}-latest
|
runs-on: ${{ matrix.os }}-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: 15
|
node-version: ${{ matrix.node-version }}
|
||||||
- run: npm install-ci-test
|
- run: npm install-ci-test
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
|
@ -84,7 +85,7 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: 15
|
node-version: 16
|
||||||
registry-url: https://registry.npmjs.org/
|
registry-url: https://registry.npmjs.org/
|
||||||
- run: npm ci && npm publish
|
- run: npm ci && npm publish
|
||||||
env:
|
env:
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
/node_modules/
|
/node_modules/
|
||||||
/lib/
|
/distribution/
|
||||||
/data/
|
/data/
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
19
package.json
19
package.json
|
@ -2,10 +2,10 @@
|
||||||
"name": "kill-the-newsletter",
|
"name": "kill-the-newsletter",
|
||||||
"version": "1.0.1",
|
"version": "1.0.1",
|
||||||
"description": "Convert email newsletters into Atom feeds",
|
"description": "Convert email newsletters into Atom feeds",
|
||||||
"main": "lib/index.js",
|
"main": "distribution/index.js",
|
||||||
"types": "lib/index.d.ts",
|
"types": "distribution/index.d.ts",
|
||||||
"bin": {
|
"bin": {
|
||||||
"kill-the-newsletter": "lib/index.js"
|
"kill-the-newsletter": "distribution/index.js"
|
||||||
},
|
},
|
||||||
"repository": "leafac/kill-the-newsletter",
|
"repository": "leafac/kill-the-newsletter",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
@ -20,8 +20,8 @@
|
||||||
"bugs": "https://github.com/leafac/kill-the-newsletter/issues",
|
"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#readme",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "ts-node-dev --poll src/index.ts",
|
"start": "ts-node-dev --poll source/index.ts",
|
||||||
"test": "prettier --check \"src/**/*\" --end-of-line auto && jest",
|
"test": "prettier --check \"source/**/*\" --end-of-line auto && jest",
|
||||||
"prepare": "tsc"
|
"prepare": "tsc"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -40,24 +40,23 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/express": "^4.17.11",
|
"@types/express": "^4.17.11",
|
||||||
"@types/fs-extra": "^9.0.8",
|
"@types/fs-extra": "^9.0.8",
|
||||||
"@types/jest": "^26.0.20",
|
"@types/jest": "^27.0.1",
|
||||||
"@types/mailparser": "^3.0.2",
|
"@types/mailparser": "^3.0.2",
|
||||||
"@types/node": "^14.14.33",
|
"@types/node": "^14.14.33",
|
||||||
"@types/nodemailer": "^6.4.0",
|
"@types/nodemailer": "^6.4.0",
|
||||||
"@types/smtp-server": "^3.5.6",
|
"@types/smtp-server": "^3.5.6",
|
||||||
"caxa": "^1.0.0",
|
"caxa": "^1.0.0",
|
||||||
"got": "^11.8.2",
|
"got": "^11.8.2",
|
||||||
"jest": "^26.6.3",
|
"jest": "^27.1.0",
|
||||||
"nodemailer": "^6.4.18",
|
"nodemailer": "^6.4.18",
|
||||||
"prettier": "^2.2.1",
|
"prettier": "^2.2.1",
|
||||||
"ts-jest": "^26.5.3",
|
"ts-jest": "^27.0.5",
|
||||||
"ts-node": "^9.1.1",
|
"ts-node": "^9.1.1",
|
||||||
"ts-node-dev": "^1.1.6",
|
"ts-node-dev": "^1.1.6",
|
||||||
"typescript": "^4.2.3"
|
"typescript": "^4.2.3"
|
||||||
},
|
},
|
||||||
"jest": {
|
"jest": {
|
||||||
"rootDir": "src",
|
|
||||||
"preset": "ts-jest",
|
"preset": "ts-jest",
|
||||||
"testEnvironment": "node"
|
"rootDir": "source"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"rootDir": "src",
|
"rootDir": "source",
|
||||||
"outDir": "lib",
|
"outDir": "distribution",
|
||||||
|
|
||||||
"target": "ES2019",
|
"target": "ES2019",
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
|
|
Loading…
Reference in New Issue