Skip to content

Commit b655b70

Browse files
Merge pull request darraghoriordan#18 from darraghoriordan/fix/update-deps
fix: update deps and change to yarn
2 parents 1e12619 + 498d085 commit b655b70

File tree

7 files changed

+6950
-10659
lines changed

7 files changed

+6950
-10659
lines changed

.eslintrc.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ module.exports = {
2323
"import/extensions": [".ts"],
2424
},
2525
rules: {
26+
"import/default": "off",
27+
"import/no-named-as-default": "off",
28+
"import/no-named-as-default-member": "off",
2629
"import/namespace": "off", // this is very slow
2730
"unicorn/filename-case": [
2831
"warn",

.github/workflows/buildPR.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ jobs:
1111
- uses: actions/setup-node@v1
1212
with:
1313
node-version: "14"
14-
- run: npm ci
15-
- run: npm run test
16-
- run: npm run build
14+
- run: yarn
15+
- run: yarn test
16+
- run: yarn build

.github/workflows/publishToNpm.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
- uses: actions/setup-node@v1
1212
with:
1313
node-version: "14"
14-
- run: npm ci
15-
- run: npm run test
16-
- run: npm run build
14+
- run: yarn
15+
- run: yarn test
16+
- run: yarn build
1717
- name: Release
1818
env:
1919
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

package-lock.json

Lines changed: 0 additions & 10633 deletions
This file was deleted.

package.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -40,36 +40,36 @@
4040
"main": "dist/index.js",
4141
"types": "index.d.ts",
4242
"dependencies": {
43-
"@typescript-eslint/experimental-utils": "5.1.0",
44-
"@typescript-eslint/scope-manager": "5.1.0",
43+
"@typescript-eslint/experimental-utils": "5.5.0",
44+
"@typescript-eslint/scope-manager": "5.5.0",
4545
"eslint-module-utils": "2.7.1",
4646
"reflect-metadata": "0.1.13"
4747
},
4848
"devDependencies": {
49-
"@commitlint/cli": "12.1.1",
50-
"@commitlint/config-conventional": "12.1.1",
51-
"@semantic-release/changelog": "5.0.1",
52-
"@semantic-release/exec": "5.0.0",
49+
"@commitlint/cli": "15.0.0",
50+
"@commitlint/config-conventional": "15.0.0",
51+
"@semantic-release/changelog": "6.0.1",
52+
"@semantic-release/exec": "6.0.2",
5353
"@types/eslint": "8.2.0",
54-
"@types/jest": "26.0.23",
55-
"@types/node": "15.6.1",
56-
"@typescript-eslint/eslint-plugin": "5.1.0",
57-
"@typescript-eslint/parser": "5.1.0",
58-
"eslint": "8.1.0",
54+
"@types/jest": "27.0.3",
55+
"@types/node": "16.11.11",
56+
"@typescript-eslint/eslint-plugin": "5.5.0",
57+
"@typescript-eslint/parser": "5.5.0",
58+
"eslint": "8.3.0",
5959
"eslint-config-prettier": "8.3.0",
6060
"eslint-plugin-import": "2.25.3",
61-
"eslint-plugin-jsdoc": "37.0.0",
61+
"eslint-plugin-jsdoc": "37.1.0",
6262
"eslint-plugin-prefer-arrow": "1.2.3",
63-
"eslint-plugin-unicorn": "37.0.1",
64-
"husky": "6.0.0",
65-
"jest": "27.3.1",
66-
"jest-create-mock-instance": "1.1.0",
63+
"eslint-plugin-unicorn": "39.0.0",
64+
"husky": "7.0.4",
65+
"jest": "27.4.2",
66+
"jest-create-mock-instance": "2.0.0",
6767
"jest-junit": "13.0.0",
68-
"lint-staged": "11.2.4",
69-
"prettier": "2.3.0",
70-
"semantic-release": "17.4.3",
68+
"lint-staged": "12.1.2",
69+
"prettier": "2.5.0",
70+
"semantic-release": "18.0.1",
7171
"ts-jest": "27.0.7",
72-
"typescript": "4.4.4"
72+
"typescript": "4.5.2"
7373
},
7474
"peerDependencies": {
7575
"@typescript-eslint/parser": "^5.0.0",

src/fixtures/file.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/* eslint-disable unicorn/no-empty-file */

0 commit comments

Comments
 (0)