Skip to content

Commit 190f204

Browse files
committed
build(deps-dev): bump typescript from 5.4.0-beta to 5.4.3
- closes #68 Signed-off-by: Lexus Drumgold <unicornware@flexdevelopment.llc>
1 parent bede71b commit 190f204

File tree

12 files changed

+53
-36
lines changed

12 files changed

+53
-36
lines changed

.eslintrc.base.cjs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const config = {
3434
parser: '@typescript-eslint/parser',
3535
parserOptions: {
3636
extraFileExtensions: [],
37-
project: ['**/tsconfig.json'],
37+
project: ['**/tsconfig.json', '**/tsconfig.*.json'],
3838
tsconfigRootDir: process.cwd(),
3939
warnOnUnsupportedTypeScriptVersion: true
4040
},
@@ -495,9 +495,16 @@ const config = {
495495
checkConstructors: true,
496496
checkGetters: true,
497497
checkSetters: true,
498+
contexts: [
499+
'TSDeclareFunction:not(TSDeclareFunction + TSDeclareFunction)',
500+
'FunctionDeclaration:not(TSDeclareFunction + FunctionDeclaration)'
501+
],
498502
enableFixer: true,
499503
exemptEmptyConstructors: true,
500-
exemptEmptyFunctions: false
504+
exemptEmptyFunctions: false,
505+
require: {
506+
FunctionDeclaration: false
507+
}
501508
}
502509
],
503510
'jsdoc/require-param': [
@@ -1057,6 +1064,7 @@ const config = {
10571064
'@typescript-eslint/no-floating-promises': 0,
10581065
'@typescript-eslint/no-for-in-array': 0,
10591066
'@typescript-eslint/no-implied-eval': 0,
1067+
'@typescript-eslint/no-invalid-void-type': 0,
10601068
'@typescript-eslint/no-meaningless-void-operator': 0,
10611069
'@typescript-eslint/no-misused-promises': 0,
10621070
'@typescript-eslint/no-mixed-enums': 0,

.github/infrastructure.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ branches:
4242
- context: test (19)
4343
- context: test (20)
4444
- context: typescript (5.3.3)
45-
- context: typescript (5.4.0-beta)
45+
- context: typescript (5.4.3)
4646
- context: typescript (latest)
4747
strict: true
4848
restrictions: null

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,8 +244,8 @@ jobs:
244244
fail-fast: false
245245
matrix:
246246
typescript-version:
247-
- 5.3.3
248247
- ${{ needs.preflight.outputs.version-typescript }}
248+
- 5.3.3
249249
- latest
250250
steps:
251251
- id: checkout

.vscode/settings.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -267,11 +267,6 @@
267267
"resolutions"
268268
],
269269
"vsicons.associations.files": [
270-
{
271-
"extensions": [".commitlintrc.cts"],
272-
"format": "svg",
273-
"icon": "commitlint"
274-
},
275270
{
276271
"extensions": [".eslintrc.base.cjs"],
277272
"format": "svg",

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ This means every commit must conform to the following format:
168168
│ │ │
169169
│ │ └─⫸ optional breaking change flag
170170
│ │
171-
│ └─⫸ see .commitlintrc.cts
171+
│ └─⫸ see .commitlintrc.ts
172172
173173
└─⫸ build|ci|chore|docs|feat|fix|perf|refactor|revert|style|test|wip
174174
@@ -199,7 +199,7 @@ e.g:
199199
- `build(deps-dev): bump cspell from 6.7.0 to 6.8.0`
200200
- `perf: lighten initial load`
201201
202-
See [`.commitlintrc.cts`](.commitlintrc.cts) to view all commit guidelines.
202+
See [`.commitlintrc.ts`](.commitlintrc.ts) to view all commit guidelines.
203203
204204
### Code Style
205205
@@ -331,7 +331,7 @@ When squashing, be sure to follow [commit message standards](#commit-messages):
331331
│ │ │
332332
│ │ └─⫸ optional breaking change flag
333333
│ │
334-
│ └─⫸ see .commitlintrc.cts
334+
│ └─⫸ see .commitlintrc.ts
335335
336336
└─⫸ build|ci|chore|docs|feat|fix|perf|refactor|release|revert|style|test
337337
```

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@
157157
"to-vfile": "8.0.0",
158158
"trash-cli": "5.0.0",
159159
"ts-dedent": "2.2.0",
160-
"typescript": "5.4.0-beta",
160+
"typescript": "5.4.3",
161161
"unist-util-inspect": "8.0.0",
162162
"vfile": "6.0.1",
163163
"vite": "5.2.2",

src/enums/token-kind.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,10 @@
33
* @module docast-util-from-docs/enums/TokenKind
44
*/
55

6-
import type { DocastNode } from '@flex-development/docast'
7-
86
/**
97
* Lexer token types.
108
*
11-
* @enum {DocastNode['type']}
9+
* @enum {string}
1210
*/
1311
enum TokenKind {
1412
BLOCK_TAG = 'blockTag',

tsconfig.build.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
"customConditions": ["import", "node"],
44
"declaration": true,
55
"noEmitOnError": true,
6+
"paths": {
7+
"#src/*": ["src/*"]
8+
},
69
"skipLibCheck": false,
710
"target": "es2022"
811
},

tsconfig.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"#src": ["src/index"],
3333
"#src/*": ["src/*"],
3434
"#tests/*": ["__tests__/*"],
35-
"@flex-development/docast-util-from-docs": ["src/index"]
35+
"@flex-development/docast-util-from-docs": ["dist/index", "src/index"]
3636
},
3737
"preserveConstEnums": true,
3838
"preserveSymlinks": false,
@@ -54,10 +54,10 @@
5454
},
5555
"exclude": ["**/coverage", "**/dist", "**/node_modules"],
5656
"include": [
57-
"**/**.json",
58-
"**/**.mjs",
59-
"**/**.mts",
60-
"**/**.ts",
57+
"**/**/*.json",
58+
"**/**/*.mjs",
59+
"**/**/*.mts",
60+
"**/**/*.ts",
6161
"**/.*.json",
6262
"**/.*.mjs",
6363
"**/.*.mts",

tsconfig.typecheck.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
{
22
"exclude": ["**/coverage", "**/dist", "**/node_modules"],
33
"extends": "./tsconfig.json",
4-
"include": ["**/**.ts", "**/.*.ts"]
4+
"files": ["typings/@faker-js/faker/global.d.ts", "vitest-env.d.ts"],
5+
"include": [
6+
"__fixtures__/**/**.ts",
7+
"__tests__/**/**.ts",
8+
"src/**/**.ts",
9+
"src/**/.*.ts"
10+
]
511
}

0 commit comments

Comments
 (0)