@stylexswc/rs-compiler 0.6.2 → 0.6.3-rc.2

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/dist/index.d.ts CHANGED
@@ -43,3 +43,4 @@ export interface StyleXTransformResult {
43
43
  map?: string
44
44
  }
45
45
  export declare function transform(filename: string, code: string, options: StyleXOptions): StyleXTransformResult
46
+ export declare function normalizeRsOptions(options: StyleXOptions): StyleXOptions
package/dist/index.js CHANGED
@@ -310,7 +310,8 @@ if (!nativeBinding) {
310
310
  throw new Error(`Failed to load native binding`)
311
311
  }
312
312
 
313
- const { SourceMaps, transform } = nativeBinding
313
+ const { SourceMaps, transform, normalizeRsOptions } = nativeBinding
314
314
 
315
315
  module.exports.SourceMaps = SourceMaps
316
316
  module.exports.transform = transform
317
+ module.exports.normalizeRsOptions = normalizeRsOptions
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stylexswc/rs-compiler",
3
3
  "description": "NAPI-RS compiler for transform StyleX code",
4
- "version": "0.6.2",
4
+ "version": "0.6.3-rc.2",
5
5
  "ava": {
6
6
  "extensions": {
7
7
  "ts": "module"
@@ -79,12 +79,12 @@
79
79
  },
80
80
  "repository": "https://github.com/Dwlad90/stylex-swc-plugin",
81
81
  "optionalDependencies": {
82
- "@stylexswc/rs-compiler-win32-x64-msvc": "0.6.2",
83
- "@stylexswc/rs-compiler-darwin-x64": "0.6.2",
84
- "@stylexswc/rs-compiler-linux-x64-gnu": "0.6.2",
85
- "@stylexswc/rs-compiler-darwin-arm64": "0.6.2",
86
- "@stylexswc/rs-compiler-linux-arm64-gnu": "0.6.2",
87
- "@stylexswc/rs-compiler-linux-x64-musl": "0.6.2"
82
+ "@stylexswc/rs-compiler-win32-x64-msvc": "0.6.3-rc.2",
83
+ "@stylexswc/rs-compiler-darwin-x64": "0.6.3-rc.2",
84
+ "@stylexswc/rs-compiler-linux-x64-gnu": "0.6.3-rc.2",
85
+ "@stylexswc/rs-compiler-darwin-arm64": "0.6.3-rc.2",
86
+ "@stylexswc/rs-compiler-linux-arm64-gnu": "0.6.3-rc.2",
87
+ "@stylexswc/rs-compiler-linux-x64-musl": "0.6.3-rc.2"
88
88
  },
89
89
  "scripts": {
90
90
  "artifacts": "napi artifacts",
@@ -101,6 +101,7 @@
101
101
  "format:toml:check": "taplo format --check",
102
102
  "lint": "oxlint .",
103
103
  "lint:check": " cargo clippy --all-targets --all-features -- -D warnings",
104
+ "postbuild:disable": "pnpm run check:artifacts",
104
105
  "test": "ava",
105
106
  "version": "napi version"
106
107
  }