Skip to content

Commit 78f0991

Browse files
authored
Upgrade deps, disable codecov (#119)
* Disable broken `codecov` integration * Run `npm audit fix` * `reflect-metadata` v0.2.2 * `tslib` v2.8.1 * Upgrade CI deps
1 parent 87afd3f commit 78f0991

File tree

5 files changed

+99
-513
lines changed

5 files changed

+99
-513
lines changed

.github/workflows/test.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,12 @@ jobs:
99
test-job:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v2
13-
- uses: actions/setup-node@v1
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-node@v4
1414
with:
15-
node-version: 16
15+
node-version: 22
1616
- run: npm ci
1717
- run: npm run build
1818
- run: npm run test:format
1919
- run: npm run test:lint
2020
- run: npm test
21-
- run: npm run send-coverage

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# class-validator-jsonschema
22

3-
[![codecov](https://codecov.io/gh/epiphone/class-validator-jsonschema/branch/master/graph/badge.svg)](https://codecov.io/gh/epiphone/class-validator-jsonschema) [![npm version](https://badge.fury.io/js/class-validator-jsonschema.svg)](https://badge.fury.io/js/class-validator-jsonschema)
3+
[![npm version](https://badge.fury.io/js/class-validator-jsonschema.svg)](https://badge.fury.io/js/class-validator-jsonschema)
44

55
Convert [class-validator](https://github.com/typestack/class-validator)-decorated classes into OpenAPI-compatible JSON Schema. The aim is to provide a best-effort conversion: since some of the `class-validator` decorators lack a direct JSON Schema counterpart, the conversion is bound to be somewhat opinionated. To account for this multiple extension points are available.
66

jest.config.js

-2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,4 @@ module.exports = {
88
moduleFileExtensions: ['ts', 'js', 'json'],
99
roots: ['<rootDir>/__tests__'],
1010
testPathIgnorePatterns: ['/node_modules/'],
11-
coverageDirectory: 'coverage',
12-
collectCoverageFrom: ['src/**/*.{ts,tsx,js,jsx}', '!src/**/*.d.ts'],
1311
}

0 commit comments

Comments
 (0)