From 95f5b9c87e0993fc2f87ccad358526dbf2dc42d2 Mon Sep 17 00:00:00 2001 From: Travis DePrato Date: Mon, 13 Sep 2021 14:25:06 -0700 Subject: [PATCH] Pin NPM version for build-time download --- deps/build.jl | 2 -- deps/bundlepaths.jl | 10 +++++----- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/deps/build.jl b/deps/build.jl index 640450ba..df11371c 100644 --- a/deps/build.jl +++ b/deps/build.jl @@ -1,8 +1,6 @@ using JSON include("./bundlepaths.jl") -include("./jupyter.jl") - download_js_bundles() const CONFIG_BEGIN_MARKER = "###JULIA-WEBIO-CONFIG-BEGIN" diff --git a/deps/bundlepaths.jl b/deps/bundlepaths.jl index 0ebb60b9..57fda2e0 100644 --- a/deps/bundlepaths.jl +++ b/deps/bundlepaths.jl @@ -1,10 +1,10 @@ using Pkg.TOML -const WEBIO_VERSION = let - project_file = normpath(joinpath(@__DIR__, "..", "Project.toml")) - project = TOML.parsefile(project_file) - VersionNumber(project["version"]) -end +# Fix the NPM version for now +# Now that we're not distributing Jupyter stuff via NPM, I'd rather just check +# in compiled assets (maybe using Artifacts if that's relatively easy, otherwise +# just as files in git). +const WEBIO_VERSION = "0.8.15" const PACKAGES_PATH = normpath(joinpath(@__DIR__, "..", "packages")) const BUNDLES_PATH = normpath(joinpath(@__DIR__, "bundles"))