Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Initial refactor attempt to use shadow-cljs Not building the worker, yet, and we also will need to update it to handle worker update requests * Add web-worker module * Refactor prod config to live in shadow-cljs.edn * Begin to set up shadow-cljs CI * Fix js module imports * Tweak nav handling We may switch back to using fragment-based nav locally since that may more closely match how things will actually work on github pages. In particular, the worker gets into a loop trying to cache assets in the current version if you don't load from the root. Also, still need to fix shadow hotloading * Use npm in travis instead of lein Also, we shouldn't need to delete node_modules anymore * Fix ignored package.json; tweak travis config * Fix worker path + disable worker handling of shadow-cljs updates * Ensure mount-root is called on shadow update * Fix script load order in index.html * Update re-frame-10x to resolve compile warnings * Upgrade other dependencies * Fix recursive loop error with splash icon locally * Add convenience util to auto-reconnect shadow We retry *once* in case the server is still running and we just lost connection because the machine was put to sleep or something. * Update build scripts Move some configuration into package.json using --config-merge * Compile css as part of build script * Upgrade spade to fix bug * Fix js loading after redirect Since its script tag is happening *after* the redirect, we need to always use the absolute path * Enable fn-invoke-direct * Refactor web worker to a separate build to maintain root scope * Downgrade react to the expected versions for reagent et al * Add npm-based linting and fix new lint warnings * Install `clojure` cli for linting; use npm ci instead of install * Delete now-unused leiningen project.clj
- Loading branch information