Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
gregoranders committed Oct 29, 2023
1 parent c9ffcca commit c865fed
Show file tree
Hide file tree
Showing 12 changed files with 78 additions and 72 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ updates:
schedule:
interval: 'weekly'
labels:
- 'npm dependencies'
- 'github dependencies'
commit-message:
prefix: 'github-actions'
assignees:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codacy-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3.5.2
- uses: actions/checkout@v4.1.1
with:
submodules: recursive

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
matrix:
language: ['javascript']
steps:
- uses: actions/checkout@v3.5.2
- uses: actions/checkout@v4.1.1
with:
submodules: recursive
- uses: actions/setup-node@v3.6.0
- uses: actions/setup-node@v4.0.0
with:
node-version: 16.x
- name: Echo Node.js version
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node-version: [16.x, 18.x, 19.x]
node-version: [16.x, 18.x, 19.x, 20.x]

steps:
- uses: actions/checkout@v3.5.2
- uses: actions/checkout@v4.1.1
- name: Use Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
uses: actions/setup-node@v3.6.0
uses: actions/setup-node@v4.0.0
with:
node-version: ${{ matrix.node-version }}
- name: nodejs project information
Expand All @@ -40,13 +40,13 @@ jobs:
run: |
npm run build
- name: code coverage
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '18.x'
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '20.x'
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./test/coverage/lcov.info
- name: publish code coverage to code climate
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '18.x'
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '20.x'
uses: paambaati/codeclimate-action@v4.0.0
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
Expand All @@ -55,7 +55,7 @@ jobs:
coverageLocations: |
./test/coverage/lcov.info:lcov
- name: run codacy-coverage-reporter
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '18.x'
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '20.x'
uses: codacy/codacy-coverage-reporter-action@master
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/feature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node-version: [16.x, 18.x, 19.x]
node-version: [16.x, 18.x, 19.x, 20.x]

steps:
- uses: actions/checkout@v3.5.2
- uses: actions/checkout@v4.1.1
- name: Use Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
uses: actions/setup-node@v3.6.0
uses: actions/setup-node@v4.0.0
with:
node-version: ${{ matrix.node-version }}
- name: nodejs project information
Expand All @@ -40,13 +40,13 @@ jobs:
run: |
npm run build
- name: code coverage
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '18.x'
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '20.x'
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./test/coverage/lcov.info
- name: publish code coverage to code climate
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '18.x'
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '20.x'
uses: paambaati/codeclimate-action@v4.0.0
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
Expand All @@ -55,7 +55,7 @@ jobs:
coverageLocations: |
./test/coverage/lcov.info:lcov
- name: run codacy-coverage-reporter
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '18.x'
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '20.x'
uses: codacy/codacy-coverage-reporter-action@master
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node-version: [16.x, 18.x, 19.x]
node-version: [16.x, 18.x, 19.x, 20.x]

steps:
- uses: actions/checkout@v3.5.2
- uses: actions/checkout@v4.1.1
- name: Use Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
uses: actions/setup-node@v3.6.0
uses: actions/setup-node@v4.0.0
with:
node-version: ${{ matrix.node-version }}
- name: nodejs project information
Expand All @@ -40,13 +40,13 @@ jobs:
run: |
npm run build
- name: code coverage
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '18.x'
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '20.x'
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./test/coverage/lcov.info
- name: publish code coverage to code climate
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '18.x'
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '20.x'
uses: paambaati/codeclimate-action@v4.0.0
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
Expand All @@ -55,7 +55,7 @@ jobs:
coverageLocations: |
./test/coverage/lcov.info:lcov
- name: run codacy-coverage-reporter
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '18.x'
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '20.x'
uses: codacy/codacy-coverage-reporter-action@master
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
Expand All @@ -66,7 +66,7 @@ jobs:
check_name: Unit Test Results node${{ matrix.node-version }}-${{ matrix.os }}
files: test/junit.xml
- name: create release
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '18.x'
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '20.x'
id: createrelease
uses: gregoranders/nodejs-create-release@master
env:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ jobs:
node-version: [16.x]

steps:
- uses: actions/checkout@v3.5.2
- uses: actions/checkout@v4.1.1
with:
submodules: recursive
- name: Use Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
uses: actions/setup-node@v3.6.0
uses: actions/setup-node@v4.0.0
with:
node-version: ${{ matrix.node-version }}
registry-url: 'https://registry.npmjs.org/'
Expand All @@ -47,7 +47,7 @@ jobs:
# npm publish
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
# - uses: actions/setup-node@v3.6.0
# - uses: actions/setup-node@v4.0.0
# with:
# registry-url: 'https://npm.pkg.github.com'
# - run: npm publish
Expand Down
4 changes: 3 additions & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

lint-staged && npm test && npm run build
npx lint-staged
npm test
npm run build
8 changes: 7 additions & 1 deletion .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm run clear && npm install && lint-staged && npm test && npm run build && npm run codeclimate && npm run codacy
npm run clear
npm install
npx lint-staged
npm test
npm run build
npm run codeclimate
npm run codacy
4 changes: 1 addition & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
},
"eslint.validate": ["javascript", "typescript"],
"typescript.tsdk": "node_modules/typescript/lib",
"files.associations": {
"*.json": "jsonc"
},
"files.associations": { "api-extractor.json": "jsonc" },
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
Expand Down
20 changes: 10 additions & 10 deletions docs/CODECLIMATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

## Docker image sizes

```sh
codeclimate/codeclimate 110MB
codeclimate/codeclimate-eslint 1.25GB
codeclimate/codeclimate-structure 5.16GB
codeclimate/codeclimate-duplication 5.16GB
codeclimate/codeclimate-tslint 559MB
codeclimate/codeclimate-editorconfig 74.1MB
codeclimate/codeclimate-fixme 58.8MB
codeclimate/codeclimate-git-legal 373MB
```
| Image | Size |
| :----------------------------------- | -----: |
| codeclimate/codeclimate | 143MB |
| codeclimate/codeclimate-duplication | 6.07GB |
| codeclimate/codeclimate-editorconfig | 74.1MB |
| codeclimate/codeclimate-eslint | 1.44GB |
| codeclimate/codeclimate-fixme | 64.8MB |
| codeclimate/codeclimate-git-legal | 373MB |
| codeclimate/codeclimate-markdownlint | 392MB |
| codeclimate/codeclimate-structure | 6.05GB |

### Initial docker images

Expand Down
62 changes: 31 additions & 31 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@
"SECURITY.md"
],
"scripts": {
"clear": "rimraf ./dist/* ./temp/* ./test/* ./node_modules ./package-lock.json ./docs-tmp/* ./etc/*",
"clear": "rimraf -g ./dist/* ./temp/* ./test/* ./node_modules ./package-lock.json ./docs-tmp/* ./etc/*",
"start": "ts-node ./src/index.ts",
"prebuild": "eslint ./src/**/*.ts --quiet --fix",
"build": "cross-env NODE_ENV=production tsc --project ./",
"postbuild": "npm run docs",
"pretest": "rimraf ./test/*",
"pretest": "rimraf -g ./test/*",
"test": "jest",
"watch": "tsc --watch --project ./",
"prepare": "husky install",
Expand Down Expand Up @@ -101,44 +101,44 @@
"testRegex": "/src/.*\\.spec\\.ts$"
},
"dependencies": {
"@actions/core": "1.10.0",
"@actions/github": "5.1.1",
"@octokit/core": "4.1.0",
"@octokit/rest": "19.0.5"
"@actions/core": "1.10.1",
"@actions/github": "6.0.0",
"@octokit/core": "5.0.1",
"@octokit/rest": "20.0.2"
},
"devDependencies": {
"@commitlint/cli": "17.5.1",
"@commitlint/config-conventional": "17.6.3",
"@microsoft/api-documenter": "7.19.27",
"@microsoft/api-extractor": "7.33.7",
"@octokit/types": "8.0.0",
"@types/fancy-log": "2.0.0",
"@types/jest": "29.5.1",
"@types/libsodium-wrappers": "0.7.10",
"@typescript-eslint/eslint-plugin": "5.48.0",
"@typescript-eslint/parser": "5.47.1",
"@commitlint/cli": "18.2.0",
"@commitlint/config-conventional": "18.1.0",
"@microsoft/api-documenter": "7.23.9",
"@microsoft/api-extractor": "7.38.0",
"@octokit/types": "12.1.1",
"@types/fancy-log": "2.0.1",
"@types/jest": "29.5.6",
"@types/libsodium-wrappers": "0.7.12",
"@typescript-eslint/eslint-plugin": "6.9.0",
"@typescript-eslint/parser": "6.9.0",
"cpx": "1.5.0",
"cross-env": "7.0.3",
"eslint": "8.42.0",
"eslint-config-prettier": "8.8.0",
"eslint-plugin-jest": "27.2.1",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-unicorn": "45.0.2",
"eslint": "8.52.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-jest": "27.6.0",
"eslint-plugin-prettier": "5.0.1",
"eslint-plugin-unicorn": "48.0.1",
"fancy-log": "2.0.0",
"generate-changelog": "1.8.0",
"husky": "8.0.3",
"jest": "29.3.1",
"jest-cli": "29.3.1",
"jest-html-reporter": "3.10.0",
"jest-junit": "15.0.0",
"jest": "29.7.0",
"jest-cli": "29.7.0",
"jest-html-reporter": "3.10.2",
"jest-junit": "16.0.0",
"jest-spec-reporter": "1.0.19",
"libsodium-wrappers": "0.7.11",
"lint-staged": "13.1.0",
"prettier": "2.8.7",
"rimraf": "5.0.0",
"ts-jest": "29.0.3",
"libsodium-wrappers": "0.7.13",
"lint-staged": "15.0.2",
"prettier": "3.0.3",
"rimraf": "5.0.5",
"ts-jest": "29.1.1",
"ts-node": "10.9.1",
"tsdef": "0.0.14",
"typescript": "4.9.4"
"typescript": "5.2.2"
}
}

0 comments on commit c865fed

Please sign in to comment.