Skip to content

Commit 04ce53b

Browse files
committed
chore: initial commit
Signed-off-by: Lexus Drumgold <[email protected]>
0 parents  commit 04ce53b

Some content is hidden

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

70 files changed

+19260
-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: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
# CODECOV CONFIGURATION
2+
# https://docs.codecov.com/docs/codecovyml-reference
3+
4+
---
5+
codecov:
6+
notify:
7+
after_n_builds: 1
8+
wait_for_ci: true
9+
require_ci_to_pass: true
10+
11+
comment:
12+
after_n_builds: 1
13+
behavior: default
14+
layout: header,diff,flags,components,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+
component_management: []
22+
23+
coverage:
24+
precision: 2
25+
range: 90..100
26+
round: nearest
27+
status:
28+
changes:
29+
default:
30+
branches:
31+
- dependabot/*
32+
- feat/*
33+
- hotfix/*
34+
- main
35+
- release/*
36+
if_ci_failed: error
37+
if_not_found: success
38+
informational: false
39+
only_pulls: false
40+
patch:
41+
default:
42+
branches:
43+
- dependabot/*
44+
- feat/*
45+
- hotfix/*
46+
- main
47+
- release/*
48+
if_ci_failed: error
49+
if_not_found: success
50+
informational: false
51+
only_pulls: false
52+
target: 100%
53+
threshold: 0%
54+
project:
55+
default:
56+
branches:
57+
- dependabot/*
58+
- feat/*
59+
- hotfix/*
60+
- main
61+
- release/*
62+
if_ci_failed: error
63+
if_not_found: success
64+
informational: false
65+
only_pulls: false
66+
target: 100%
67+
threshold: 0%
68+
69+
flags:
70+
node23:
71+
carryforward: false
72+
paths:
73+
- src/
74+
75+
github_checks:
76+
annotations: true
77+
78+
ignore:
79+
- '**/*.d.mts'
80+
- '**/__mocks__/'
81+
- '**/__tests__/'
82+
- '**/index.mts'
83+
- '**/interfaces/'
84+
- '**/types/'
85+
- '!src/index.mts'
86+
87+
profiling:
88+
critical_files_paths: []

.commitlintrc.ts

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

.cspell.json

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

.dictionary.txt

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
attw
2+
cefc
3+
commitlintrc
4+
dedupe
5+
dessant
6+
devlop
7+
docast
8+
dohm
9+
dprint
10+
esbuild
11+
fbca
12+
ggshield
13+
gpgsign
14+
hmarr
15+
jchen
16+
kaisugi
17+
kronk
18+
nvmrc
19+
pkgs
20+
remarkrc
21+
rollup
22+
sarif
23+
shfmt
24+
unstub
25+
vates
26+
vitest
27+
yarnrc

.dprint.jsonc

Lines changed: 134 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,134 @@
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+
"yarn.lock"
15+
],
16+
"exec": {
17+
"commands": [
18+
{
19+
"command": "node --experimental-strip-types --experimental-transform-types ./dprint/prettier.mts {{file_path}}",
20+
"exts": ["css", "html", "json5", "scss", "yaml", "yml"],
21+
"stdin": true
22+
},
23+
{
24+
"command": "node --experimental-strip-types --experimental-transform-types ./dprint/remark.mts {{file_path}}",
25+
"exts": ["md", "mdx"],
26+
"stdin": true
27+
},
28+
{
29+
"command": "node --experimental-strip-types --experimental-transform-types ./dprint/shfmt.mts {{file_path}}",
30+
"exts": ["sh", "zsh"],
31+
"fileNames": [
32+
".editorconfig",
33+
".env",
34+
".env.local",
35+
".env.repo",
36+
".eslintcache",
37+
".eslintignore",
38+
".gitattributes",
39+
".gitconfig",
40+
".gitignore",
41+
".npmrc",
42+
".nvmrc",
43+
"Brewfile",
44+
"commit-msg",
45+
"pre-commit",
46+
"pre-push"
47+
],
48+
"stdin": true
49+
}
50+
],
51+
"cwd": "${configDir}"
52+
},
53+
"indentWidth": 2,
54+
"json": {
55+
"associations": ["**/*.{jsonc,json}"],
56+
"array.preferSingleLine": false,
57+
"commentLine.forceSpaceAfterSlashes": true,
58+
"ignoreNodeCommentText": "dprint-ignore",
59+
"object.preferSingleLine": false,
60+
"trailingCommas": "never"
61+
},
62+
"lineWidth": 80,
63+
"newLineKind": "lf",
64+
"plugins": [
65+
"https://plugins.dprint.dev/typescript-0.93.3.wasm",
66+
"https://plugins.dprint.dev/json-0.19.4.wasm",
67+
"https://plugins.dprint.dev/exec-0.5.1.json@492414e39dea4dccc07b4af796d2f4efdb89e84bae2bd4e1e924c0cc050855bf"
68+
],
69+
"typescript": {
70+
"arrowFunction.useParentheses": "preferNone",
71+
"binaryExpression.linePerExpression": false,
72+
"binaryExpression.operatorPosition": "sameLine",
73+
"binaryExpression.spaceSurroundingBitwiseAndArithmeticOperator": true,
74+
"bracePosition": "sameLine",
75+
"commentLine.forceSpaceAfterSlashes": false,
76+
"constructSignature.spaceAfterNewKeyword": true,
77+
"constructor.spaceBeforeParentheses": false,
78+
"constructorType.spaceAfterNewKeyword": true,
79+
"doWhileStatement.spaceAfterWhileKeyword": true,
80+
"enumDeclaration.memberSpacing": "maintain",
81+
"exportDeclaration.forceMultiLine": "never",
82+
"exportDeclaration.forceSingleLine": false,
83+
"exportDeclaration.sortNamedExports": "maintain",
84+
"exportDeclaration.spaceSurroundingNamedExports": true,
85+
"forInStatement.spaceAfterForKeyword": true,
86+
"forOfStatement.spaceAfterForKeyword": true,
87+
"forStatement.spaceAfterForKeyword": true,
88+
"forStatement.spaceAfterSemiColons": true,
89+
"functionDeclaration.spaceBeforeParentheses": false,
90+
"functionExpression.spaceAfterFunctionKeyword": false,
91+
"functionExpression.spaceBeforeParentheses": false,
92+
"getAccessor.spaceBeforeParentheses": false,
93+
"ifStatement.spaceAfterIfKeyword": true,
94+
"ignoreFileCommentText": "dprint-ignore-file",
95+
"ignoreNodeCommentText": "dprint-ignore",
96+
"importDeclaration.forceMultiLine": "never",
97+
"importDeclaration.forceSingleLine": false,
98+
"importDeclaration.sortNamedImports": "maintain",
99+
"importDeclaration.spaceSurroundingNamedImports": true,
100+
"jsx.bracketPosition": "nextLine",
101+
"jsx.forceNewLinesSurroundingContent": false,
102+
"jsx.multiLineParens": "prefer",
103+
"jsx.quoteStyle": "preferSingle",
104+
"jsxExpressionContainer.spaceSurroundingExpression": false,
105+
"jsxSelfClosingElement.spaceBeforeSlash": true,
106+
"memberExpression.linePerExpression": false,
107+
"method.spaceBeforeParentheses": false,
108+
"module.sortExportDeclarations": "caseSensitive",
109+
"module.sortImportDeclarations": "caseSensitive",
110+
"newLineKind": "lf",
111+
"nextControlFlowPosition": "sameLine",
112+
"objectExpression.spaceSurroundingProperties": true,
113+
"objectPattern.spaceSurroundingProperties": true,
114+
"operatorPosition": "nextLine",
115+
"preferHanging": true,
116+
"preferSingleLine": false,
117+
"quoteProps": "asNeeded",
118+
"quoteStyle": "alwaysSingle",
119+
"semiColons": "asi",
120+
"setAccessor.spaceBeforeParentheses": false,
121+
"singleBodyPosition": "sameLine",
122+
"spaceAround": false,
123+
"spaceSurroundingProperties": true,
124+
"taggedTemplate.spaceBeforeLiteral": false,
125+
"trailingCommas": "never",
126+
"typeAnnotation.spaceBeforeColon": false,
127+
"typeAssertion.spaceBeforeExpression": false,
128+
"typeLiteral.separatorKind.singleLine": "semiColon",
129+
"typeLiteral.spaceSurroundingProperties": true,
130+
"useBraces": "maintain",
131+
"whileStatement.spaceAfterWhileKeyword": true
132+
},
133+
"useTabs": false
134+
}

.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

.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=61

.env.zsh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# ENVIRONMENT VARIABLES - ZSH
2+
#
3+
# References:
4+
#
5+
# - https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/dotenv
6+
# - https://homebrew-file.readthedocs.io/en/latest/usage.html
7+
8+
[ -f $PWD/.env.repo ] && source $PWD/.env.repo
9+
HOMEBREW_BREWFILE=./Brewfile
10+
NODE_NO_WARNINGS=1
11+
NODE_OPTIONS='--experimental-strip-types --experimental-transform-types'

0 commit comments

Comments
 (0)