@stylexswc/jest 0.6.2 → 0.6.3-rc.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.
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +5 -4
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,KAAK,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAC3E,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAE1C,KAAK,iBAAiB,GAAG,MAAM,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC;AAErD,MAAM,WAAW,qBAAsB,SAAQ,iBAAiB;IAC9D,SAAS,CAAC,EAAE,aAAa,CAAC;CAC3B;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,KAAK,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAC3E,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAE1C,KAAK,iBAAiB,GAAG,MAAM,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC;AAErD,MAAM,WAAW,qBAAsB,SAAQ,iBAAiB;IAC9D,SAAS,CAAC,EAAE,aAAa,CAAC;CAC3B;;;;AA6CD,wBAAqC"}
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const rs_compiler_1 = require("@stylexswc/rs-compiler");
|
|
4
4
|
const crypto_1 = require("crypto");
|
|
5
5
|
const process = function process(sourceText, sourcePath, options) {
|
|
6
|
-
const { code } = (0, rs_compiler_1.transform)(sourcePath, sourceText, options.transformerConfig.rsOptions ?? {});
|
|
6
|
+
const { code } = (0, rs_compiler_1.transform)(sourcePath, sourceText, (0, rs_compiler_1.normalizeRsOptions)(options.transformerConfig.rsOptions ?? {}));
|
|
7
7
|
return { code };
|
|
8
8
|
};
|
|
9
9
|
const processAsync = async function processAsync(sourceText, sourcePath, options) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stylexswc/jest",
|
|
3
3
|
"description": "Jest transformer for Stylex SWC",
|
|
4
|
-
"version": "0.6.
|
|
4
|
+
"version": "0.6.3-rc.1",
|
|
5
5
|
"config": {
|
|
6
6
|
"scripty": {
|
|
7
7
|
"path": "../../scripts/packages"
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
"@babel/types": "^7.23.9",
|
|
12
12
|
"@jest/transform": "^29.7.0",
|
|
13
13
|
"@jest/types": "^29.5.14",
|
|
14
|
-
"@stylexswc/eslint-config": "0.6.
|
|
15
|
-
"@stylexswc/rs-compiler": "0.6.
|
|
16
|
-
"@stylexswc/typescript-config": "0.6.
|
|
14
|
+
"@stylexswc/eslint-config": "0.6.3-rc.1",
|
|
15
|
+
"@stylexswc/rs-compiler": "0.6.3-rc.1",
|
|
16
|
+
"@stylexswc/typescript-config": "0.6.3-rc.1"
|
|
17
17
|
},
|
|
18
18
|
"files": [
|
|
19
19
|
"dist"
|
|
@@ -41,6 +41,7 @@
|
|
|
41
41
|
"clean": "del-cli dist",
|
|
42
42
|
"lint": "eslint . --color",
|
|
43
43
|
"lint:check": "eslint . --color --format json --output-file dist/eslint_report.json",
|
|
44
|
+
"postbuild": "pnpm run check:artifacts",
|
|
44
45
|
"precommit": "lint-staged",
|
|
45
46
|
"prepush": "lint-prepush",
|
|
46
47
|
"test": "echo \"Error: no test specified\" && exit 0",
|