@mlx-node/core 0.0.0 → 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. package/README.md +106 -0
  2. package/index.cjs +71 -53
  3. package/index.d.cts +965 -280
  4. package/package.json +16 -5
package/package.json CHANGED
@@ -1,7 +1,17 @@
1
1
  {
2
2
  "name": "@mlx-node/core",
3
- "version": "0.0.0",
3
+ "version": "0.0.1",
4
4
  "description": "Internal native bindings - import from @mlx-node/lm or @mlx-node/trl instead",
5
+ "homepage": "https://github.com/mlx-node/mlx-node",
6
+ "bugs": {
7
+ "url": "https://github.com/mlx-node/mlx-node/issues"
8
+ },
9
+ "license": "MIT",
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "https://github.com/mlx-node/mlx-node.git",
13
+ "directory": "packages/core"
14
+ },
5
15
  "files": [
6
16
  "index.cjs",
7
17
  "index.d.cts"
@@ -18,14 +28,15 @@
18
28
  },
19
29
  "scripts": {
20
30
  "build": "oxnode ./build.ts --release",
21
- "prepublishOnly": "napi prepublish -t npm --no-gh-release",
22
- "preversion": "oxnode ./build.ts && git add .",
23
- "version": "napi version"
31
+ "preversion": "oxnode ./build.ts && git add ."
24
32
  },
25
33
  "devDependencies": {
26
34
  "@napi-rs/cli": "^3.5.1",
27
35
  "@oxc-node/cli": "^0.0.35",
28
- "oxfmt": "^0.27.0"
36
+ "oxfmt": "^0.40.0"
37
+ },
38
+ "optionalDependencies": {
39
+ "@mlx-node/core-darwin-arm64": "0.0.1"
29
40
  },
30
41
  "napi": {
31
42
  "binaryName": "mlx-core",