@checkdigit/typescript-config 3.0.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,40 @@
1
+ name: CI
2
+
3
+ on:
4
+ pull_request:
5
+ branches:
6
+ - "main"
7
+
8
+ jobs:
9
+ branchBuild:
10
+ runs-on: ubuntu-latest
11
+ name: Branch Build
12
+ strategy:
13
+ matrix:
14
+ node-version: [16.x]
15
+ steps:
16
+ - uses: actions/checkout@v3
17
+ with:
18
+ ref: ${{ github.event.pull_request.head.sha }}
19
+ - name: Use Node.js ${{ matrix.node-version }}
20
+ uses: actions/setup-node@v3
21
+ with:
22
+ node-version: ${{ matrix.node-version }}
23
+ cache: 'npm'
24
+ - name: Install dependencies
25
+ run: npm ci
26
+ env:
27
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
28
+ CI: true
29
+ - name: Compile
30
+ run: npm run ci:compile
31
+ env:
32
+ CI: true
33
+ - name: Check Code Style
34
+ run: npm run ci:style
35
+ env:
36
+ CI: true
37
+ - name: Run Tests
38
+ run: npm run ci:test
39
+ env:
40
+ CI: true
package/README.md CHANGED
@@ -1,7 +1,6 @@
1
1
  # checkdigit/typescript-config
2
2
 
3
3
  [![MIT License](https://img.shields.io/github/license/checkdigit/typescript-config)](https://github.com/checkdigit/typescript-config/blob/master/LICENSE.txt)
4
- [![David](https://status.david-dm.org/gh/checkdigit/typescript-config.svg)](https://status.david-dm.org/gh/checkdigit/typescript-config.svg)
5
4
 
6
5
  Copyright (c) 2022 [Check Digit, LLC](https://checkdigit.com)
7
6
 
package/package.json CHANGED
@@ -1,13 +1,14 @@
1
1
  {
2
2
  "name": "@checkdigit/typescript-config",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "Check Digit standard Typescript configuration",
5
5
  "prettier": "@checkdigit/prettier-config",
6
6
  "engines": {
7
7
  "node": ">=16"
8
8
  },
9
9
  "peerDependencies": {
10
- "typescript": ">=4.7.2"
10
+ "typescript": ">=4.7.4",
11
+ "@types/node": ">=16"
11
12
  },
12
13
  "repository": {
13
14
  "type": "git",
@@ -24,11 +25,13 @@
24
25
  "postversion": "git push && git push --tags",
25
26
  "prettier": "prettier --list-different 'src/**/*.ts'",
26
27
  "prettier:fix": "prettier --write 'src/**/*.ts'",
27
- "test": "tsc && node build/index.js | grep -q 'complete' && rimraf build && npm run prettier"
28
+ "test": "npm run ci:compile && npm run ci:test && npm run ci:style",
29
+ "ci:compile": "tsc --noEmit",
30
+ "ci:test": "tsc && node build/index.js | grep -q 'complete' && rimraf build",
31
+ "ci:style": "npm run prettier"
28
32
  },
29
33
  "devDependencies": {
30
- "@checkdigit/prettier-config": "2.0.1",
31
- "@types/node": "^17.0.35",
34
+ "@checkdigit/prettier-config": "2.1.0",
32
35
  "rimraf": "^3.0.2"
33
36
  }
34
37
  }
package/.travis.yml DELETED
@@ -1,7 +0,0 @@
1
- language: node_js
2
- node_js:
3
- - "16"
4
- arch: arm64
5
- notifications:
6
- slack: checkdigit:KPANFpO8mCjIwBUXdElcj7Mr
7
- after_success: npm run coveralls