Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New Module Compilation System (#163)
* Update to latest version of js-slang * Hide implementations in documentation The ShapeDrawn, RunesDrawn and AudioPlayed arrays were showing up in the documentation generated by typedoc * esbuild test * Moved to esbuild * Finished move to esbuild * Fixed bugs, made typedoc async * Fixed jest config not working * Replicate process inject env plugin * remove babel and other unnecessary packages * Remove watch command temporarily * Fixed line endings and type imports * Refactored scripts code * Refactored commands * Made it compatible with current frontend * Committing compiled scripts * Use return value instead of plugin * Finished reintegrating the command system * updated documentation * Refactoring * Fixed json building with no comments jsons will now build correctly even if the corresponding element does not have any docstrings attached to it * Updated json time formatting * Fixed building tabs * Fixed -m and -t not working * Updated esbuild Use esbuild's incremental builds and serve API to provide more options during development * Minor fixes * added new serve mode * Modified yarn scripts * Modified description for dev command * Add code to run tsc and eslint in parallel * Reorganize the build scripts Make them more modular and reduced the amount of duplicated code * Both bundles and tabs need to have their external dependencies specified separately (just in case a bundle imports react too). This means that esbuild's native http server can't really be used to serve both tabs and bundles at the same time. So this commit removes that functionality, leaving just the watch command. * Added some tests * Changed how tabs are built * Updated scripts build * Merge CSG fixes into build alts for testing (#169) * docs(eslint): Fix typos from replace all quotes * style(binary_tree): Whitespace fix * style(copy_gc): Combine duplicate import * ref(pix_n_flix): No == * ref(csg): Remove Blueprint import for bundle, hardcode instead, add note * ref(csg): Bring back Blueprint import after change to bundle's provided externals * fix(csg): Fix Core init order, simplify checks and drop looseInstanceOf(), use Core more with new nextComponent(), edit WebGL context loss text, some explicit keywords, refactoring * devfeat(pkg): Re-add a dev script --------- Co-authored-by: Cloud <[email protected]> * Fix reading property undefined bug Certain arguments did not have their default values set properly, resulting in an error at runtime * Finish merge with test branch * Change eslint configuration * Update jest * Add documentation * Update compiled code * Fix missing extension on lodash import * Clean up code * Fix CSG Module not working with React * Update json.ts Extract the header and description return for parsers * Add remaining commands Add the lint, typecheck and prebuild commands to the main command parser * Made tsc and linting off by default * Readd missing dependencies * Fix react-ace incompatibility * Autofix linting issues in programmingREPL module --------- Co-authored-by: Cloud <[email protected]> Co-authored-by: Martin Henz <[email protected]>
- Loading branch information