chore: use standard package structure #24
Draft
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.
This pull request restructures the repository to move the main client bundle into a dedicated
packages/bundledirectory, updates the build tooling (switching frompnpmtobun), and modernizes project dependencies and scripts. It also removes thei18nsubmodule in favor of a local package, updates documentation to reflect these changes, and standardizes import paths throughout the codebase for better maintainability.Repository structure and build tooling changes:
packages/bundle, with a newpackage.jsonspecifying updated dependencies, scripts, and linking to local packages fori18nand types.package.jsonandnodemon.json) with a new setup usingbunfor dependency management and scripts, and updated the build/dev scripts accordingly. [1] [2]i18nsubmodule and now reference it as a local package, simplifying dependency management. (.gitmodules[1]i18n[2] [3]Codebase modernization and import path standardization:
~/alias and updated references to types and i18n to use the new@unbound-apppackage names. [1] [2] [3] [4] [5] [6] [7] [8]rollup.config.mjs(now inpackages/bundle) to use the new structure, improved error handling, and changed the injected version variable to$VERSION$for clarity. [1] [2] [3]Documentation updates:
README.mdandCONTRIBUTING.mdto reflect the new repository location, build instructions (usingbuninstead ofpnpm), and removed references to the old submodule setup. [1] [2] [3] [4]Other improvements:
References: [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23]