diff --git a/crates/tnf/Cargo.toml b/crates/tnf/Cargo.toml new file mode 100644 index 0000000..bfaf1d4 --- /dev/null +++ b/crates/tnf/Cargo.toml @@ -0,0 +1,6 @@ +[package] +name = "tnf" +version = "0.1.0" +edition = "2021" + +[dependencies] diff --git a/crates/tnf/src/lib.rs b/crates/tnf/src/lib.rs new file mode 100644 index 0000000..98b4541 --- /dev/null +++ b/crates/tnf/src/lib.rs @@ -0,0 +1,7 @@ +pub fn build() { + // TODO: implement heavy-lifting logic +} + +pub fn update() { + // TODO: implement file change updates +} diff --git a/crates/tnf_binding/Cargo.toml b/crates/tnf_binding/Cargo.toml new file mode 100644 index 0000000..af5cbfd --- /dev/null +++ b/crates/tnf_binding/Cargo.toml @@ -0,0 +1,7 @@ +[package] +name = "tnf_binding" +version = "0.1.0" +edition = "2021" + +[dependencies] +tnf = { path = "../tnf" } diff --git a/crates/tnf_binding/src/lib.rs b/crates/tnf_binding/src/lib.rs new file mode 100644 index 0000000..bec9bd1 --- /dev/null +++ b/crates/tnf_binding/src/lib.rs @@ -0,0 +1,7 @@ +pub fn build() { + // TODO: integrate with the tnf crate +} + +pub fn update() { + // TODO: integrate with the tnf crate +} diff --git a/packages/tnf-binding/package.json b/packages/tnf-binding/package.json new file mode 100644 index 0000000..ee2e93c --- /dev/null +++ b/packages/tnf-binding/package.json @@ -0,0 +1,5 @@ +{ + "name": "@umijs/tnf-binding", + "version": "0.0.1", + "main": "dist/index.js" +}