Skip to content

Commit 9df51af

Browse files
committed
chore: upgrade deps and rebuild all
1 parent 88eec5a commit 9df51af

File tree

1,377 files changed

+59308
-73005
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,377 files changed

+59308
-73005
lines changed

.husky/pre-commit

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# Husky seems to run all hook scripts using sh, regardless of the shebang present
44
# in the git hook.

.husky/pre-push

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/usr/bin/env bash
22

33
# Husky seems to run all hook scripts using sh, regardless of the shebang present
44
# in the git hook.

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,11 @@ Install all dependencies from npm.js and setup git hooks with [husky](https://ty
3030

3131
```sh
3232
npm install --include dev
33+
npm install --save-dev [email protected]
3334
```
3435

35-
*Note:* `--include dev` is just to be sure that dev dependencies gets installed even if you have set the environment variable `NODE_ENV=production` on your machine.
36+
> [!NOTE]
37+
> The flag `--include dev` is just to make sure dev dependencies get installed even if you have set the environment variable `NODE_ENV=production` on your machine.
3638
3739
## Build
3840

@@ -63,7 +65,6 @@ npm dev:scripts
6365
Build all applications:
6466

6567
```sh
66-
npm run build -w packages/send-telegram-message
6768
npm run build -w packages/telegram-bot
6869
npm run build -w packages/wasm-news
6970
npm run build -w packages/webhooks

config/jest-lib-cloudbuild.cjs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const config = {
2-
bail: 3,
2+
// bail: 3,
33
ci: true,
44
clearMocks: true,
55
errorOnDeprecated: true,
@@ -10,7 +10,6 @@ const config = {
1010
testEnvironment: 'node',
1111
testMatch: [`<rootDir>/__tests__/**/*.test.{js,mjs}`],
1212
testRunner: 'jest-circus/runner',
13-
testTimeout: 5000,
1413
transform: {},
1514
verbose: true
1615
}

config/jest.cjs

+1-3
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,8 @@ const project = (package_name) => {
2020

2121
// https://jestjs.io/docs/configuration
2222
return {
23-
// I like to make Jest stop running tests after a few failures
2423
// https://jestjs.io/docs/configuration#bail-number--boolean
25-
bail: 3,
24+
// bail: 3,
2625

2726
// https://jestjs.io/docs/configuration#clearmocks-boolean
2827
clearMocks: true,
@@ -67,7 +66,6 @@ const project = (package_name) => {
6766

6867
// 5000ms is the default value for testTimeout.
6968
// https://jestjs.io/docs/configuration#testtimeout-number
70-
testTimeout: 5000,
7169

7270
// https://jestjs.io/docs/configuration#transform-objectstring-pathtotransformer--pathtotransformer-object
7371
// https://jestjs.io/docs/ecmascript-modules

config/tsconfig-lib.json

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"esModuleInterop": true,
77
"forceConsistentCasingInFileNames": true,
88
"importHelpers": false,
9-
"importsNotUsedAsValues": "error",
109
"incremental": true,
1110
"isolatedModules": true,
1211
"lib": ["ES2020"],

config/tsconfig.base.json

-4
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@
1616
// https://www.typescriptlang.org/tsconfig#importHelpers
1717
"importHelpers": false,
1818

19-
// I wonder why this is not the default.
20-
// https://www.typescriptlang.org/tsconfig#importsNotUsedAsValues
21-
"importsNotUsedAsValues": "error",
22-
2319
// This is not important for this project, but it speeds up compilation
2420
// times, so I want to remember it for larger projects.
2521
// https://www.typescriptlang.org/tsconfig#incremental

docs/checks/assets/highlight.css

+19-5
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,43 @@
11
:root {
2-
--light-hl-0: #000000;
3-
--dark-hl-0: #D4D4D4;
4-
--light-code-background: #F5F5F5;
2+
--light-hl-0: #795E26;
3+
--dark-hl-0: #DCDCAA;
4+
--light-hl-1: #000000;
5+
--dark-hl-1: #D4D4D4;
6+
--light-hl-2: #A31515;
7+
--dark-hl-2: #CE9178;
8+
--light-code-background: #FFFFFF;
59
--dark-code-background: #1E1E1E;
610
}
711

812
@media (prefers-color-scheme: light) { :root {
913
--hl-0: var(--light-hl-0);
14+
--hl-1: var(--light-hl-1);
15+
--hl-2: var(--light-hl-2);
1016
--code-background: var(--light-code-background);
1117
} }
1218

1319
@media (prefers-color-scheme: dark) { :root {
1420
--hl-0: var(--dark-hl-0);
21+
--hl-1: var(--dark-hl-1);
22+
--hl-2: var(--dark-hl-2);
1523
--code-background: var(--dark-code-background);
1624
} }
1725

18-
body.light {
26+
:root[data-theme='light'] {
1927
--hl-0: var(--light-hl-0);
28+
--hl-1: var(--light-hl-1);
29+
--hl-2: var(--light-hl-2);
2030
--code-background: var(--light-code-background);
2131
}
2232

23-
body.dark {
33+
:root[data-theme='dark'] {
2434
--hl-0: var(--dark-hl-0);
35+
--hl-1: var(--dark-hl-1);
36+
--hl-2: var(--dark-hl-2);
2537
--code-background: var(--dark-code-background);
2638
}
2739

2840
.hl-0 { color: var(--hl-0); }
41+
.hl-1 { color: var(--hl-1); }
42+
.hl-2 { color: var(--hl-2); }
2943
pre, code { background: var(--code-background); }

0 commit comments

Comments
 (0)