Skip to content

Commit 5c06f5c

Browse files
authored
Merge pull request #57 from starknet-io/beta
Beta -> Main Release v.0.10
2 parents d0694ab + 3b0e4cb commit 5c06f5c

35 files changed

+4125
-8251
lines changed

.editorconfig

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# EditorConfig is awesome: https://EditorConfig.org
2+
3+
# Top-most EditorConfig file
4+
root = true
5+
6+
# Default settings for all files
7+
[*]
8+
charset = utf-8
9+
end_of_line = lf
10+
insert_final_newline = true
11+
trim_trailing_whitespace = true
12+
13+
# JavaScript, TypeScript, JSX, TSX
14+
[*.{js,jsx,ts,tsx,mjs,cjs,mts,cts}]
15+
indent_style = space
16+
indent_size = 2
17+
quote_type = single
18+
19+
# JSON files
20+
[*.json]
21+
indent_style = space
22+
indent_size = 2
23+
24+
# YAML files
25+
[*.{yml,yaml}]
26+
indent_style = space
27+
indent_size = 2
28+
29+
# Markdown files
30+
[*.md]
31+
trim_trailing_whitespace = false
32+
33+
# Shell scripts
34+
[*.sh]
35+
indent_style = space
36+
indent_size = 2
37+
38+
# Makefiles (require tabs)
39+
[Makefile]
40+
indent_style = tab
41+
42+
# Package manager files
43+
[{package.json,package-lock.json,yarn.lock,pnpm-lock.yaml}]
44+
indent_style = space
45+
indent_size = 2

.eslintignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

.eslintrc

Lines changed: 0 additions & 27 deletions
This file was deleted.

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
push:
1818
branches: ['main']
1919
pull_request:
20-
branches: '*'
20+
branches: ['*']
2121

2222
jobs:
2323
quality:
@@ -35,7 +35,7 @@ jobs:
3535

3636
publish:
3737
runs-on: ubuntu-latest
38-
if: ${{ github.ref == 'refs/heads/main' || github.ref == 'refs/heads/beta' }}
38+
if: ${{ github.ref == 'refs/heads/main' || github.ref == 'refs/heads/beta' || github.ref == 'refs/heads/alpha' }}
3939
needs: [quality]
4040
steps:
4141
- uses: actions/checkout@v4

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ npm-debug.log
1212
package
1313
yarn.lock
1414
.claude/
15+
.claude-flow/
1516
.hive-mind/
1617
.mcp.json
1718
.roo/

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
.eslintcache
66
.vscode
77
.idea
8+
.claude-flow/
89
coverage
910
node_modules
1011
npm-debug.log

.prettierrc

Lines changed: 0 additions & 6 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 113 additions & 95 deletions
Large diffs are not rendered by default.

biome.json

Lines changed: 264 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,264 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/2.3.1/schema.json",
3+
"vcs": { "enabled": true, "clientKind": "git", "useIgnoreFile": true },
4+
"files": { "includes": ["**", "!!**/dist"] },
5+
"formatter": {
6+
"enabled": true,
7+
"formatWithErrors": false,
8+
"indentStyle": "space",
9+
"indentWidth": 2,
10+
"lineEnding": "lf",
11+
"lineWidth": 100,
12+
"attributePosition": "auto",
13+
"bracketSameLine": false,
14+
"bracketSpacing": true,
15+
"expand": "auto",
16+
"useEditorconfig": true
17+
},
18+
"linter": {
19+
"enabled": true,
20+
"rules": {
21+
"recommended": false,
22+
"complexity": {
23+
"noAdjacentSpacesInRegex": "error",
24+
"noArguments": "error",
25+
"noCommaOperator": "error",
26+
"noExtraBooleanCast": "error",
27+
"noImplicitCoercions": "off",
28+
"noUselessCatch": "error",
29+
"noUselessConstructor": "error",
30+
"noUselessEscapeInRegex": "error",
31+
"noUselessLabel": "error",
32+
"noUselessLoneBlockStatements": "error",
33+
"noUselessRename": "error",
34+
"noUselessStringConcat": "error",
35+
"noUselessTernary": "error",
36+
"noUselessUndefinedInitialization": "error",
37+
"noVoid": "error",
38+
"useLiteralKeys": "error",
39+
"useNumericLiterals": "error",
40+
"useRegexLiterals": "error"
41+
},
42+
"correctness": {
43+
"noConstAssign": "error",
44+
"noConstantCondition": "warn",
45+
"noConstructorReturn": "error",
46+
"noEmptyCharacterClassInRegex": "error",
47+
"noEmptyPattern": "error",
48+
"noGlobalObjectCalls": "error",
49+
"noInnerDeclarations": "error",
50+
"noInvalidConstructorSuper": "error",
51+
"noInvalidUseBeforeDeclaration": "error",
52+
"noNodejsModules": "off",
53+
"noNonoctalDecimalEscape": "error",
54+
"noPrecisionLoss": "error",
55+
"noSelfAssign": "error",
56+
"noSetterReturn": "error",
57+
"noSwitchDeclarations": "error",
58+
"noUndeclaredDependencies": "error",
59+
"noUndeclaredVariables": "error",
60+
"noUnreachable": "error",
61+
"noUnreachableSuper": "error",
62+
"noUnsafeFinally": "error",
63+
"noUnsafeOptionalChaining": "error",
64+
"noUnusedLabels": "error",
65+
"noUnusedPrivateClassMembers": "off",
66+
"noUnusedVariables": "error",
67+
"useIsNan": "error",
68+
"useParseIntRadix": "error",
69+
"useValidForDirection": "error",
70+
"useValidTypeof": "error",
71+
"useYield": "error"
72+
},
73+
"performance": { "noAwaitInLoops": "error" },
74+
"security": { "noGlobalEval": "error" },
75+
"style": {
76+
"noCommonJs": "off",
77+
"noDefaultExport": "off",
78+
"noMagicNumbers": "off",
79+
"noNegationElse": "off",
80+
"noNestedTernary": "error",
81+
"noParameterAssign": "error",
82+
"noRestrictedGlobals": {
83+
"level": "error",
84+
"options": {
85+
"deniedGlobals": {
86+
"defaultStatus": "TODO: Add a custom message here.",
87+
"status": "TODO: Add a custom message here.",
88+
"scroll": "TODO: Add a custom message here.",
89+
"outerHeight": "TODO: Add a custom message here.",
90+
"screenX": "TODO: Add a custom message here.",
91+
"opener": "TODO: Add a custom message here.",
92+
"onfocus": "TODO: Add a custom message here.",
93+
"pageYOffset": "TODO: Add a custom message here.",
94+
"addEventListener": "TODO: Add a custom message here.",
95+
"defaultstatus": "TODO: Add a custom message here.",
96+
"history": "TODO: Add a custom message here.",
97+
"frames": "TODO: Add a custom message here.",
98+
"screenY": "TODO: Add a custom message here.",
99+
"focus": "TODO: Add a custom message here.",
100+
"outerWidth": "TODO: Add a custom message here.",
101+
"opera": "TODO: Add a custom message here.",
102+
"external": "TODO: Add a custom message here.",
103+
"innerHeight": "TODO: Add a custom message here.",
104+
"closed": "TODO: Add a custom message here.",
105+
"isFinite": "Use Number.isFinite instead https://github.com/airbnb/javascript#standard-library--isfinite",
106+
"frameElement": "TODO: Add a custom message here.",
107+
"scrollY": "TODO: Add a custom message here.",
108+
"self": "TODO: Add a custom message here.",
109+
"onblur": "TODO: Add a custom message here.",
110+
"find": "TODO: Add a custom message here.",
111+
"parent": "TODO: Add a custom message here.",
112+
"top": "TODO: Add a custom message here.",
113+
"moveBy": "TODO: Add a custom message here.",
114+
"menubar": "TODO: Add a custom message here.",
115+
"length": "TODO: Add a custom message here.",
116+
"onerror": "TODO: Add a custom message here.",
117+
"onresize": "TODO: Add a custom message here.",
118+
"removeEventListener": "TODO: Add a custom message here.",
119+
"onload": "TODO: Add a custom message here.",
120+
"scrollTo": "TODO: Add a custom message here.",
121+
"moveTo": "TODO: Add a custom message here.",
122+
"scrollX": "TODO: Add a custom message here.",
123+
"name": "TODO: Add a custom message here.",
124+
"toolbar": "TODO: Add a custom message here.",
125+
"innerWidth": "TODO: Add a custom message here.",
126+
"location": "TODO: Add a custom message here.",
127+
"locationbar": "TODO: Add a custom message here.",
128+
"scrollBy": "TODO: Add a custom message here.",
129+
"resizeTo": "TODO: Add a custom message here.",
130+
"stop": "TODO: Add a custom message here.",
131+
"scrollbars": "TODO: Add a custom message here.",
132+
"blur": "TODO: Add a custom message here.",
133+
"screenTop": "TODO: Add a custom message here.",
134+
"confirm": "TODO: Add a custom message here.",
135+
"screen": "TODO: Add a custom message here.",
136+
"screenLeft": "TODO: Add a custom message here.",
137+
"event": "TODO: Add a custom message here.",
138+
"onunload": "TODO: Add a custom message here.",
139+
"pageXOffset": "TODO: Add a custom message here.",
140+
"resizeBy": "TODO: Add a custom message here.",
141+
"statusbar": "TODO: Add a custom message here.",
142+
"isNaN": "Use Number.isNaN instead https://github.com/airbnb/javascript#standard-library--isnan",
143+
"close": "TODO: Add a custom message here.",
144+
"open": "TODO: Add a custom message here.",
145+
"print": "TODO: Add a custom message here."
146+
}
147+
}
148+
},
149+
"noRestrictedImports": "off",
150+
"noYodaExpression": "error",
151+
"useArrayLiterals": "error",
152+
"useBlockStatements": "off",
153+
"useCollapsedElseIf": "error",
154+
"useConsistentBuiltinInstantiation": "error",
155+
"useConst": "error",
156+
"useDefaultParameterLast": "error",
157+
"useDefaultSwitchClause": "error",
158+
"useExponentiationOperator": "error",
159+
"useExportsLast": "off",
160+
"useGroupedAccessorPairs": "error",
161+
"useObjectSpread": "error",
162+
"useShorthandAssign": "error",
163+
"useSingleVarDeclarator": "error",
164+
"useSymbolDescription": "error",
165+
"useTemplate": "error"
166+
},
167+
"suspicious": {
168+
"noAlert": "warn",
169+
"noAsyncPromiseExecutor": "error",
170+
"noBitwiseOperators": "error",
171+
"noCatchAssign": "error",
172+
"noClassAssign": "error",
173+
"noCompareNegZero": "error",
174+
"noConsole": "warn",
175+
"noControlCharactersInRegex": "error",
176+
"noDebugger": "error",
177+
"noDoubleEquals": "error",
178+
"noDuplicateCase": "error",
179+
"noDuplicateClassMembers": "error",
180+
"noDuplicateElseIf": "error",
181+
"noDuplicateObjectKeys": "error",
182+
"noDuplicateParameters": "error",
183+
"noEmptyBlockStatements": "error",
184+
"noFallthroughSwitchClause": "error",
185+
"noFunctionAssign": "error",
186+
"noGlobalAssign": "error",
187+
"noImportAssign": "error",
188+
"noIrregularWhitespace": "error",
189+
"noLabelVar": "error",
190+
"noMisleadingCharacterClass": "error",
191+
"noOctalEscape": "error",
192+
"noPrototypeBuiltins": "error",
193+
"noRedeclare": "error",
194+
"noSelfCompare": "error",
195+
"noShadowRestrictedNames": "error",
196+
"noSparseArray": "error",
197+
"noTemplateCurlyInString": "error",
198+
"noUnsafeNegation": "error",
199+
"noUselessRegexBackrefs": "error",
200+
"noVar": "error",
201+
"noWith": "error",
202+
"useAwait": "off",
203+
"useDefaultSwitchClauseLast": "error",
204+
"useGetterReturn": "error",
205+
"useGuardForIn": "error",
206+
"useIterableCallbackReturn": "error"
207+
}
208+
},
209+
"includes": ["**", "!**/node_modules/", "!**/dist/"]
210+
},
211+
"javascript": {
212+
"formatter": {
213+
"jsxQuoteStyle": "double",
214+
"quoteProperties": "asNeeded",
215+
"trailingCommas": "es5",
216+
"semicolons": "asNeeded",
217+
"arrowParentheses": "always",
218+
"bracketSameLine": false,
219+
"quoteStyle": "single",
220+
"attributePosition": "auto",
221+
"bracketSpacing": true
222+
},
223+
"globals": ["SharedArrayBuffer", "Atomics"]
224+
},
225+
"html": {
226+
"formatter": {
227+
"indentScriptAndStyle": false,
228+
"selfCloseVoidElements": "always"
229+
}
230+
},
231+
"overrides": [
232+
{
233+
"includes": ["*.ts", "*.tsx"],
234+
"linter": {
235+
"rules": {
236+
"correctness": {
237+
"noConstAssign": "off",
238+
"noGlobalObjectCalls": "off",
239+
"noInvalidConstructorSuper": "off",
240+
"noSetterReturn": "off",
241+
"noUndeclaredVariables": "off",
242+
"noUnreachable": "off",
243+
"noUnreachableSuper": "off",
244+
"useValidTypeof": "off"
245+
},
246+
"suspicious": {
247+
"noDuplicateClassMembers": "off",
248+
"noDuplicateObjectKeys": "off",
249+
"noDuplicateParameters": "off",
250+
"noFunctionAssign": "off",
251+
"noImportAssign": "off",
252+
"noRedeclare": "off",
253+
"noUnsafeNegation": "off",
254+
"useGetterReturn": "off"
255+
}
256+
}
257+
}
258+
}
259+
],
260+
"assist": {
261+
"enabled": true,
262+
"actions": { "source": { "organizeImports": "on" } }
263+
}
264+
}

0 commit comments

Comments
 (0)