Skip to content

Commit cacd165

Browse files
authored
feat: add subtle code and tests from 0.x (#782)
1 parent b297bbc commit cacd165

30 files changed

+5891
-1242
lines changed

.rules

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,15 @@ Every time you choose to apply a rule(s), explicitly state the rule(s) in the ou
2626
- Use modern C++ features.
2727
- Attempt to reduce the amount of code rather than add more.
2828
- Prefer iteration and modularization over code duplication.
29-
- Do not add comments unless explicitly told to do so.
29+
- Do not add comments unless explicitly told to do so, or the code is sufficiently complex to warrant comments.
3030

3131
## TypeScript Best Practices
3232

3333
- Use TypeScript for all code; prefer interfaces over types.
3434
- Use lowercase with dashes for directories (e.g., `components/auth-wizard`).
3535
- Favor named exports for components.
3636
- Avoid `any` and enums; use explicit types and maps instead.
37+
- Do not cast to `unknown` and then another type.
3738
- Use functional components with TypeScript interfaces.
3839
- Enable strict mode in TypeScript for better type safety.
3940
- Suggest the optimal implementation considering:

bun.lock

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
"react": "19.1.0",
4242
"react-native": "0.81.1",
4343
"react-native-bouncy-checkbox": "4.1.2",
44+
"react-native-fast-encoder": "0.2.0",
4445
"react-native-nitro-modules": "0.29.1",
4546
"react-native-quick-base64": "2.2.1",
4647
"react-native-quick-crypto": "workspace:*",
@@ -1395,6 +1396,8 @@
13951396

13961397
"flat-cache": ["[email protected]", "", { "dependencies": { "flatted": "^3.2.9", "keyv": "^4.5.4" } }, "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw=="],
13971398

1399+
"flatbuffers": ["[email protected]", "", {}, "sha512-QTTZTXTbVfuOVQu2X6eLOw4vefUxnFJZxAKeN3rEPhjEzBtIbehimJLfVGHPM8iX0Na+9i76SBEg0skf0c0sCA=="],
1400+
13981401
"flatted": ["[email protected]", "", {}, "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw=="],
13991402

14001403
"flow-enums-runtime": ["[email protected]", "", {}, "sha512-3PYnM29RFXwvAN6Pc/scUfkI7RwhQ/xqyLUyPNlXUp9S40zI8nup9tUSrTLSVnWGBN38FNiGWbwZOB6uR4OGdw=="],
@@ -2187,6 +2190,8 @@
21872190

21882191
"react-native-builder-bob": ["[email protected]", "", { "dependencies": { "@babel/core": "^7.25.2", "@babel/plugin-transform-strict-mode": "^7.24.7", "@babel/preset-env": "^7.25.2", "@babel/preset-flow": "^7.24.7", "@babel/preset-react": "^7.24.7", "@babel/preset-typescript": "^7.24.7", "babel-plugin-module-resolver": "^5.0.2", "browserslist": "^4.20.4", "cross-spawn": "^7.0.3", "dedent": "^0.7.0", "del": "^6.1.1", "escape-string-regexp": "^4.0.0", "fs-extra": "^10.1.0", "glob": "^8.0.3", "is-git-dirty": "^2.0.1", "json5": "^2.2.1", "kleur": "^4.1.4", "metro-config": "^0.80.9", "prompts": "^2.4.2", "which": "^2.0.2", "yargs": "^17.5.1" }, "bin": { "bob": "bin/bob" } }, "sha512-nEG9FB5a2Rxw0251dnlM9QtqvuM2os8avRhYDWDdvsZOnQJhQI4fGV5wF5FypAqHNWPQUNXmvhPUFrPSwiPnAQ=="],
21892192

2193+
"react-native-fast-encoder": ["[email protected]", "", { "dependencies": { "big-integer": "^1.6.51", "flatbuffers": "2.0.6" }, "peerDependencies": { "react": "*", "react-native": "*" } }, "sha512-E4mx81fRMVs0qq8is3cZTrbuEJdsDo8Nfe7qTxKZwsCianpYpA2QfyH6cEYumSOEht6l+KeRJ4RqcyfxMDyesg=="],
2194+
21902195
"react-native-is-edge-to-edge": ["[email protected]", "", { "peerDependencies": { "react": "*", "react-native": "*" } }, "sha512-FLbPWl/MyYQWz+KwqOZsSyj2JmLKglHatd3xLZWskXOpRaio4LfEDEz8E/A6uD8QoTHW6Aobw1jbEwK7KMgR7Q=="],
21912196

21922197
"react-native-nitro-modules": ["[email protected]", "", { "peerDependencies": { "react": "*", "react-native": "*" } }, "sha512-91A/Lc4Zc1Bvzj1iMSnD6vA5Swqv8aVcwGcv8ddjoPd9mahNvVS2arFh3o7kAqRH4RIh3KcQ0NpYslu7AYn55Q=="],

0 commit comments

Comments
 (0)