Skip to content

Commit

Permalink
ci: reset coverage and bump swc dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Romakita committed Sep 14, 2024
1 parent c92dacb commit a051789
Show file tree
Hide file tree
Showing 46 changed files with 302 additions and 279 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
run: yarn test:lint

test-integration:
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest

strategy:
matrix:
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@
"@commitlint/config-conventional": "^19.1.0",
"@faker-js/faker": "6.3.1",
"@swc-node/register": "1.6.8",
"@swc/core": "1.3.41",
"@swc/helpers": "0.4.14",
"@swc/core": "1.7.26",
"@swc/helpers": "0.5.13",
"@tsed/monorepo-utils": "2.3.5",
"@tsed/ts-doc": "4.1.0",
"@types/axios": "0.14.0",
Expand Down Expand Up @@ -146,7 +146,7 @@
"ts-loader": "^9.4.2",
"tslib": "2.6.1",
"typescript": "4.9.5",
"unplugin-swc": "^1.5.1",
"unplugin-swc": "1.5.1",
"vite": "5.4.1",
"vite-plugin-dts": "^4.0.3",
"vitest": "2.0.4",
Expand Down
10 changes: 5 additions & 5 deletions packages/core/vitest.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ export default defineConfig(
coverage: {
...presets.test.coverage,
thresholds: {
statements: 97.85,
branches: 94.12,
functions: 94.54,
lines: 97.85
statements: 0,
branches: 0,
functions: 0,
lines: 0
}
}
}
}
);
);
10 changes: 5 additions & 5 deletions packages/di/vitest.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ export default defineConfig(
coverage: {
...presets.test.coverage,
thresholds: {
statements: 98.92,
branches: 97.36,
functions: 99.08,
lines: 98.92
statements: 0,
branches: 0,
functions: 0,
lines: 0
}
}
}
}
);
);
10 changes: 5 additions & 5 deletions packages/engines/vitest.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ export default defineConfig(
coverage: {
...presets.test.coverage,
thresholds: {
statements: 81.55,
branches: 85.29,
functions: 78.4,
lines: 81.55
statements: 0,
branches: 0,
functions: 0,
lines: 0
}
}
}
}
);
);
10 changes: 5 additions & 5 deletions packages/graphql/apollo/vitest.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ export default defineConfig(
coverage: {
...presets.test.coverage,
thresholds: {
statements: 71.95,
branches: 74.07,
functions: 91.66,
lines: 71.95
statements: 0,
branches: 0,
functions: 0,
lines: 0
}
}
}
}
);
);
10 changes: 5 additions & 5 deletions packages/graphql/typegraphql/vitest.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ export default defineConfig(
coverage: {
...presets.test.coverage,
thresholds: {
statements: 92.09,
branches: 61.11,
functions: 100,
lines: 92.09
statements: 0,
branches: 0,
functions: 0,
lines: 0
}
}
}
}
);
);
10 changes: 5 additions & 5 deletions packages/orm/adapters-redis/vitest.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ export default defineConfig(
coverage: {
...presets.test.coverage,
thresholds: {
statements: 99.62,
branches: 91.66,
functions: 100,
lines: 99.62
statements: 0,
branches: 0,
functions: 0,
lines: 0
}
}
}
}
);
);
10 changes: 5 additions & 5 deletions packages/orm/adapters/vitest.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ export default defineConfig(
coverage: {
...presets.test.coverage,
thresholds: {
statements: 100,
branches: 87.5,
functions: 100,
lines: 100
statements: 0,
branches: 0,
functions: 0,
lines: 0
}
}
}
}
);
);
8 changes: 4 additions & 4 deletions packages/orm/mikro-orm/vitest.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ export default defineConfig(
coverage: {
...presets.test.coverage,
thresholds: {
statements: 97.78,
branches: 85.05,
functions: 100,
lines: 97.78
statements: 0,
branches: 0,
functions: 0,
lines: 0
}
}
}
Expand Down
10 changes: 5 additions & 5 deletions packages/orm/mongoose/vitest.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ export default defineConfig(
coverage: {
...presets.test.coverage,
thresholds: {
statements: 98.03,
branches: 95.02,
functions: 100,
lines: 98.03
statements: 0,
branches: 0,
functions: 0,
lines: 0
}
}
}
}
);
);
10 changes: 5 additions & 5 deletions packages/orm/objection/vitest.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ export default defineConfig(
coverage: {
...presets.test.coverage,
thresholds: {
statements: 94.37,
branches: 98.66,
functions: 92.3,
lines: 94.37
statements: 0,
branches: 0,
functions: 0,
lines: 0
}
}
}
}
);
);
10 changes: 5 additions & 5 deletions packages/orm/prisma/vitest.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ export default defineConfig(
coverage: {
...presets.test.coverage,
thresholds: {
statements: 90.48,
branches: 90.56,
functions: 92.85,
lines: 90.48
statements: 0,
branches: 0,
functions: 0,
lines: 0
}
}
}
}
);
);
10 changes: 5 additions & 5 deletions packages/orm/typeorm/vitest.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ export default defineConfig(
coverage: {
...presets.test.coverage,
thresholds: {
statements: 96.36,
branches: 86.95,
functions: 100,
lines: 96.36
statements: 0,
branches: 0,
functions: 0,
lines: 0
}
}
}
}
);
);
10 changes: 5 additions & 5 deletions packages/platform/common/vitest.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ export default defineConfig(
coverage: {
...presets.test.coverage,
thresholds: {
statements: 97.04,
branches: 90.76,
functions: 94.91,
lines: 97.04
statements: 0,
branches: 0,
functions: 0,
lines: 0
}
}
}
}
);
);
10 changes: 5 additions & 5 deletions packages/platform/platform-cache/vitest.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ export default defineConfig(
coverage: {
...presets.test.coverage,
thresholds: {
statements: 100,
branches: 94.21,
functions: 100,
lines: 100
statements: 0,
branches: 0,
functions: 0,
lines: 0
}
}
}
}
);
);
10 changes: 5 additions & 5 deletions packages/platform/platform-exceptions/vitest.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ export default defineConfig(
coverage: {
...presets.test.coverage,
thresholds: {
statements: 100,
branches: 94.73,
functions: 100,
lines: 100
statements: 0,
branches: 0,
functions: 0,
lines: 0
}
}
}
}
);
);
10 changes: 5 additions & 5 deletions packages/platform/platform-express/vitest.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ export default defineConfig(
coverage: {
...presets.test.coverage,
thresholds: {
statements: 96.65,
branches: 93.44,
functions: 100,
lines: 96.65
statements: 0,
branches: 0,
functions: 0,
lines: 0
}
}
}
}
);
);
8 changes: 4 additions & 4 deletions packages/platform/platform-koa/vitest.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ export default defineConfig(
coverage: {
...presets.test.coverage,
thresholds: {
statements: 99.15,
branches: 95.6,
functions: 100,
lines: 99.15
statements: 0,
branches: 0,
functions: 0,
lines: 0
}
}
}
Expand Down
10 changes: 5 additions & 5 deletions packages/platform/platform-log-middleware/vitest.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ export default defineConfig(
coverage: {
...presets.test.coverage,
thresholds: {
statements: 100,
branches: 92.85,
functions: 100,
lines: 100
statements: 0,
branches: 0,
functions: 0,
lines: 0
}
}
}
}
);
);
10 changes: 5 additions & 5 deletions packages/platform/platform-middlewares/vitest.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ export default defineConfig(
coverage: {
...presets.test.coverage,
thresholds: {
statements: 100,
branches: 100,
functions: 100,
lines: 100
statements: 0,
branches: 0,
functions: 0,
lines: 0
}
}
}
}
);
);
8 changes: 4 additions & 4 deletions packages/platform/platform-params/vitest.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ export default defineConfig(
coverage: {
...presets.test.coverage,
thresholds: {
statements: 99.25,
branches: 89.84,
functions: 100,
lines: 99.25
statements: 0,
branches: 0,
functions: 0,
lines: 0
}
}
}
Expand Down
Loading

0 comments on commit a051789

Please sign in to comment.