[Discussion] The future of the browser package
Problem
This discussion started in PR #837 @pleerock: "What do you think if we simply remove all drivers (except websql, sqljs) for browser package? And probably stub them somehow elegant? Same with advanced console logger, maybe remove that too? And do same for ionic/cordova?" It would be great to have a package that includes the SystemJS and TypeScript version so that it can be either used in a SystemJS project or retranspiled for a different module loader I like the idea from @pleerock to only include the needed drivers (websql, cordova, sqljs - at some point) but I'm not sure who replacing or stubbing them would work. The way it is done right now with the PlatformTools class is fine for that one file but is going to be a nightmare to maintain if it is done for multiple files/all drivers. Same would apply to creating a reperate repository. Is there a better way to maybe generate mocks automatically?
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: [Discussion] The future of the browser package
@pleerock How hard would it be to upload the `build/browser` folder as it is for now? Would be great since the `typeorm-browser` package is on version `0.0.6`
Trust Score
1 verification
- 1
@pleerock How hard would it be to upload the `build/browser` folder as it is for
@pleerock How hard would it be to upload the `build/browser` folder as it is for now? Would be great since the `typeorm-browser` package is on version `0.0.6`
Validation
Resolved in typeorm/typeorm GitHub issue #857. Community reactions: 0 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep