WIP: Version 670 - clean2#29122
Open
chrisnojima-zoom wants to merge 49 commits into
Open
Conversation
Contributor
Author
|
Replaces #28898 . squashed to help git |
* pull non legends list changes from other branch * other optimizations
* move unlock folders * split app state into shell store * move load daemon accounts
* recover password to flow
* tb and randompw
* FS clean (#29176)
* more lint * lint fixes
* jsi perf test
* better android nav icons better ios icons
* dont nav if were there * maymbe makes foreground crashes happen less
* build: add tsconfig.base.json
* build: add gen-ts-paths.mjs to generate per-platform tsconfig paths
* build: remove unused imports and dead stripExt function from gen-ts-paths.mjs
* build: add generated tsconfig paths files
* build: add tsconfig.desktop.json
* build: add tsconfig.native.json (errors to fix in subsequent tasks)
* build: delete .d.ts stubs replaced by generated tsconfig paths
* fix: restore deleted .d.ts stubs and fix generator to skip .d.ts-covered modules
Task 6 deleted .d.ts files that are still needed for relative imports within
the same package (e.g. `import {Box2} from './box'` in common-adapters files).
The tsconfig paths mappings only intercept `@/*` imports, not relative ones.
Restore all 107 deleted .d.ts stubs. Update gen-ts-paths.mjs to skip emitting
a path entry when a plain .d.ts already exists (avoiding redundant and
conflicting @/foo/index → foo/index.platform entries). Also add bare-directory
path entries (e.g. @/foo → foo/index.platform) for directories that have only
platform-split index files and no index.d.ts.
Result: desktop 0 errors (was 421), native 47 errors (was 450, all pre-existing).
* fix: resolve type errors surfaced by per-platform tsconfig split
* build: tsconfig.json is editor fallback (extends tsconfig.desktop.json)
* build: yarn tsc generates paths and checks desktop + native configs
* build: replace global casts with globals.native.d.ts declarations
Add globals.native.d.ts to properly declare platform-specific globals
(window, location) instead of using `global as {window?: ...}` casts
throughout the codebase.
Also: split make-icons.page to .desktop/.native, fix DataTransfer
augmentation in globals.d.ts for tsgo compatibility, update ESLint to
use per-platform tsconfigs (native-first) so shared files are
type-checked with native types.
* WIP
* build: restore use-resize-observer.d.ts to base version
* replace common-adapters index.d.ts stub with proper platform barrel files
* split tsconfig into per-platform configs, inline types from deleted .d.ts stubs
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* delete orphaned icon.constants-gen.shared-2.tsx
Fragment containing only the IconMeta type with no importers; the type
is already defined in icon.constants-gen.shared.tsx.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.