Skip to content

Commit

Permalink
fix(compatibility): add support for TypeScript 4.7 or higher (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
wellwelwel authored Mar 15, 2024
1 parent 35c6ea5 commit b44f965
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 15 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[node-version-url]: https://github.com/nodejs/node
[node-version-image]: https://img.shields.io/badge/Node.js->=6.0.0-badc58
[node-version-image]: https://img.shields.io/badge/Node.js->=%206.0.0-badc58
[bun-version-url]: https://github.com/oven-sh/bun
[bun-version-image]: https://img.shields.io/badge/Bun->=0.5.3-f471b5
[bun-version-image]: https://img.shields.io/badge/Bun->=%200.5.3-f471b5
[deno-version-url]: https://github.com/denoland/deno
[deno-version-image]: https://img.shields.io/badge/Deno->=1.30.0-70ffaf
[deno-version-image]: https://img.shields.io/badge/Deno->=%201.30.0-70ffaf
[typescript-url]: https://github.com/microsoft/TypeScript
[typescript-version-image]: https://img.shields.io/badge/TypeScript->=5.0.2-3077c6
[typescript-version-image]: https://img.shields.io/badge/TypeScript->=%204.7.2-3077c6
[ci-url]: https://github.com/wellwelwel/poku/actions/workflows/ci.yml?query=branch%3Amain
[ci-image]: https://img.shields.io/github/actions/workflow/status/wellwelwel/poku/ci.yml?event=push&style=flat&label=CI&branch=main
[ql-url]: https://github.com/wellwelwel/poku/actions/workflows/codeql.yml?query=branch%3Amain
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/get-runtime.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { Configs } from '../@types/poku.ts';
import type { Configs } from '../@types/poku.js';

declare const Deno: unknown;
declare const Bun: unknown;
Expand Down
8 changes: 4 additions & 4 deletions website/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ import Success from '@site/static/img/success.svg';
import '@site/src/css/features.scss';

[node-version-url]: https://github.com/nodejs/node
[node-version-image]: https://img.shields.io/badge/Node.js->=6.0.0-badc58
[node-version-image]: https://img.shields.io/badge/Node.js->=%206.0.0-badc58
[bun-version-url]: https://github.com/oven-sh/bun
[bun-version-image]: https://img.shields.io/badge/Bun->=0.5.3-f471b5
[bun-version-image]: https://img.shields.io/badge/Bun->=%200.5.3-f471b5
[deno-version-url]: https://github.com/denoland/deno
[deno-version-image]: https://img.shields.io/badge/Deno->=1.30.0-70ffaf
[deno-version-image]: https://img.shields.io/badge/Deno->=%201.30.0-70ffaf
[npm-image]: https://img.shields.io/npm/v/poku.svg?color=3dc1d3
[npm-url]: https://npmjs.org/package/poku
[typescript-url]: https://github.com/microsoft/TypeScript
[typescript-version-image]: https://img.shields.io/badge/TypeScript->=5.0.2-3077c6
[typescript-version-image]: https://img.shields.io/badge/TypeScript->=%204.7.2-3077c6
[license-url]: https://github.com/wellwelwel/poku/blob/main/LICENSE
[license-image]: https://img.shields.io/npm/l/poku.svg?maxAge=2592000&color=9c88ff&label=License
[downloads-image]: https://img.shields.io/npm/dt/poku.svg?&color=FFC312&label=Downloads
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ import Success from '@site/static/img/success.svg';
import '@site/src/css/features.scss';

[node-version-url]: https://github.com/nodejs/node
[node-version-image]: https://img.shields.io/badge/Node.js->=6.0.0-badc58
[node-version-image]: https://img.shields.io/badge/Node.js->=%206.0.0-badc58
[bun-version-url]: https://github.com/oven-sh/bun
[bun-version-image]: https://img.shields.io/badge/Bun->=0.5.3-f471b5
[bun-version-image]: https://img.shields.io/badge/Bun->=%200.5.3-f471b5
[deno-version-url]: https://github.com/denoland/deno
[deno-version-image]: https://img.shields.io/badge/Deno->=1.30.0-70ffaf
[deno-version-image]: https://img.shields.io/badge/Deno->=%201.30.0-70ffaf
[npm-image]: https://img.shields.io/npm/v/poku.svg?color=3dc1d3
[npm-url]: https://npmjs.org/package/poku
[typescript-url]: https://github.com/microsoft/TypeScript
[typescript-version-image]: https://img.shields.io/badge/TypeScript->=5.0.2-3077c6
[typescript-version-image]: https://img.shields.io/badge/TypeScript->=%204.7.2-3077c6
[license-url]: https://github.com/wellwelwel/poku/blob/main/LICENSE
[license-image]: https://img.shields.io/npm/l/poku.svg?maxAge=2592000&color=9c88ff&label=Licença
[downloads-image]: https://img.shields.io/npm/dt/poku.svg?&color=FFC312&label=Downloads
Expand Down
6 changes: 4 additions & 2 deletions website/src/css/features.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
@include flex(row, center, flex-start);
gap: 7.5px;
margin: 0;
word-break: keep-all;
// word-break: keep-all;
opacity: 0;
animation: 0.25s run-poku 0.025s cubic-bezier(0.64, -0.14, 0.44, 1.36)
forwards;
Expand All @@ -20,7 +20,7 @@
& > span,
& > a {
color: #fff;
white-space: nowrap;
// white-space: nowrap;

&.v-center {
@include flex(row, center, flex-start);
Expand Down Expand Up @@ -48,7 +48,9 @@
}

& > svg {
min-width: 18px;
width: 18px;
min-height: 18px;
height: 18px;
}
}
Expand Down

0 comments on commit b44f965

Please sign in to comment.