Skip to content

Commit df60bc8

Browse files
committed
refactor!: project rewrite
Signed-off-by: Lexus Drumgold <[email protected]>
1 parent 298a931 commit df60bc8

File tree

282 files changed

+17837
-16843
lines changed

Some content is hidden

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

282 files changed

+17837
-16843
lines changed

Diff for: .codecov.yml

+1
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ ignore:
8686
- '**/__tests__/**'
8787
- '**/index.ts'
8888
- src/interfaces/
89+
- src/internal/stack-trace.browser.ts
8990
- src/types/
9091

9192
profiling:

Diff for: .commitlintrc.json

-3
This file was deleted.

Diff for: .commitlintrc.ts

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/**
2+
* @file Configuration - commitlint
3+
* @module config/commitlint
4+
* @see https://commitlint.js.org
5+
*/
6+
7+
import { RuleConfigSeverity, type UserConfig } from '@commitlint/types'
8+
import { scopes } from '@flex-development/commitlint-config'
9+
10+
/**
11+
* `commitlint` configuration object.
12+
*
13+
* @const {UserConfig} config
14+
*/
15+
const config: UserConfig = {
16+
extends: ['@flex-development'],
17+
rules: {
18+
'scope-enum': [RuleConfigSeverity.Error, 'always', scopes([
19+
'chore',
20+
'e',
21+
'errors'
22+
])]
23+
}
24+
}
25+
26+
export default config

Diff for: .cspell.json

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"**/CHANGELOG.md",
2121
"**/LICENSE.md",
2222
"**/RELEASE_NOTES.md",
23+
"**/scratch.*",
2324
".cspell.json",
2425
".dictionary.txt",
2526
".git/",

Diff for: .dictionary.txt

+14-9
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,49 @@
1-
ardatan
21
attw
3-
bdougie
42
cefc
53
codecov
64
commitlintrc
75
dedupe
6+
deno
87
dessant
8+
devlop
9+
docast
910
dohm
11+
dprint
1012
echarset
1113
eftype
1214
ehostdown
1315
enonet
1416
eremoteio
1517
errno
18+
errno
1619
eshutdown
1720
esocktnosupport
1821
eunatch
1922
fbca
23+
fpathe
2024
ggshield
2125
gpgsign
2226
hmarr
23-
iife
24-
infile
2527
instanceof
26-
keyid
27-
larsgw
28+
jchen
29+
kaisugi
30+
keyof
2831
lcov
32+
libuv
2933
lintstagedrc
3034
mkbuild
3135
mlly
32-
nocheck
33-
npmrc
3436
nvmrc
3537
odfijos
3638
pathe
3739
pkgs
3840
preid
39-
tscu
41+
shfmt
42+
syscall
43+
syscodes
4044
unstub
4145
vates
46+
vfile
4247
vitest
4348
whatwg
4449
yarnrc

Diff for: .dprint.jsonc

+147
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,147 @@
1+
{
2+
"$schema": "https://dprint.dev/schemas/v0.json",
3+
"excludes": [
4+
"!**/__fixtures__/**/dist/",
5+
"!**/__fixtures__/**/node_modules/",
6+
"!**/typings/**/dist/",
7+
"!scratch.*",
8+
"**/*.patch",
9+
"**/*.snap",
10+
"**/*config.*.timestamp*",
11+
"**/.temp/",
12+
"**/.vercel/",
13+
"**/__fixtures__/git/**/*.txt",
14+
"**/__tests__/benchmark.json",
15+
"**/__tests__/report.json",
16+
"**/__tests__/typecheck.json",
17+
"**/coverage/",
18+
"**/dist/",
19+
"**/node_modules",
20+
"**/tsconfig*temp.json",
21+
".git/",
22+
".husky/_/",
23+
".yarn/",
24+
"CHANGELOG.md",
25+
"LICENSE.md",
26+
"RELEASE_NOTES.md",
27+
"yarn.lock"
28+
],
29+
"exec": {
30+
"commands": [
31+
{
32+
"command": "node ./dprint/prettier.mjs {{file_path}}",
33+
"exts": ["css", "html", "json5", "scss", "yaml", "yml"],
34+
"stdin": true
35+
},
36+
{
37+
"command": "node ./dprint/remark.mjs {{file_path}}",
38+
"exts": ["md", "mdx"],
39+
"stdin": true
40+
},
41+
{
42+
"command": "node ./dprint/shfmt.mjs {{file_path}}",
43+
"exts": ["sh", "zsh"],
44+
"fileNames": [
45+
".editorconfig",
46+
".env",
47+
".env.local",
48+
".env.repo",
49+
".eslintcache",
50+
".eslintignore",
51+
".gitattributes",
52+
".gitconfig",
53+
".gitignore",
54+
".npmrc",
55+
".nvmrc",
56+
"Brewfile",
57+
"commit-msg",
58+
"pre-commit",
59+
"pre-push"
60+
],
61+
"stdin": true
62+
}
63+
],
64+
"cwd": "${configDir}"
65+
},
66+
"indentWidth": 2,
67+
"json": {
68+
"associations": ["**/*.{jsonc,json}"],
69+
"array.preferSingleLine": false,
70+
"commentLine.forceSpaceAfterSlashes": true,
71+
"ignoreNodeCommentText": "dprint-ignore",
72+
"object.preferSingleLine": false,
73+
"trailingCommas": "never"
74+
},
75+
"lineWidth": 80,
76+
"newLineKind": "lf",
77+
"plugins": [
78+
"https://plugins.dprint.dev/typescript-0.91.6.wasm",
79+
"https://plugins.dprint.dev/json-0.19.3.wasm",
80+
"https://plugins.dprint.dev/exec-0.5.0.json@8d9972eee71fa1590e04873540421f3eda7674d0f1aae3d7c788615e7b7413d0"
81+
],
82+
"typescript": {
83+
"arrowFunction.useParentheses": "preferNone",
84+
"binaryExpression.linePerExpression": false,
85+
"binaryExpression.operatorPosition": "sameLine",
86+
"binaryExpression.spaceSurroundingBitwiseAndArithmeticOperator": true,
87+
"bracePosition": "sameLine",
88+
"commentLine.forceSpaceAfterSlashes": false,
89+
"constructSignature.spaceAfterNewKeyword": true,
90+
"constructor.spaceBeforeParentheses": false,
91+
"constructorType.spaceAfterNewKeyword": true,
92+
"doWhileStatement.spaceAfterWhileKeyword": true,
93+
"enumDeclaration.memberSpacing": "maintain",
94+
"exportDeclaration.forceMultiLine": "never",
95+
"exportDeclaration.forceSingleLine": false,
96+
"exportDeclaration.sortNamedExports": "maintain",
97+
"exportDeclaration.spaceSurroundingNamedExports": true,
98+
"forInStatement.spaceAfterForKeyword": true,
99+
"forOfStatement.spaceAfterForKeyword": true,
100+
"forStatement.spaceAfterForKeyword": true,
101+
"forStatement.spaceAfterSemiColons": true,
102+
"functionDeclaration.spaceBeforeParentheses": false,
103+
"functionExpression.spaceAfterFunctionKeyword": false,
104+
"functionExpression.spaceBeforeParentheses": false,
105+
"getAccessor.spaceBeforeParentheses": false,
106+
"ifStatement.spaceAfterIfKeyword": true,
107+
"ignoreFileCommentText": "dprint-ignore-file",
108+
"ignoreNodeCommentText": "dprint-ignore",
109+
"importDeclaration.forceMultiLine": "never",
110+
"importDeclaration.forceSingleLine": false,
111+
"importDeclaration.sortNamedImports": "maintain",
112+
"importDeclaration.spaceSurroundingNamedImports": true,
113+
"jsx.bracketPosition": "nextLine",
114+
"jsx.forceNewLinesSurroundingContent": false,
115+
"jsx.multiLineParens": "prefer",
116+
"jsx.quoteStyle": "preferSingle",
117+
"jsxExpressionContainer.spaceSurroundingExpression": false,
118+
"jsxSelfClosingElement.spaceBeforeSlash": true,
119+
"memberExpression.linePerExpression": false,
120+
"method.spaceBeforeParentheses": false,
121+
"module.sortExportDeclarations": "caseSensitive",
122+
"module.sortImportDeclarations": "caseSensitive",
123+
"newLineKind": "lf",
124+
"nextControlFlowPosition": "sameLine",
125+
"objectExpression.spaceSurroundingProperties": true,
126+
"objectPattern.spaceSurroundingProperties": true,
127+
"operatorPosition": "nextLine",
128+
"preferHanging": true,
129+
"preferSingleLine": false,
130+
"quoteProps": "asNeeded",
131+
"quoteStyle": "alwaysSingle",
132+
"semiColons": "asi",
133+
"setAccessor.spaceBeforeParentheses": false,
134+
"singleBodyPosition": "sameLine",
135+
"spaceAround": false,
136+
"spaceSurroundingProperties": true,
137+
"taggedTemplate.spaceBeforeLiteral": false,
138+
"trailingCommas": "never",
139+
"typeAnnotation.spaceBeforeColon": false,
140+
"typeAssertion.spaceBeforeExpression": false,
141+
"typeLiteral.separatorKind.singleLine": "semiColon",
142+
"typeLiteral.spaceSurroundingProperties": true,
143+
"useBraces": "maintain",
144+
"whileStatement.spaceAfterWhileKeyword": true
145+
},
146+
"useTabs": false
147+
}

Diff for: .editorconfig

+9-10
Original file line numberDiff line numberDiff line change
@@ -22,26 +22,25 @@ spaces_around_operators = true
2222
tab_width = 2
2323
trim_trailing_whitespace = true
2424

25-
# handlebars
26-
[*.hbs]
27-
max_line_length = 100
28-
2925
# markdown
30-
[*.md]
26+
[{*.md,*.mdx}]
3127
max_line_length = 120
3228

3329
# shellscript
3430
[*.sh]
31+
binary_next_line = true
32+
function_next_line = false
33+
keep_comments = true
34+
keep_padding = false
3535
max_line_length = 100
36+
shell_variant = 0
37+
space_redirects = false
38+
switch_case_indent = true
3639

3740
# snapshots
3841
[*.snap]
3942
max_line_length = 130
4043

41-
# xml
42-
[*.xml]
43-
max_line_length = 100
44-
4544
# yaml
46-
[*.yml]
45+
[{*.yaml,*.yml}]
4746
max_line_length = 100

Diff for: .env.vars

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# variables
2+
3+
GH_PROJECT_NUMBER=23

Diff for: .eslintignore

-31
This file was deleted.

0 commit comments

Comments
 (0)