Skip to content

Commit

Permalink
Merge branch 'main' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinigami92 committed Sep 26, 2022
2 parents d5f696e + 8dcb584 commit 6e9f0d5
Show file tree
Hide file tree
Showing 5 changed files with 80 additions and 57 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ jobs:
run: pnpm vitest run --coverage

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3.1.0
uses: codecov/codecov-action@v3.1.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,12 @@
"@types/glob": "~8.0.0",
"@types/markdown-it": "~12.2.3",
"@types/node": "~18.7.13",
"@types/prettier": "~2.7.0",
"@types/prettier": "~2.7.1",
"@types/react": "~18.0.20",
"@types/sanitize-html": "~2.6.2",
"@types/validator": "~13.7.6",
"@typescript-eslint/eslint-plugin": "~5.37.0",
"@typescript-eslint/parser": "~5.37.0",
"@typescript-eslint/eslint-plugin": "~5.38.0",
"@typescript-eslint/parser": "~5.38.0",
"@vitest/coverage-c8": "~0.23.4",
"@vitest/ui": "~0.23.4",
"c8": "~7.12.0",
Expand Down Expand Up @@ -137,7 +137,7 @@
"vitepress": "1.0.0-alpha.15",
"vitest": "~0.23.4"
},
"packageManager": "pnpm@7.12.0",
"packageManager": "pnpm@7.12.2",
"engines": {
"node": ">=14.0.0",
"npm": ">=6.0.0"
Expand Down
87 changes: 41 additions & 46 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 28 additions & 0 deletions src/locales/en/science/unit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,32 @@ export default Object.freeze([
name: 'sievert',
symbol: 'Sv',
},
{
name: 'steradian',
symbol: 'sr',
},
{
name: 'farad',
symbol: 'F',
},
{
name: 'siemens',
symbol: 'S',
},
{
name: 'weber',
symbol: 'Wb',
},
{
name: 'henry',
symbol: 'H',
},
{
name: 'lux',
symbol: 'lx',
},
{
name: 'katal',
symbol: 'kat',
},
]);
12 changes: 6 additions & 6 deletions test/__snapshots__/science.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ exports[`science > 42 > chemicalElement 1`] = `

exports[`science > 42 > unit 1`] = `
{
"name": "hertz",
"symbol": "Hz",
"name": "pascal",
"symbol": "Pa",
}
`;

Expand All @@ -25,8 +25,8 @@ exports[`science > 1211 > chemicalElement 1`] = `

exports[`science > 1211 > unit 1`] = `
{
"name": "gray",
"symbol": "Gy",
"name": "henry",
"symbol": "H",
}
`;

Expand All @@ -40,7 +40,7 @@ exports[`science > 1337 > chemicalElement 1`] = `

exports[`science > 1337 > unit 1`] = `
{
"name": "candela",
"symbol": "cd",
"name": "radian",
"symbol": "rad",
}
`;

0 comments on commit 6e9f0d5

Please sign in to comment.