@ohos-rs/oxk 0.5.0 → 0.6.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ohos-rs/oxk",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "An ArkTS/ArkUI tool based on oxc",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -33,6 +33,7 @@
33
33
  "format.d.ts",
34
34
  "lint.js",
35
35
  "lint.d.ts",
36
+ "configuration_schema.json",
36
37
  "oxlint-runtime",
37
38
  "bin"
38
39
  ],
@@ -48,7 +49,8 @@
48
49
  "./lint": {
49
50
  "types": "./lint.d.ts",
50
51
  "default": "./lint.js"
51
- }
52
+ },
53
+ "./configuration_schema.json": "./configuration_schema.json"
52
54
  },
53
55
  "napi": {
54
56
  "binaryName": "oxk",
@@ -81,6 +83,7 @@
81
83
  "bench": "node --import @oxc-node/core/register benchmark/bench.ts",
82
84
  "build": "napi build --platform --release --no-dts-cache",
83
85
  "build:debug": "napi build --platform --no-dts-cache",
86
+ "build:lint-schema": "cargo run -p oxk -- lint --write-config-schema configuration_schema.json && prettier configuration_schema.json --write",
84
87
  "build:debug:binding": "node scripts/build-binding-only.cjs",
85
88
  "build:oxlint-runtime": "node scripts/build-oxlint-runtime.mjs",
86
89
  "format": "run-p format:prettier format:rs format:toml",
@@ -140,19 +143,19 @@
140
143
  ]
141
144
  },
142
145
  "optionalDependencies": {
143
- "@ohos-rs/oxk-darwin-x64": "0.5.0",
144
- "@ohos-rs/oxk-darwin-arm64": "0.5.0",
145
- "@ohos-rs/oxk-linux-x64-gnu": "0.5.0",
146
- "@ohos-rs/oxk-win32-x64-msvc": "0.5.0",
147
- "@ohos-rs/oxk-linux-x64-musl": "0.5.0",
148
- "@ohos-rs/oxk-linux-arm64-gnu": "0.5.0",
149
- "@ohos-rs/oxk-win32-ia32-msvc": "0.5.0",
150
- "@ohos-rs/oxk-linux-arm-gnueabihf": "0.5.0",
151
- "@ohos-rs/oxk-android-arm64": "0.5.0",
152
- "@ohos-rs/oxk-freebsd-x64": "0.5.0",
153
- "@ohos-rs/oxk-linux-arm64-musl": "0.5.0",
154
- "@ohos-rs/oxk-win32-arm64-msvc": "0.5.0",
155
- "@ohos-rs/oxk-android-arm-eabi": "0.5.0",
156
- "@ohos-rs/oxk-wasm32-wasi": "0.5.0"
146
+ "@ohos-rs/oxk-darwin-x64": "0.6.0",
147
+ "@ohos-rs/oxk-darwin-arm64": "0.6.0",
148
+ "@ohos-rs/oxk-linux-x64-gnu": "0.6.0",
149
+ "@ohos-rs/oxk-win32-x64-msvc": "0.6.0",
150
+ "@ohos-rs/oxk-linux-x64-musl": "0.6.0",
151
+ "@ohos-rs/oxk-linux-arm64-gnu": "0.6.0",
152
+ "@ohos-rs/oxk-win32-ia32-msvc": "0.6.0",
153
+ "@ohos-rs/oxk-linux-arm-gnueabihf": "0.6.0",
154
+ "@ohos-rs/oxk-android-arm64": "0.6.0",
155
+ "@ohos-rs/oxk-freebsd-x64": "0.6.0",
156
+ "@ohos-rs/oxk-linux-arm64-musl": "0.6.0",
157
+ "@ohos-rs/oxk-win32-arm64-msvc": "0.6.0",
158
+ "@ohos-rs/oxk-android-arm-eabi": "0.6.0",
159
+ "@ohos-rs/oxk-wasm32-wasi": "0.6.0"
157
160
  }
158
161
  }