diff --git a/Cargo.lock b/Cargo.lock index 40a28e4a..5df8bf21 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1064,7 +1064,7 @@ dependencies = [ [[package]] name = "parquet-wasm" -version = "0.6.0-beta.2" +version = "0.6.0-beta.3" dependencies = [ "arrow", "arrow-wasm", diff --git a/Cargo.toml b/Cargo.toml index c2837b0f..605cd2dd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "parquet-wasm" -version = "0.6.0-beta.2" +version = "0.6.0-beta.3" authors = ["Kyle Barron "] edition = "2021" description = "WebAssembly Parquet reader and writer." @@ -39,13 +39,7 @@ lz4 = ["parquet/lz4"] all_compressions = ["brotli", "gzip", "snappy", "zstd", "lz4"] # Full list of available features -full = [ - "async", - "debug", - "all_compressions", - "reader", - "writer", -] +full = ["async", "debug", "all_compressions", "reader", "writer"] [dependencies] wasm-bindgen = { version = "0.2.88", features = ["serde-serialize"] } @@ -70,10 +64,7 @@ thiserror = "1.0" arrow-wasm = { git = "https://github.com/kylebarron/arrow-wasm", rev = "1d9bee7851d812f10a43a7376f01480375c2d8a2" } # arrow-wasm = { path = "/Users/kyle/github/rust/arrow-wasm" } -arrow = { version = "50", default-features = false, features = [ - "ipc", - "ffi", -] } +arrow = { version = "50", default-features = false, features = ["ipc", "ffi"] } parquet = { version = "50", default-features = false, features = [ "arrow", "base64", diff --git a/templates/package.json b/templates/package.json index 32a0a660..49c3a5fc 100644 --- a/templates/package.json +++ b/templates/package.json @@ -21,20 +21,25 @@ "arrow" ], "exports": { + "./bundler": { + "types": "./bundler/parquet_wasm.d.ts", + "default": "./bundler/parquet_wasm.js" + }, + "./esm": { + "types": "./esm/parquet_wasm.d.ts", + "default": "./esm/parquet_wasm.js" + }, + "./node": { + "types": "./node/parquet_wasm.d.ts", + "default": "./node/parquet_wasm.js" + }, ".": { - "import": { - "types": "./esm/parquet_wasm.d.ts", - "import": "./esm/parquet_wasm.js" - }, - "browser": { - "types": "./esm/parquet_wasm.d.ts", - "import": "./esm/parquet_wasm.js" - }, "node": { "types": "./node/parquet_wasm.d.ts", - "require": "./node/parquet_wasm.js", - "import": "./node/parquet_wasm.js" - } + "default": "./node/parquet_wasm.js" + }, + "types": "./esm/parquet_wasm.d.ts", + "default": "./esm/parquet_wasm.js" } } }