Skip to content

Commit

Permalink
test: migrate to @vitest/coverage-istanbul
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin committed Aug 17, 2022
1 parent c330f8c commit 762db48
Show file tree
Hide file tree
Showing 9 changed files with 2,150 additions and 1,756 deletions.
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@ coverage
dist
lib
CHANGELOG.md
/auto-imports.d.ts
/pnpm-lock.yaml
!/.github
!/.*.cjs
11 changes: 3 additions & 8 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
{
"root": true,
"extends": "@1stg",
"overrides": [
{
"files": "docs/**/*.tsx",
"rules": {
"react/react-in-jsx-scope": "off"
}
}
]
"rules": {
"react/react-in-jsx-scope": "off"
}
}
2 changes: 1 addition & 1 deletion .github/workflows/vercel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches:
- main
pull_request_target:
pull_request_target: null

jobs:
deploy:
Expand Down
4 changes: 4 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.type-coverage
.vercel
coverage
dist
lib
/auto-imports.d.ts
/pnpm-lock.yaml
2 changes: 1 addition & 1 deletion .remarkrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"plugins": [
"@1stg/remark-config"
"@1stg/preset"
]
}
25 changes: 12 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
},
"funding": "https://opencollective.com/unts",
"license": "MIT",
"packageManager": "pnpm@7.6.0",
"packageManager": "pnpm@7.9.0",
"engines": {
"node": "^12.20.0 || ^14.18.0 || >=16.0.0"
},
Expand All @@ -62,7 +62,6 @@
"postversion": "pnpm i --no-frozen-lockfile",
"prepare": "simple-git-hooks",
"prerelease": "pnpm build",
"prevercel-build": "pnpm build",
"release": "changeset publish",
"serve": "sirv dist -s",
"test": "vitest run --coverage",
Expand All @@ -74,30 +73,30 @@
"tslib": "^2.4.0"
},
"devDependencies": {
"@1stg/app-config": "^6.1.5",
"@1stg/lib-config": "^9.0.2",
"@1stg/app-config": "^7.1.0",
"@1stg/lib-config": "^10.0.0",
"@changesets/changelog-github": "^0.4.6",
"@changesets/cli": "^2.24.1",
"@changesets/cli": "^2.24.3",
"@pkgr/webpack": "^3.2.0",
"@pkgr/webpack-mdx": "^2.0.3",
"@size-limit/preset-small-lib": "^7.0.8",
"@size-limit/preset-small-lib": "^8.0.1",
"@types/mdx": "^2.0.2",
"@types/node": "^18.6.2",
"@types/react": "^18.0.15",
"@types/node": "^18.7.6",
"@types/react": "^18.0.17",
"@types/react-dom": "^18.0.6",
"@types/web": "^0.0.70",
"c8": "^7.12.0",
"@types/web": "^0.0.71",
"@vitest/coverage-istanbul": "^0.22.0",
"github-markdown-css": "^5.1.0",
"lib-boilerplate": "link:.",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.3.0",
"sirv-cli": "^2.0.2",
"size-limit": "^7.0.8",
"size-limit": "^8.0.1",
"type-coverage": "^2.22.0",
"typescript": "4.7.4",
"unplugin-auto-import": "^0.10.2",
"vitest": "^0.19.1"
"unplugin-auto-import": "^0.11.1",
"vitest": "^0.22.0"
},
"publishConfig": {
"main": "./lib/index.cjs",
Expand Down

0 comments on commit 762db48

Please sign in to comment.