Skip to content

Commit 0ed5fca

Browse files
committed
chore: architecture updates
Signed-off-by: Lexus Drumgold <[email protected]>
1 parent 190f204 commit 0ed5fca

File tree

8 files changed

+35
-43
lines changed

8 files changed

+35
-43
lines changed

.dprint.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
"binaryExpression.operatorPosition": "sameLine",
9393
"binaryExpression.spaceSurroundingBitwiseAndArithmeticOperator": true,
9494
"bracePosition": "sameLine",
95-
"commentLine.forceSpaceAfterSlashes": true,
95+
"commentLine.forceSpaceAfterSlashes": false,
9696
"constructSignature.spaceAfterNewKeyword": true,
9797
"constructor.spaceBeforeParentheses": false,
9898
"constructorType.spaceAfterNewKeyword": true,

.env.vars

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# repository variables
2+
3+
GH_PROJECT_NUMBER=39

.eslintrc.base.cjs

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -626,13 +626,7 @@ const config = {
626626
'node/no-unpublished-require': 0,
627627
'node/no-unsupported-features/es-builtins': 2,
628628
'node/no-unsupported-features/es-syntax': 0,
629-
'node/no-unsupported-features/node-builtins': [
630-
2,
631-
{
632-
version: require('./package.json').engines.node ||
633-
'>=' + fs.readFileSync('.nvmrc', 'utf8')
634-
}
635-
],
629+
'node/no-unsupported-features/node-builtins': 2,
636630
'node/prefer-global/buffer': 2,
637631
'node/prefer-global/console': 2,
638632
'node/prefer-global/process': 2,
@@ -753,7 +747,7 @@ const config = {
753747
'unicorn/prefer-export-from': [2, { ignoreUsedVariables: true }],
754748
'unicorn/prefer-includes': 2,
755749
'unicorn/prefer-json-parse-buffer': 0,
756-
'unicorn/prefer-math-trunc': 2,
750+
'unicorn/prefer-math-trunc': 0,
757751
'unicorn/prefer-module': 2,
758752
'unicorn/prefer-negative-index': 2,
759753
'unicorn/prefer-node-protocol': 2,

.github/dependabot.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ updates:
4545
patterns:
4646
- '@vitest/*'
4747
- vitest*
48-
ignore:
49-
- dependency-name: vite-tsconfig-paths
5048
labels:
5149
- scope:dependencies
5250
- type:build

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@
239239
"todo-tree.tree.buttons.viewStyle": true,
240240
"todo-tree.tree.expanded": true,
241241
"todo-tree.tree.filterCaseSensitive": true,
242-
"todo-tree.tree.scanMode": "workspace",
242+
"todo-tree.tree.scanMode": "workspace only",
243243
"todo-tree.tree.showBadges": true,
244244
"todo-tree.tree.showCountsInTree": true,
245245
"todo-tree.tree.showCurrentScanMode": true,

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,12 @@
103103
"@flex-development/pathe": "2.0.0",
104104
"@html-eslint/eslint-plugin": "0.24.0",
105105
"@html-eslint/parser": "0.24.0",
106-
"@types/chai": "4.3.11",
106+
"@types/chai": "4.3.14",
107107
"@types/chai-string": "1.4.5",
108108
"@types/eslint": "8.56.2",
109109
"@types/is-ci": "3.0.4",
110110
"@types/mdast": "4.0.3",
111-
"@types/node": "20.11.19",
111+
"@types/node": "20.11.30",
112112
"@types/node-notifier": "8.0.5",
113113
"@types/unist": "3.0.2",
114114
"@typescript-eslint/eslint-plugin": "7.3.1",
@@ -161,7 +161,7 @@
161161
"unist-util-inspect": "8.0.0",
162162
"vfile": "6.0.1",
163163
"vite": "5.2.2",
164-
"vite-tsconfig-paths": "4.3.1",
164+
"vite-tsconfig-paths": "4.3.2",
165165
"vitest": "1.4.0",
166166
"yaml-eslint-parser": "1.2.2"
167167
},
@@ -186,7 +186,8 @@
186186
}
187187
},
188188
"resolutions": {
189-
"chai": "5.1.0"
189+
"chai": "5.1.0",
190+
"vite": "5.2.2"
190191
},
191192
"engines": {
192193
"node": ">=18.18.2"

vitest.config.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const config: UserConfigExport = defineConfig((env: ConfigEnv): UserConfig => {
4141

4242
return {
4343
define: {},
44-
plugins: [tsconfigPaths({ projects: [tsconfig] })],
44+
plugins: [tsconfigPaths({ parseNative: true, projects: [tsconfig] })],
4545
test: {
4646
allowOnly: !ci,
4747
benchmark: {
@@ -68,7 +68,7 @@ const config: UserConfigExport = defineConfig((env: ConfigEnv): UserConfig => {
6868
extension: ['.ts'],
6969
include: ['src'],
7070
provider: 'v8',
71-
reporter: sift([ifelse(ci, null, 'html'), 'lcovonly', 'text']),
71+
reporter: [ci ? 'lcovonly' : 'html', 'text'],
7272
reportsDirectory: './coverage',
7373
skipFull: false
7474
},
@@ -110,7 +110,6 @@ const config: UserConfigExport = defineConfig((env: ConfigEnv): UserConfig => {
110110
)
111111
},
112112
restoreMocks: true,
113-
root: process.cwd(),
114113
sequence: {
115114
sequencer: class Sequencer extends BaseSequencer {
116115
/**
@@ -133,15 +132,12 @@ const config: UserConfigExport = defineConfig((env: ConfigEnv): UserConfig => {
133132
}
134133
},
135134
setupFiles: ['./__tests__/setup/index.ts'],
136-
silent: false,
137-
slowTestThreshold: 3000,
138135
snapshotFormat: {
139136
callToJSON: true,
140137
min: false,
141138
printBasicPrototype: false,
142139
printFunctionName: true
143140
},
144-
testTimeout: 10 * 1000,
145141
typecheck: {
146142
allowJs: false,
147143
checker: 'tsc',

yarn.lock

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1263,12 +1263,12 @@ __metadata:
12631263
"@flex-development/tutils": "npm:6.0.0-alpha.25"
12641264
"@html-eslint/eslint-plugin": "npm:0.24.0"
12651265
"@html-eslint/parser": "npm:0.24.0"
1266-
"@types/chai": "npm:4.3.11"
1266+
"@types/chai": "npm:4.3.14"
12671267
"@types/chai-string": "npm:1.4.5"
12681268
"@types/eslint": "npm:8.56.2"
12691269
"@types/is-ci": "npm:3.0.4"
12701270
"@types/mdast": "npm:4.0.3"
1271-
"@types/node": "npm:20.11.19"
1271+
"@types/node": "npm:20.11.30"
12721272
"@types/node-notifier": "npm:8.0.5"
12731273
"@types/unist": "npm:3.0.2"
12741274
"@typescript-eslint/eslint-plugin": "npm:7.3.1"
@@ -1327,7 +1327,7 @@ __metadata:
13271327
unist-util-visit: "npm:5.0.0"
13281328
vfile: "npm:6.0.1"
13291329
vite: "npm:5.2.2"
1330-
vite-tsconfig-paths: "npm:4.3.1"
1330+
vite-tsconfig-paths: "npm:4.3.2"
13311331
vitest: "npm:1.4.0"
13321332
yaml-eslint-parser: "npm:1.2.2"
13331333
peerDependencies:
@@ -2157,10 +2157,10 @@ __metadata:
21572157
languageName: node
21582158
linkType: hard
21592159

2160-
"@types/chai@npm:*, @types/chai@npm:4.3.11":
2161-
version: 4.3.11
2162-
resolution: "@types/chai@npm:4.3.11"
2163-
checksum: 10/c83a00359684bf06114d5ad0ffa62c78b2fbfe09a985eda56e55cd3c191fe176052aef6e297a8c8a3608efb8ea7a44598cf7e0ae1a3a9311af892417e95b0b28
2160+
"@types/chai@npm:*, @types/chai@npm:4.3.14":
2161+
version: 4.3.14
2162+
resolution: "@types/chai@npm:4.3.14"
2163+
checksum: 10/300be72bb22657c1e449b27a5f0ab24405edf3be5c42ea0095f8e1c6daabc29c3028eee2421cc443c01a098da47ba32baecc363be7324433132281b9d9a8216f
21642164
languageName: node
21652165
linkType: hard
21662166

@@ -2329,12 +2329,12 @@ __metadata:
23292329
languageName: node
23302330
linkType: hard
23312331

2332-
"@types/node@npm:*, @types/node@npm:20.11.19, @types/node@npm:^20.0.0":
2333-
version: 20.11.19
2334-
resolution: "@types/node@npm:20.11.19"
2332+
"@types/node@npm:*, @types/node@npm:20.11.30, @types/node@npm:^20.0.0":
2333+
version: 20.11.30
2334+
resolution: "@types/node@npm:20.11.30"
23352335
dependencies:
23362336
undici-types: "npm:~5.26.4"
2337-
checksum: 10/c7f4705d6c84aa21679ad180c33c13ca9567f650e66e14bcee77c7c43d14619c7cd3b4d7b2458947143030b7b1930180efa6d12d999b45366abff9fed7a17472
2337+
checksum: 10/78515bc768d2b878e2e06a1c20eb4f5840072b79b8d28ff3dd0a7feaaf48fd3a2ac03cfa5bc7564da82db5906b43e9ba0e5df9f43d870b7aae2942306e208815
23382338
languageName: node
23392339
linkType: hard
23402340

@@ -9714,17 +9714,17 @@ __metadata:
97149714
languageName: node
97159715
linkType: hard
97169716

9717-
"tsconfck@npm:^3.0.1":
9718-
version: 3.0.2
9719-
resolution: "tsconfck@npm:3.0.2"
9717+
"tsconfck@npm:^3.0.3":
9718+
version: 3.0.3
9719+
resolution: "tsconfck@npm:3.0.3"
97209720
peerDependencies:
97219721
typescript: ^5.0.0
97229722
peerDependenciesMeta:
97239723
typescript:
97249724
optional: true
97259725
bin:
97269726
tsconfck: bin/tsconfck.js
9727-
checksum: 10/bd0666cde64d576701b6b74b45795b76f002ea3c44279ce373426b075f56b47b4a34ee51083a4df7844b0077e2af4cb752a6c6ef246a80339a44351d6367c98c
9727+
checksum: 10/1c17217dc3758e71bebdb223b7cd6e613f8f8c92a225cccc40d459554dfae50cbf9d339c6a4a5a8d04620fe1c21bb6d454b6e10421e3fcd808ea51d0b5039ffd
97289728
languageName: node
97299729
linkType: hard
97309730

@@ -10314,23 +10314,23 @@ __metadata:
1031410314
languageName: node
1031510315
linkType: hard
1031610316

10317-
"vite-tsconfig-paths@npm:4.3.1":
10318-
version: 4.3.1
10319-
resolution: "vite-tsconfig-paths@npm:4.3.1"
10317+
"vite-tsconfig-paths@npm:4.3.2":
10318+
version: 4.3.2
10319+
resolution: "vite-tsconfig-paths@npm:4.3.2"
1032010320
dependencies:
1032110321
debug: "npm:^4.1.1"
1032210322
globrex: "npm:^0.1.2"
10323-
tsconfck: "npm:^3.0.1"
10323+
tsconfck: "npm:^3.0.3"
1032410324
peerDependencies:
1032510325
vite: "*"
1032610326
peerDependenciesMeta:
1032710327
vite:
1032810328
optional: true
10329-
checksum: 10/1432f80750f5cbe181c265eb9fc2e9fff8b25a2858f176dc0a02311e3e826333526ee9c16bb0aaaa8555a417ea944d68a2e8225181215cd9502370f913eb3f79
10329+
checksum: 10/c12e2087fd01ac8a694850c649b79d5b9798cdba0ef9ab4116f669d8ffa1a9a3195c5a14410d3d9a12d2f08cd35ddd74f03d9c7b13a2d590d002055cdaab45c0
1033010330
languageName: node
1033110331
linkType: hard
1033210332

10333-
"vite@npm:5.2.2, vite@npm:^5.0.0":
10333+
"vite@npm:5.2.2":
1033410334
version: 5.2.2
1033510335
resolution: "vite@npm:5.2.2"
1033610336
dependencies:

0 commit comments

Comments
 (0)