feat: implement dynamic visibility for stats and avatar via hide
parameter
#31
Annotations
7 errors and 3 warnings
typecheck
Type 'null' is not assignable to type 'number'.
|
typecheck
Process completed with exit code 1.
|
packages/pixel-profile/test/github-stats.test.ts > Github stats > Render card without avatar:
packages/pixel-profile/src/cards/stats.ts#L92
Error: Image source is not provided.
❯ resolveImageData node_modules/.pnpm/satori@0.10.11/node_modules/satori/src/handler/image.ts:148:11
❯ node_modules/.pnpm/satori@0.10.11/node_modules/satori/src/handler/preprocess.ts:182:49
❯ preProcessNode node_modules/.pnpm/satori@0.10.11/node_modules/satori/src/handler/preprocess.ts:182:38
❯ Proxy.wl node_modules/.pnpm/satori@0.10.11/node_modules/satori/src/satori.ts:93:9
❯ Module.renderStats packages/pixel-profile/src/cards/stats.ts:92:13
❯ packages/pixel-profile/test/github-stats.test.ts:19:17
|
packages/pixel-profile/test/github-stats.test.ts > Github stats > Render card without avatar and rank, with custom color and background:
packages/pixel-profile/src/cards/stats.ts#L92
Error: Image source is not provided.
❯ resolveImageData node_modules/.pnpm/satori@0.10.11/node_modules/satori/src/handler/image.ts:148:11
❯ node_modules/.pnpm/satori@0.10.11/node_modules/satori/src/handler/preprocess.ts:182:49
❯ preProcessNode node_modules/.pnpm/satori@0.10.11/node_modules/satori/src/handler/preprocess.ts:182:38
❯ Proxy.wl node_modules/.pnpm/satori@0.10.11/node_modules/satori/src/satori.ts:93:9
❯ Module.renderStats packages/pixel-profile/src/cards/stats.ts:92:13
❯ packages/pixel-profile/test/github-stats.test.ts:38:17
|
packages/pixel-profile/test/github-stats.test.ts > Github stats > Render card with all commits, custom color, background and screen_effect:
packages/pixel-profile/src/cards/stats.ts#L92
Error: Image source is not provided.
❯ resolveImageData node_modules/.pnpm/satori@0.10.11/node_modules/satori/src/handler/image.ts:148:11
❯ node_modules/.pnpm/satori@0.10.11/node_modules/satori/src/handler/preprocess.ts:182:49
❯ preProcessNode node_modules/.pnpm/satori@0.10.11/node_modules/satori/src/handler/preprocess.ts:182:38
❯ Proxy.wl node_modules/.pnpm/satori@0.10.11/node_modules/satori/src/satori.ts:93:9
❯ Module.renderStats packages/pixel-profile/src/cards/stats.ts:92:13
❯ packages/pixel-profile/test/github-stats.test.ts:59:17
|
packages/pixel-profile/test/github-stats.test.ts > Github stats > Render card without total_stars:
packages/pixel-profile/src/cards/stats.ts#L92
Error: Image source is not provided.
❯ resolveImageData node_modules/.pnpm/satori@0.10.11/node_modules/satori/src/handler/image.ts:148:11
❯ node_modules/.pnpm/satori@0.10.11/node_modules/satori/src/handler/preprocess.ts:182:49
❯ preProcessNode node_modules/.pnpm/satori@0.10.11/node_modules/satori/src/handler/preprocess.ts:182:38
❯ Proxy.wl node_modules/.pnpm/satori@0.10.11/node_modules/satori/src/satori.ts:93:9
❯ Module.renderStats packages/pixel-profile/src/cards/stats.ts:92:13
❯ packages/pixel-profile/test/github-stats.test.ts:82:17
|
test
Process completed with exit code 1.
|
typecheck
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|