6fc7c06e9c
* Quick hack to demo how an offline loader would work with as little complication as possible * Further simplified yielding objects in offline mode * Commented out the URL thing * Implemented SpeckleOfflineLoader. JSON parsing is implemented at object-loader level, completely isolated from the rest of the implementation in order to avoid regression * Isolated ObjectLoader creation in base SpeckleLoader class so any extended classes can overwrite the way the object loader is created and used * Removed the big json sample file * Updated version * Removed unused functions from objectloader * Restored viewer package version * Fixed typo * Renamed and moved the sample offline Speckle JSON * Replaced the default JSON object sample with a much smaller one since we don't want to increase the sandbox's build size by 10 megs * Fixed a linting error
@speckle/viewer-sandbox
Sandbox for testing, debugging & developing the viewer package.
Setup
Requirements
- Node ^16
Setup Instructions
yarnin the repo root to configure project dependenciesyarn buildin repo root to build all dependenciesyarn devto run the sandbox, it's available atlocalhost:3033
Linting
Use yarn lint to run ESLint and you can also run yarn lint:tsc to lint with the TypeScript compiler.