Skip to content

Commit

Permalink
refactor!: api
Browse files Browse the repository at this point in the history
Signed-off-by: Lexus Drumgold <unicornware@flexdevelopment.llc>
  • Loading branch information
unicornware committed Oct 3, 2024
1 parent 6c47e2b commit eea308c
Show file tree
Hide file tree
Showing 442 changed files with 16,545 additions and 25,942 deletions.
2 changes: 1 addition & 1 deletion .attw.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"color": true,
"emoji": true,
"format": "ascii",
"ignoreRules": ["cjs-resolves-to-esm"],
"ignoreRules": ["cjs-resolves-to-esm", "internal-resolution-error"],
"summary": true
}
24 changes: 9 additions & 15 deletions .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ component_management:
name: internal
paths:
- src/internal/*.ts
- component_id: utils
name: utils
- component_id: lib
name: lib
paths:
- src/utils/*.ts
- src/lib/*.ts

coverage:
precision: 2
Expand Down Expand Up @@ -80,15 +80,7 @@ coverage:
threshold: 0%

flags:
node20:
carryforward: false
paths:
- src/
node19:
carryforward: false
paths:
- src/
node18:
node22:
carryforward: false
paths:
- src/
Expand All @@ -100,9 +92,11 @@ ignore:
- '**/__mocks__/**'
- '**/__tests__/**'
- '**/index.ts'
- src/interfaces/
- src/types/
- '**/interfaces/**'
- '**/types/**'
- '!src/index.ts'
- src/internal/*.browser.ts

profiling:
critical_files_paths:
- src/utils/*.ts
- src/lib/*.ts
2 changes: 1 addition & 1 deletion .commitlintrc.cts → .commitlintrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const config: UserConfig = {
'scope-enum': [
RuleConfigSeverity.Error,
'always',
scopes(['analyze', 'docs', 'resolve', 'specifiers', 'syntax'])
scopes(['analyze', 'chore', 'docs', 'resolve', 'specifiers', 'syntax'])
]
}
}
Expand Down
13 changes: 3 additions & 10 deletions .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,32 +13,25 @@
"failFast": false,
"flagWords": [],
"ignorePaths": [
"**/*.log",
"!scratch.*",
"**/*.patch",
"**/*.snap",
"**/*.wasm",
"**/.*ignore",
"**/.gitconfig",
"**/CHANGELOG.md",
"**/LICENSE.md",
"**/RELEASE_NOTES.md",
"**/scratch.*",
".cspell.json",
".dictionary.txt",
".git/",
".husky/_/",
".vscode/settings.json",
".yarn/",
"dist/",
"patches/",
"yarn.lock"
],
"ignoreRegExpList": [
"/(%2f|%5c).+/i",
"/(;base64,).+/",
"/@flex-development\\/.*/",
"/from\\s+(['\"]).*\\1/",
"import\\(.*\\)"
],
"ignoreRegExpList": [],
"ignoreWords": [],
"language": "en-US",
"patterns": [],
Expand Down
35 changes: 7 additions & 28 deletions .dictionary.txt
Original file line number Diff line number Diff line change
@@ -1,59 +1,38 @@
algoliasearch
alogirthm
attw
bdougie
cefc
changeextfn
codecov
commitlintrc
decamelize
dedupe
dequote
deno
dessant
devlop
docast
dohm
dprint
esast
esmodules
exactish
fbca
fdvcmxk
fldv
ggshield
gpgsign
hascjssyntax
hasesmsyntax
hmarr
iife
isbarespecifier
isexportssugar
isrelativespecifier
jchen
kaisugi
lcov
lintstagedrc
mkbuild
mlly
moduleid
nocheck
nvmrc
parsedmoduleid
parsemoduleid
parsemoduleidoptions
pathe
pjson
pkgs
preid
rext
segement
remarkrc
shfmt
sindresorhus
toabsolutespecifier
todataurl
tourl
tscu
unstub
vates
vercel
vfile
vitepress
vitest
wabt
yarnrc
zors
64 changes: 23 additions & 41 deletions .dprint.jsonc
Original file line number Diff line number Diff line change
@@ -1,38 +1,32 @@
{
"$schema": "https://dprint.dev/schemas/v0.json",
"excludes": [
"!**/__fixtures__/**/dist/",
"!**/__fixtures__/**/node_modules/",
"!**/typings/**/dist/",
"!scratch.*",
"**/*.patch",
"**/*.snap",
"**/*config.*.timestamp*",
"**/.temp/",
"**/.vercel/",
"**/__fixtures__/git/**/*.txt",
"**/__tests__/report.json",
"**/coverage/",
"**/dist/",
"**/node_modules",
"**/tsconfig*temp.json",
"**/CHANGELOG.md",
"**/LICENSE.md",
"**/RELEASE_NOTES.md",
".git/",
".husky/_/",
".yarn/",
"CHANGELOG.md",
"LICENSE.md",
"RELEASE_NOTES.md",
"yarn.lock"
],
"exec": {
"commands": [
{
"command": "node ./dprint/prettier.mjs {{file_path}}",
"exts": ["json5", "yaml", "yml"],
"exts": ["css", "html", "json5", "scss", "yaml", "yml"],
"stdin": true
},
{
"command": "node ./dprint/remark.mjs {{file_path}}",
"exts": ["md", "mdx"],
"stdin": true
},
{
"command": "node ./dprint/shfmt.mjs {{file_path}}",
"exts": ["sh", "txt", "zsh"],
"exts": ["sh", "zsh"],
"fileNames": [
".editorconfig",
".env",
Expand All @@ -43,7 +37,6 @@
".gitattributes",
".gitconfig",
".gitignore",
".markdownlintignore",
".npmrc",
".nvmrc",
"Brewfile",
Expand All @@ -53,49 +46,38 @@
],
"stdin": true
}
]
],
"cwd": "${configDir}"
},
"incremental": true,
"indentWidth": 2,
"json": {
"associations": ["**/*.{jsonc,json}"],
"array.preferSingleLine": false,
"commentLine.forceSpaceAfterSlashes": true,
"ignoreNodeCommentText": "dprint-ignore",
"object.preferSingleLine": false
"object.preferSingleLine": false,
"trailingCommas": "never"
},
"lineWidth": 80,
"markdown": {
"associations": ["**/*.{md,mdx}"],
"emphasisKind": "asterisks",
"ignoreDirective": "dprint-ignore",
"ignoreEndDirective": "dprint-ignore-end",
"ignoreFileDirective": "dprint-ignore-file",
"ignoreStartDirective": "dprint-ignore-start",
"lineWidth": 120,
"strongKind": "asterisks",
"textWrap": "maintain"
},
"newLineKind": "lf",
"plugins": [
"https://plugins.dprint.dev/typescript-0.88.3.wasm",
"https://plugins.dprint.dev/json-0.17.4.wasm",
"https://plugins.dprint.dev/markdown-0.16.0.wasm",
"https://plugins.dprint.dev/exec-0.4.3.json@42343548b8022c99b1d750be6b894fe6b6c7ee25f72ae9f9082226dd2e515072"
"https://plugins.dprint.dev/typescript-0.91.6.wasm",
"https://plugins.dprint.dev/json-0.19.3.wasm",
"https://plugins.dprint.dev/exec-0.5.0.json@8d9972eee71fa1590e04873540421f3eda7674d0f1aae3d7c788615e7b7413d0"
],
"typescript": {
"arrowFunction.useParentheses": "preferNone",
"binaryExpression.linePerExpression": false,
"binaryExpression.operatorPosition": "sameLine",
"binaryExpression.spaceSurroundingBitwiseAndArithmeticOperator": true,
"bracePosition": "sameLine",
"commentLine.forceSpaceAfterSlashes": true,
"commentLine.forceSpaceAfterSlashes": false,
"constructSignature.spaceAfterNewKeyword": true,
"constructor.spaceBeforeParentheses": false,
"constructorType.spaceAfterNewKeyword": true,
"doWhileStatement.spaceAfterWhileKeyword": true,
"enumDeclaration.memberSpacing": "maintain",
"exportDeclaration.forceMultiLine": false,
"exportDeclaration.forceMultiLine": "never",
"exportDeclaration.forceSingleLine": false,
"exportDeclaration.sortNamedExports": "maintain",
"exportDeclaration.spaceSurroundingNamedExports": true,
Expand All @@ -110,15 +92,15 @@
"ifStatement.spaceAfterIfKeyword": true,
"ignoreFileCommentText": "dprint-ignore-file",
"ignoreNodeCommentText": "dprint-ignore",
"importDeclaration.forceMultiLine": false,
"importDeclaration.forceMultiLine": "never",
"importDeclaration.forceSingleLine": false,
"importDeclaration.sortNamedImports": "maintain",
"importDeclaration.spaceSurroundingNamedImports": true,
"jsx.bracketPosition": "nextLine",
"jsx.forceNewLinesSurroundingContent": false,
"jsx.multiLineParens": "always",
"jsx.multiLineParens": "prefer",
"jsx.quoteStyle": "preferSingle",
"jsxExpressionContainer.spaceSurroundingExpression": true,
"jsxExpressionContainer.spaceSurroundingExpression": false,
"jsxSelfClosingElement.spaceBeforeSlash": true,
"memberExpression.linePerExpression": false,
"method.spaceBeforeParentheses": false,
Expand Down
10 changes: 1 addition & 9 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,8 @@ spaces_around_operators = true
tab_width = 2
trim_trailing_whitespace = true

# handlebars
[*.hbs]
max_line_length = 100

# markdown
[*.md]
[{*.md,*.mdx}]
max_line_length = 120

# shellscript
Expand All @@ -45,10 +41,6 @@ switch_case_indent = true
[*.snap]
max_line_length = 130

# xml
[*.xml]
max_line_length = 100

# yaml
[{*.yaml,*.yml}]
max_line_length = 100
3 changes: 3 additions & 0 deletions .env.vars
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# variables

GH_PROJECT_NUMBER=15
1 change: 1 addition & 0 deletions .env.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@
[ -f $PWD/.env.repo ] && source $PWD/.env.repo
HOMEBREW_BREWFILE=./Brewfile
NODE_NO_WARNINGS=1
NODE_OPTIONS='--experimental-strip-types --experimental-transform-types'
36 changes: 0 additions & 36 deletions .eslintignore

This file was deleted.

Loading

0 comments on commit eea308c

Please sign in to comment.