build: transition to Typescript without Babel #252
6 changed files with 1576 additions and 2421 deletions
101
.github/dependabot.yml
vendored
101
.github/dependabot.yml
vendored
|
@ -1,101 +0,0 @@
|
||||||
version: 2
|
|
||||||
updates:
|
|
||||||
- package-ecosystem: npm
|
|
||||||
directory: "/"
|
|
||||||
schedule:
|
|
||||||
interval: daily
|
|
||||||
time: "10:00"
|
|
||||||
open-pull-requests-limit: 10
|
|
||||||
reviewers:
|
|
||||||
- mcataford
|
|
||||||
labels:
|
|
||||||
- dependencies
|
|
||||||
ignore:
|
|
||||||
- dependency-name: "@types/node"
|
|
||||||
versions:
|
|
||||||
- 14.14.31
|
|
||||||
- 14.14.32
|
|
||||||
- 14.14.33
|
|
||||||
- 14.14.34
|
|
||||||
- 14.14.35
|
|
||||||
- 14.14.36
|
|
||||||
- 14.14.37
|
|
||||||
- 14.14.39
|
|
||||||
- 14.14.41
|
|
||||||
- 15.0.0
|
|
||||||
- dependency-name: eslint-config-prettier
|
|
||||||
versions:
|
|
||||||
- 8.0.0
|
|
||||||
- 8.1.0
|
|
||||||
- 8.2.0
|
|
||||||
- dependency-name: "@babel/core"
|
|
||||||
versions:
|
|
||||||
- 7.13.1
|
|
||||||
- 7.13.10
|
|
||||||
- 7.13.14
|
|
||||||
- 7.13.15
|
|
||||||
- 7.13.8
|
|
||||||
- dependency-name: "@typescript-eslint/eslint-plugin"
|
|
||||||
versions:
|
|
||||||
- 4.15.2
|
|
||||||
- 4.16.1
|
|
||||||
- 4.17.0
|
|
||||||
- 4.18.0
|
|
||||||
- 4.19.0
|
|
||||||
- 4.20.0
|
|
||||||
- 4.21.0
|
|
||||||
- dependency-name: "@typescript-eslint/parser"
|
|
||||||
versions:
|
|
||||||
- 4.15.2
|
|
||||||
- 4.16.1
|
|
||||||
- 4.17.0
|
|
||||||
- 4.18.0
|
|
||||||
- 4.19.0
|
|
||||||
- 4.20.0
|
|
||||||
- 4.21.0
|
|
||||||
- dependency-name: "@babel/cli"
|
|
||||||
versions:
|
|
||||||
- 7.13.0
|
|
||||||
- 7.13.10
|
|
||||||
- 7.13.14
|
|
||||||
- dependency-name: "@babel/preset-env"
|
|
||||||
versions:
|
|
||||||
- 7.12.11
|
|
||||||
- 7.12.13
|
|
||||||
- 7.12.16
|
|
||||||
- 7.13.0
|
|
||||||
- 7.13.10
|
|
||||||
- 7.13.12
|
|
||||||
- 7.13.5
|
|
||||||
- 7.13.8
|
|
||||||
- 7.13.9
|
|
||||||
- dependency-name: typescript
|
|
||||||
versions:
|
|
||||||
- 4.2.2
|
|
||||||
- 4.2.3
|
|
||||||
- dependency-name: eslint
|
|
||||||
versions:
|
|
||||||
- 7.18.0
|
|
||||||
- 7.19.0
|
|
||||||
- 7.20.0
|
|
||||||
- dependency-name: prettier
|
|
||||||
versions:
|
|
||||||
- 2.2.1
|
|
||||||
- dependency-name: jest
|
|
||||||
versions:
|
|
||||||
- 26.6.3
|
|
||||||
- dependency-name: mock-fs
|
|
||||||
versions:
|
|
||||||
- 4.13.0
|
|
||||||
- dependency-name: semantic-release
|
|
||||||
versions:
|
|
||||||
- 17.2.3
|
|
||||||
- dependency-name: eslint-plugin-import
|
|
||||||
versions:
|
|
||||||
- 2.22.1
|
|
||||||
- dependency-name: eslint-plugin-jest
|
|
||||||
versions:
|
|
||||||
- 24.1.3
|
|
||||||
- dependency-name: node-fetch
|
|
||||||
versions:
|
|
||||||
- 2.6.1
|
|
11
.github/workflows/nodejs.yml
vendored
11
.github/workflows/nodejs.yml
vendored
|
@ -1,6 +1,9 @@
|
||||||
name: packwatch CI
|
name: packwatch CI
|
||||||
|
|
||||||
on: [pull_request]
|
on:
|
||||||
|
pull_request:
|
||||||
|
push:
|
||||||
|
branches: [master]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
|
@ -9,7 +12,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Use Node.js 12.x
|
- name: Use Node.js 12.x
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: 12.x
|
node-version: 12.x
|
||||||
- run: yarn
|
- run: yarn
|
||||||
|
@ -24,7 +27,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
- run: yarn
|
- run: yarn
|
||||||
|
@ -44,7 +47,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
- run: yarn --immutable
|
- run: yarn --immutable
|
||||||
|
|
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
@ -13,9 +13,9 @@ jobs:
|
||||||
needs: [build, lint, test]
|
needs: [build, lint, test]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v2
|
||||||
- name: Node setup
|
- name: Node setup
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: 14
|
node-version: 14
|
||||||
- name: Prepare
|
- name: Prepare
|
||||||
|
|
14
package.json
14
package.json
|
@ -40,19 +40,19 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tophat/eslint-config": "^0.7.0",
|
"@tophat/eslint-config": "^0.7.0",
|
||||||
"@types/jest": "^26.0.19",
|
"@types/jest": "26.0.23",
|
||||||
"@types/node": "^14.14.13",
|
"@types/node": "14.17.2",
|
||||||
"@typescript-eslint/eslint-plugin": "^4.26.0",
|
"@typescript-eslint/eslint-plugin": "^4.26.0",
|
||||||
"@typescript-eslint/parser": "^4.26.0",
|
"@typescript-eslint/parser": "^4.26.0",
|
||||||
"eslint": "^7.0.0",
|
"eslint": "^7.0.0",
|
||||||
"eslint-config-prettier": "^7.2.0",
|
"eslint-config-prettier": "8.3.0",
|
||||||
"eslint-import-resolver-node": "^0.3.4",
|
"eslint-import-resolver-node": "^0.3.4",
|
||||||
"eslint-plugin-import": "^2.22.1",
|
"eslint-plugin-import": "^2.22.1",
|
||||||
"eslint-plugin-jest": "^24.1.5",
|
"eslint-plugin-jest": "^24.1.5",
|
||||||
"eslint-plugin-prettier": "^3.1.2",
|
"eslint-plugin-prettier": "3.4.0",
|
||||||
"jest": "^26.0.1",
|
"jest": "27.0.4",
|
||||||
"prettier": "^2.0.5",
|
"prettier": "2.3.1",
|
||||||
"ts-jest": "^26",
|
"ts-jest": "^27.0.2",
|
||||||
"typescript": "^4.3.2"
|
"typescript": "^4.3.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
5
renovate.json
Normal file
5
renovate.json
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"extends": [
|
||||||
|
"config:base"
|
||||||
|
]
|
||||||
|
}
|
Reference in a new issue