Skip to content

Commit 7d0571b

Browse files
committed
chore: update project architecture
Signed-off-by: Lexus Drumgold <unicornware@flexdevelopment.llc>
1 parent e868cae commit 7d0571b

8 files changed

+163
-161
lines changed

.cspell.json

+7-2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"flagWords": [],
1515
"ignorePaths": [
1616
"**/*.snap",
17+
"**/.gitconfig",
1718
"**/.gitignore",
1819
"**/dist/",
1920
".cspell.json",
@@ -31,13 +32,17 @@
3132
"patches/",
3233
"yarn.lock"
3334
],
34-
"ignoreRegExpList": ["/from\\s+(['\"]).*\\1/"],
35+
"ignoreRegExpList": [
36+
"/@flex-development\\/.*/",
37+
"/from\\s+(['\"]).*\\1/",
38+
"import\\(.*\\)"
39+
],
3540
"ignoreWords": [],
3641
"language": "en-US",
3742
"patterns": [],
3843
"readonly": true,
3944
"useGitignore": true,
4045
"usePnP": false,
4146
"version": "0.2",
42-
"words": ["fldv", "mlly"]
47+
"words": ["fldv", "flexdevelopmentllc", "mlly"]
4348
}

.dictionary.txt

-14
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11
ardatan
2-
autocrlf
3-
autosetuprebase
4-
bdel
5-
bdelr
62
bdougie
7-
bren
83
cefc
9-
chbfeat
10-
chbfix
11-
chbhotfix
12-
chbrelease
134
codecov
145
colorette
156
commitlintrc
@@ -22,14 +13,12 @@ dohm
2213
esbuild
2314
esmodules
2415
fbca
25-
fpnv
2616
globby
2717
gpgsign
2818
hascjssyntax
2919
hasesmsyntax
3020
hmarr
3121
iife
32-
jsxdev
3322
keyid
3423
larsgw
3524
lcov
@@ -43,17 +32,14 @@ pathe
4332
pkgs
4433
pnpm
4534
preid
46-
safecrlf
4735
sindresorhus
4836
syncer
4937
toabsolutespecifier
5038
todataurl
5139
unist
52-
upath
5340
vates
5441
vercel
5542
vercelignore
5643
vitepress
57-
vitest
5844
vuedx
5945
yarnrc

.eslintrc.base.cjs

+18-7
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ const config = {
281281
'@typescript-eslint/no-var-requires': 2,
282282
'@typescript-eslint/padding-line-between-statements': 0,
283283
'@typescript-eslint/prefer-as-const': 2,
284-
'@typescript-eslint/prefer-enum-initializers': 2,
284+
'@typescript-eslint/prefer-enum-initializers': 0,
285285
'@typescript-eslint/prefer-for-of': 2,
286286
'@typescript-eslint/prefer-function-type': 2,
287287
'@typescript-eslint/prefer-includes': 0,
@@ -320,7 +320,8 @@ const config = {
320320
'jsdoc/check-access': 1,
321321
'jsdoc/check-alignment': 1,
322322
'jsdoc/check-examples': 0,
323-
'jsdoc/check-indentation': [1, { excludeTags: ['description', 'example'] }],
323+
// https://github.com/gajus/eslint-plugin-jsdoc/issues/541
324+
'jsdoc/check-indentation': 0,
324325
'jsdoc/check-line-alignment': 1,
325326
'jsdoc/check-param-names': [
326327
1,
@@ -337,7 +338,7 @@ const config = {
337338
'jsdoc/check-tag-names': [
338339
1,
339340
{
340-
definedTags: ['visibleName'],
341+
definedTags: ['experimental', 'next', 'visibleName'],
341342
jsxTags: jsx
342343
}
343344
],
@@ -403,6 +404,7 @@ const config = {
403404
enableFixer: true,
404405
enableRestElementFixer: true,
405406
enableRootFixer: true,
407+
exemptedBy: ['inheritdoc', 'this'],
406408
unnamedRootBase: ['param'],
407409
useDefaultObjectProperties: true
408410
}
@@ -414,7 +416,7 @@ const config = {
414416
'jsdoc/require-returns-check': [
415417
1,
416418
{
417-
exemptAsync: true,
419+
exemptAsync: false,
418420
exemptGenerators: true,
419421
reportMissingReturnForUndefinedTypes: false
420422
}
@@ -710,7 +712,7 @@ const config = {
710712
'@typescript-eslint/no-unnecessary-condition': [
711713
2,
712714
{
713-
allowConstantLoopConditions: false,
715+
allowConstantLoopConditions: true,
714716
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false
715717
}
716718
],
@@ -1014,7 +1016,7 @@ const config = {
10141016
}
10151017
},
10161018
{
1017-
files: ['**/__tests__/*.spec.*', '**/__tests__/*.spec-d.*'],
1019+
files: ['**/__tests__/*.spec.ts', '**/__tests__/*.spec-d.ts'],
10181020
globals: {
10191021
afterAll: true,
10201022
afterEach: true,
@@ -1037,6 +1039,7 @@ const config = {
10371039
plugins: ['chai-expect', 'jest-formatting'],
10381040
rules: {
10391041
'@typescript-eslint/no-base-to-string': 0,
1042+
'@typescript-eslint/no-empty-function': 0,
10401043
'@typescript-eslint/no-unused-expressions': 0,
10411044
'@typescript-eslint/restrict-template-expressions': 0,
10421045
'@typescript-eslint/unbound-method': 0,
@@ -1057,9 +1060,10 @@ const config = {
10571060
'unicorn/error-message': 0,
10581061
'unicorn/explicit-length-check': 0,
10591062
'unicorn/no-array-for-each': 0,
1063+
'unicorn/no-useless-undefined': 0,
10601064
'unicorn/prefer-at': 0,
10611065
'unicorn/prefer-dom-node-append': 0,
1062-
'unicorn/no-useless-undefined': 0,
1066+
'unicorn/prefer-json-parse-buffer': 0,
10631067
'unicorn/string-content': 0
10641068
}
10651069
},
@@ -1144,6 +1148,9 @@ const config = {
11441148
name: 'namepath-defining',
11451149
required: ['name', 'type']
11461150
},
1151+
experimental: {
1152+
name: 'none'
1153+
},
11471154
extends: {
11481155
name: 'namepath-defining',
11491156
required: ['type']
@@ -1160,6 +1167,10 @@ const config = {
11601167
name: 'namepath-defining',
11611168
required: ['name', 'type']
11621169
},
1170+
next: {
1171+
name: 'namepath-defining',
1172+
required: ['type']
1173+
},
11631174
return: {
11641175
name: 'namepath-defining',
11651176
required: ['type']

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
*.snap text eol=lf
3131
*.ts text eol=lf
3232
*.txt text eol=lf
33+
*.vue text eol=lf
3334
*.yml text eol=lf
3435

3536
# configuration files

package.json

+10-10
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
},
4242
"scripts": {
4343
"build": "mkbuild",
44-
"check:ci": "yarn dedupe --check && yarn check:format && yarn check:lint && yarn check:spelling && yarn typecheck && yarn check:types:build && yarn test:cov && NODE_ENV=production yarn pack -o %s-%v.tgz && yarn clean:pack",
44+
"check:ci": "yarn dedupe --check && yarn check:format && yarn check:lint && yarn check:spelling && yarn typecheck && yarn check:types:build && yarn test:cov && NODE_ENV=production yarn pack -o %s-%v.tgz && yarn docs:build && yarn clean:pack",
4545
"check:format": "prettier --check .",
4646
"check:lint": "eslint --exit-on-fatal-error --ext cjs,cts,gql,json,jsonc,md,mjs,ts,vue,yml --max-warnings 0 .",
4747
"check:spelling": "cspell lint --color --no-progress --relative $@ \"**\"",
@@ -107,7 +107,7 @@
107107
"@types/chai-string": "1.4.2",
108108
"@types/conventional-changelog": "3.1.1",
109109
"@types/conventional-changelog-config-spec": "2.1.2",
110-
"@types/conventional-changelog-writer": "4.0.1",
110+
"@types/conventional-changelog-writer": "4.0.2",
111111
"@types/conventional-commits-parser": "3.0.3",
112112
"@types/dateformat": "5.0.0",
113113
"@types/dotenv-defaults": "2.0.1",
@@ -122,8 +122,8 @@
122122
"@typescript-eslint/eslint-plugin": "5.47.1",
123123
"@typescript-eslint/parser": "5.47.1",
124124
"@vates/toggle-scripts": "1.0.0",
125-
"@vitest/coverage-c8": "0.26.2",
126-
"@vitest/ui": "0.26.2",
125+
"@vitest/coverage-c8": "0.26.3",
126+
"@vitest/ui": "0.26.3",
127127
"@vuedx/typescript-plugin-vue": "0.7.7-next-1667939290.0",
128128
"chai": "4.3.7",
129129
"chai-each": "0.0.1",
@@ -136,7 +136,7 @@
136136
"dotenv": "16.0.3",
137137
"esbuild": "0.16.12",
138138
"escape-string-regexp": "5.0.0",
139-
"eslint": "8.30.0",
139+
"eslint": "8.31.0",
140140
"eslint-config-prettier": "8.5.0",
141141
"eslint-plugin-chai-expect": "3.0.0",
142142
"eslint-plugin-jest-formatting": "3.1.0",
@@ -177,21 +177,21 @@
177177
"version-bump-prompt": "6.1.0",
178178
"vite": "4.0.3",
179179
"vite-tsconfig-paths": "4.0.3",
180-
"vitepress": "1.0.0-alpha.33",
181-
"vitest": "0.26.2",
180+
"vitepress": "1.0.0-alpha.34",
181+
"vitest": "0.26.3",
182182
"vitest-github-actions-reporter": "0.9.0",
183183
"vue": "3.2.45",
184184
"vue-eslint-parser": "9.1.0",
185-
"vue-tsc": "1.0.18",
185+
"vue-tsc": "1.0.19",
186186
"yaml-eslint-parser": "1.1.0"
187187
},
188188
"resolutions": {
189189
"@ardatan/sync-fetch": "larsgw/sync-fetch#head=worker_threads",
190190
"@flex-development/tutils": "6.0.0-alpha.7",
191191
"esbuild": "0.16.12",
192192
"vite": "4.0.3",
193-
"vitepress@npm:1.0.0-alpha.33": "patch:vitepress@npm%3A1.0.0-alpha.32#patches/vitepress+1.0.0-alpha.33.dev.patch",
194-
"vitest@npm:0.26.2": "patch:vitest@npm%3A0.26.2#patches/vitest+0.26.2.dev.patch"
193+
"vitepress@npm:1.0.0-alpha.34": "patch:vitepress@npm%3A1.0.0-alpha.34#patches/vitepress+1.0.0-alpha.34.dev.patch",
194+
"vitest@npm:0.26.3": "patch:vitest@npm%3A0.26.3#patches/vitest+0.26.3.dev.patch"
195195
},
196196
"engines": {
197197
"node": ">=14.16",

patches/vitepress+1.0.0-alpha.33.dev.patch patches/vitepress+1.0.0-alpha.34.dev.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
diff --git a/dist/client/theme-default/components/VPAlgoliaSearchBox.vue b/dist/client/theme-default/components/VPAlgoliaSearchBox.vue
2-
index v1.0.0-alpha.33..v1.0.0-alpha.33 100644
2+
index v1.0.0-alpha.34..v1.0.0-alpha.34 100644
33
--- a/dist/client/theme-default/components/VPAlgoliaSearchBox.vue
44
+++ b/dist/client/theme-default/components/VPAlgoliaSearchBox.vue
55
@@ -70,7 +70,7 @@

patches/vitest+0.26.2.dev.patch patches/vitest+0.26.3.dev.patch

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
diff --git a/dist/chunk-snapshot-manager.8c94a052.js b/dist/chunk-snapshot-manager.8c94a052.js
2-
index v0.26.2..v0.26.2 100644
3-
--- a/dist/chunk-snapshot-manager.8c94a052.js
4-
+++ b/dist/chunk-snapshot-manager.8c94a052.js
5-
@@ -8045,7 +8045,7 @@ class DefaultReporter extends BaseReporter {
1+
diff --git a/dist/chunk-snapshot-manager.70695b70.js b/dist/chunk-snapshot-manager.70695b70.js
2+
index v0.26.3..v0.26.3 100644
3+
--- a/dist/chunk-snapshot-manager.70695b70.js
4+
+++ b/dist/chunk-snapshot-manager.70695b70.js
5+
@@ -8044,7 +8044,7 @@ class DefaultReporter extends BaseReporter {
66
super.onWatcherStart();
77
}
88
onCollected() {

0 commit comments

Comments
 (0)