Skip to content

Commit ec97d4a

Browse files
committed
chore: initial commit
Signed-off-by: Lexus Drumgold <unicornware@flexdevelopment.llc>
0 parents  commit ec97d4a

Some content is hidden

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

69 files changed

+17357
-0
lines changed

.attw.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"color": true,
3+
"emoji": true,
4+
"format": "ascii",
5+
"ignoreRules": ["cjs-resolves-to-esm", "internal-resolution-error"],
6+
"summary": true
7+
}

.codecov.yml

Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
# CODECOV CONFIGURATION
2+
# https://docs.codecov.com/docs/codecovyml-reference
3+
4+
---
5+
codecov:
6+
notify:
7+
after_n_builds: 7
8+
wait_for_ci: true
9+
require_ci_to_pass: true
10+
11+
comment:
12+
after_n_builds: 7
13+
behavior: default
14+
layout: header,diff,flags,tree,footer
15+
require_base: false
16+
require_changes: false
17+
require_head: true
18+
show_carryforward_flags: true
19+
show_critical_paths: true
20+
21+
coverage:
22+
precision: 2
23+
range: 90..100
24+
round: nearest
25+
status:
26+
changes:
27+
default:
28+
branches:
29+
- dependabot/*
30+
- feat/*
31+
- hotfix/*
32+
- main
33+
- release/*
34+
if_ci_failed: error
35+
if_not_found: success
36+
informational: false
37+
only_pulls: false
38+
patch:
39+
default:
40+
branches:
41+
- dependabot/*
42+
- feat/*
43+
- hotfix/*
44+
- main
45+
- release/*
46+
if_ci_failed: error
47+
if_not_found: success
48+
informational: false
49+
only_pulls: false
50+
target: 100%
51+
threshold: 0%
52+
project:
53+
default:
54+
branches:
55+
- dependabot/*
56+
- feat/*
57+
- hotfix/*
58+
- main
59+
- release/*
60+
if_ci_failed: error
61+
if_not_found: success
62+
informational: false
63+
only_pulls: false
64+
target: 100%
65+
threshold: 0%
66+
67+
flags:
68+
bun-canary:
69+
carryforward: false
70+
paths:
71+
- src/
72+
bun-latest:
73+
carryforward: false
74+
paths:
75+
- src/
76+
node24:
77+
carryforward: false
78+
paths:
79+
- src/
80+
node23:
81+
carryforward: false
82+
paths:
83+
- src/
84+
node22:
85+
carryforward: false
86+
paths:
87+
- src/
88+
node21:
89+
carryforward: false
90+
paths:
91+
- src/
92+
node20:
93+
carryforward: false
94+
paths:
95+
- src/
96+
97+
github_checks:
98+
annotations: true
99+
100+
ignore:
101+
- '**/*.d.mts'
102+
- '**/__mocks__/**'
103+
- '**/__tests__/**'
104+
- '**/index.mts'
105+
- '**/interfaces/**'
106+
- '**/types/**'
107+
- '!src/index.mts'
108+
109+
profiling:
110+
critical_files_paths: []

.commitlintrc.ts

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
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(['chore'])]
19+
}
20+
}
21+
22+
export default config

.cspell.json

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json",
3+
"allowCompoundWords": true,
4+
"caseSensitive": false,
5+
"dictionaries": ["@flex-development/ansi-regex"],
6+
"dictionaryDefinitions": [
7+
{
8+
"name": "@flex-development/ansi-regex",
9+
"path": "./.dictionary.txt"
10+
}
11+
],
12+
"enableGlobDot": true,
13+
"failFast": false,
14+
"flagWords": [],
15+
"ignorePaths": [
16+
"**/*.patch",
17+
"**/*.snap",
18+
"**/*.svg",
19+
"**/*.wasm",
20+
"**/.*ignore",
21+
"**/.gitconfig",
22+
"**/CHANGELOG.md",
23+
"**/LICENSE.md",
24+
"**/RELEASE_NOTES.md",
25+
".cspell.json",
26+
".dictionary.txt",
27+
".git/",
28+
".husky/_/",
29+
".vscode/settings.json",
30+
".yarn/",
31+
"patches/",
32+
"yarn.lock"
33+
],
34+
"ignoreRegExpList": [],
35+
"ignoreWords": ["fldv"],
36+
"language": "en-US",
37+
"patterns": [],
38+
"readonly": true,
39+
"useGitignore": true,
40+
"usePnP": false,
41+
"version": "0.2"
42+
}

.dictionary.txt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
attw
2+
cefc
3+
commitlintrc
4+
dedupe
5+
devlop
6+
fbca
7+
gpgsign
8+
hmarr
9+
jchen
10+
kaisugi
11+
nvmrc
12+
shfmt
13+
unstub
14+
vates
15+
vitest
16+
yarnrc

.dprint.jsonc

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

.editorconfig

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# EDITORCONFIG
2+
# https://editorconfig.org
3+
# https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties
4+
5+
# indicate top-most editorconfig file
6+
root = true
7+
8+
# universal rules
9+
[*]
10+
charset = utf-8
11+
continuation_indent_size = 2
12+
curly_bracket_next_line = false
13+
end_of_line = lf
14+
indent_brace_style = BSD
15+
indent_size = 2
16+
indent_style = space
17+
insert_final_newline = true
18+
max_line_length = 80
19+
quote_type = single
20+
spaces_around_brackets = inside
21+
spaces_around_operators = true
22+
tab_width = 2
23+
trim_trailing_whitespace = true
24+
25+
# markdown
26+
[{*.md,*.mdx}]
27+
max_line_length = 120
28+
29+
# shellscript
30+
[*.sh]
31+
binary_next_line = true
32+
function_next_line = false
33+
keep_comments = true
34+
keep_padding = false
35+
max_line_length = 100
36+
shell_variant = 0
37+
space_redirects = false
38+
switch_case_indent = true
39+
40+
# snapshots
41+
[*.snap]
42+
max_line_length = 130
43+
44+
# yaml
45+
[{*.yaml,*.yml}]
46+
max_line_length = 100

0 commit comments

Comments
 (0)