Skip to content

Commit f36b00b

Browse files
committed
chore: update project architecture
Signed-off-by: Lexus Drumgold <[email protected]>
1 parent bc11c5f commit f36b00b

39 files changed

+2579
-1843
lines changed

.commitlintrc.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111
[
1212
"attacher",
1313
"deps",
14+
"deps-bundle",
1415
"deps-dev",
16+
"deps-opt",
1517
"deps-peer",
1618
"enums",
1719
"esm",

.cspell.json

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,18 @@
1414
"flagWords": [],
1515
"ignorePaths": [
1616
"**/*.snap",
17+
"**/.gitconfig",
1718
"**/.gitignore",
19+
"**/.gitkeep",
20+
"**/.npmignore",
1821
".cspell.json",
1922
".env*",
23+
".eslintignore",
2024
".git/",
2125
".husky/_/",
26+
".markdownlintignore",
27+
".nvmrc",
28+
".prettierignore",
2229
".yarn/",
2330
"CHANGELOG.md",
2431
"LICENSE.md",
@@ -27,13 +34,17 @@
2734
"patches/",
2835
"yarn.lock"
2936
],
30-
"ignoreRegExpList": ["/from\\s+(['\"]).*\\1/"],
37+
"ignoreRegExpList": [
38+
"/@flex-development\\/.*/",
39+
"/from\\s+(['\"]).*\\1/",
40+
"import\\(.*\\)"
41+
],
3142
"ignoreWords": [],
3243
"language": "en-US",
3344
"patterns": [],
3445
"readonly": true,
3546
"useGitignore": true,
3647
"usePnP": false,
3748
"version": "0.2",
38-
"words": ["docast", "fldv"]
49+
"words": ["docast", "fldv", "flexdevelopmentllc"]
3950
}

.dictionary.txt

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,6 @@
11
ardatan
2-
autocrlf
3-
autosetuprebase
4-
bdel
5-
bdelr
62
bdougie
7-
bren
8-
bstract
93
cefc
10-
chbfeat
11-
chbfix
12-
chbhotfix
13-
chbrelease
144
commitlintrc
155
dawidd
166
dedupe
@@ -20,11 +10,9 @@ dohm
2010
esbenp
2111
esbuild
2212
fbca
23-
fpnv
2413
gpgsign
2514
graphqlrc
2615
hmarr
27-
identifierish
2816
iife
2917
katas
3018
keyid
@@ -39,16 +27,13 @@ nvmrc
3927
pkgs
4028
preid
4129
psum
42-
ructor
43-
safecrlf
4430
stringifier
4531
syncer
32+
testts
4633
tokenizes
47-
tsdoc
4834
unist
4935
vates
5036
vfile
5137
vitest
5238
vsicons
5339
yarnrc
54-
yntax

.editorconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ trim_trailing_whitespace = true
2626
[*.hbs]
2727
max_line_length = 100
2828

29+
# markdown
30+
[*.md]
31+
max_line_length = 120
32+
2933
# shellscript
3034
[*.sh]
3135
max_line_length = 100

.eslintignore

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,25 @@
11
# ESLINT IGNORE
2-
# https://eslint.org/docs/user-guide/configuring#ignoring-files-and-directories
2+
# https://eslint.org/docs/user-guide/configuring/ignoring-code#the-eslintignore-file
33

44
# DIRECTORIES & FILES
55
**/*.snap
66
**/.DS_Store
77
.eslintcache
8-
.yarn/*
98
__tests__/report.json
10-
coverage/*
11-
dist/*
12-
node_modules/*
9+
coverage/
10+
dist/
11+
node_modules/
1312
yarn.lock
1413

1514
# NEGATED PATTERNS
16-
!/.*
15+
!.commitlintrc.json
16+
!.cspell.json
17+
!.eslintrc.base.cjs
18+
!.eslintrc.cjs
19+
!.github/
20+
!.graphqlrc.yml
21+
!.lintstagedrc.json
22+
!.markdownlint.jsonc
23+
!.prettierrc.json
24+
!.vscode/
25+
!.yarnrc.yml

.eslintrc.base.cjs

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ const config = {
338338
'jsdoc/check-tag-names': [
339339
1,
340340
{
341-
definedTags: ['next', 'visibleName'],
341+
definedTags: ['experimental', 'next', 'visibleName'],
342342
jsxTags: jsx
343343
}
344344
],
@@ -418,7 +418,7 @@ const config = {
418418
{
419419
exemptAsync: false,
420420
exemptGenerators: true,
421-
reportMissingReturnForUndefinedTypes: false
421+
reportMissingReturnForUndefinedTypes: true
422422
}
423423
],
424424
'jsdoc/require-returns-description': 1,
@@ -1101,12 +1101,6 @@ const config = {
11011101
'yml/key-name-casing': 0
11021102
}
11031103
},
1104-
{
1105-
files: ['helpers/tsconfig-paths.cjs'],
1106-
rules: {
1107-
'node/no-deprecated-api': 0
1108-
}
1109-
},
11101104
{
11111105
files: ['tsconfig*.json'],
11121106
rules: {
@@ -1129,6 +1123,9 @@ const config = {
11291123
name: 'namepath-defining',
11301124
required: ['name', 'type']
11311125
},
1126+
experimental: {
1127+
name: 'none'
1128+
},
11321129
extends: {
11331130
name: 'namepath-defining',
11341131
required: ['type']

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ A list of linked issues and/or pull requests.
2525

2626
## Additional context
2727

28-
<!-- Include additional details here. Be sure to note if any tolerable vulnerabilities or warnings have been introduced. -->
28+
<!--
29+
Include additional details here. Be sure to note if any tolerable vulnerabilities or warnings have been introduced.
30+
-->
2931

3032
## Submission checklist
3133

.github/dependabot.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,34 +4,38 @@
44
#
55
# - https://docs.github.com/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates
66

7+
---
78
version: 2
89
updates:
910
- package-ecosystem: github-actions
10-
directory: /
11-
schedule:
12-
interval: daily
1311
commit-message:
1412
prefix: ci
1513
include: scope
14+
directory: /
1615
labels:
1716
- scope:dependencies
1817
- type:ci
1918
reviewers:
2019
- flex-development/dependabot-review
2120
- flexdevelopment
22-
- package-ecosystem: npm
23-
directory: /
2421
schedule:
2522
interval: daily
23+
- package-ecosystem: npm
2624
commit-message:
2725
prefix: build
2826
include: scope
27+
directory: /
2928
ignore:
29+
- dependency-name: '@flex-development/tutils'
3030
- dependency-name: '@types/node'
31-
- dependency-name: typescript
31+
- dependency-name: '@vitest/*'
32+
- dependency-name: unist-util-inspect
33+
- dependency-name: vitest
3234
labels:
3335
- scope:dependencies
3436
- type:build
3537
reviewers:
3638
- flex-development/dependabot-review
3739
- flexdevelopment
40+
schedule:
41+
interval: daily

.github/workflows/add-to-project.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ jobs:
2525
name: Add ${{ format('#{0}', github.event.number || github.event.issue.number) }} to project
2626
uses: actions/[email protected]
2727
with:
28-
github-token: ${{ secrets.PAT_BOT }}
28+
github-token: ${{ secrets.GH_TOKEN }}
2929
project-url: |
3030
${{ format('{0}/orgs/{1}/projects/{2}', github.server_url, github.repository_owner, secrets.GH_PROJECT_ID) }}

.github/workflows/approve-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ on:
1818
types:
1919
- review_requested
2020
env:
21-
GITHUB_TOKEN: ${{ secrets.PAT_BOT }}
21+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
2222
jobs:
2323
approve-pr:
2424
if: github.event.requested_reviewer.login == 'flexdevelopment'

0 commit comments

Comments
 (0)