summaryrefslogtreecommitdiff
path: root/Cargo.lock
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2019-09-02 17:07:11 -0400
committerGitHub <noreply@github.com>2019-09-02 17:07:11 -0400
commitd43b43ca781b025b9a6a54827ea3ef193972ef24 (patch)
tree84173b6a653802a41c23145dd3b2048d9075e2a4 /Cargo.lock
parent56508f113d9fe61ffcce4cbbb85e3d6961888e1d (diff)
Refactor snapshot build (#2825)
Instead of using core/snapshot_creator.rs, instead two crates are introduced which allow building the snapshot during build.rs. Rollup is removed and replaced with our own bundler. This removes the Node build dependency. Modules in //js now use Deno-style imports with file extensions, rather than Node style extensionless imports. This improves incremental build time when changes are made to //js files by about 40 seconds.
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock19
1 files changed, 19 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index cc6dde370..c1bab2c7e 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -272,6 +272,8 @@ dependencies = [
"atty 0.2.13 (registry+https://github.com/rust-lang/crates.io-index)",
"clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)",
"deno 0.16.0",
+ "deno_cli_snapshots 0.0.3",
+ "deno_typescript 0.0.3",
"dirs 2.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
"futures 0.1.28 (registry+https://github.com/rust-lang/crates.io-index)",
"fwdansi 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -309,6 +311,23 @@ dependencies = [
]
[[package]]
+name = "deno_cli_snapshots"
+version = "0.0.3"
+dependencies = [
+ "deno 0.16.0",
+ "deno_typescript 0.0.3",
+]
+
+[[package]]
+name = "deno_typescript"
+version = "0.0.3"
+dependencies = [
+ "deno 0.16.0",
+ "serde 1.0.99 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde_json 1.0.40 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
name = "dirs"
version = "2.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"