@granite-js/plugin-hermes 0.1.30 → 0.1.32
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/CHANGELOG.md +18 -0
- package/dist/index.cjs +10 -8
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @granite-js/plugin-hermes
|
|
2
2
|
|
|
3
|
+
## 0.1.32
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 7572713: bump version up babel
|
|
8
|
+
- Updated dependencies [7572713]
|
|
9
|
+
- @granite-js/plugin-core@0.1.32
|
|
10
|
+
- @granite-js/utils@0.1.32
|
|
11
|
+
|
|
12
|
+
## 0.1.31
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies [9bf8b50]
|
|
17
|
+
- Updated dependencies [e957833]
|
|
18
|
+
- @granite-js/plugin-core@0.1.31
|
|
19
|
+
- @granite-js/utils@0.1.31
|
|
20
|
+
|
|
3
21
|
## 0.1.30
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/dist/index.cjs
CHANGED
|
@@ -21,13 +21,15 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
21
21
|
}) : target, mod));
|
|
22
22
|
|
|
23
23
|
//#endregion
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
24
|
+
let __granite_js_plugin_core = require("@granite-js/plugin-core");
|
|
25
|
+
let es_toolkit = require("es-toolkit");
|
|
26
|
+
let execa = require("execa");
|
|
27
|
+
execa = __toESM(execa);
|
|
28
|
+
let fs_promises = require("fs/promises");
|
|
29
|
+
fs_promises = __toESM(fs_promises);
|
|
30
|
+
let source_map = require("source-map");
|
|
31
|
+
let os = require("os");
|
|
32
|
+
let __granite_js_utils = require("@granite-js/utils");
|
|
31
33
|
|
|
32
34
|
//#region src/compileHbc.ts
|
|
33
35
|
const DEFAULT_OPTIONS = {
|
|
@@ -35,7 +37,7 @@ const DEFAULT_OPTIONS = {
|
|
|
35
37
|
optimization: "O",
|
|
36
38
|
sourcemap: true
|
|
37
39
|
};
|
|
38
|
-
async function compileHbc({ hermesc, jsBundle, outfile
|
|
40
|
+
async function compileHbc({ hermesc, jsBundle, outfile, ...options }) {
|
|
39
41
|
const completeOptions = {
|
|
40
42
|
...DEFAULT_OPTIONS,
|
|
41
43
|
...options
|
package/dist/index.d.cts
CHANGED
|
@@ -30,9 +30,9 @@ interface HermesPluginOptions {
|
|
|
30
30
|
* Defaults to `hermesc` in `react-native/sdks/hermesc/<platform>/hermesc`.
|
|
31
31
|
*/
|
|
32
32
|
binaryPath?: string;
|
|
33
|
-
}
|
|
33
|
+
}
|
|
34
|
+
//#endregion
|
|
34
35
|
//#region src/hermesPlugin.d.ts
|
|
35
36
|
declare const hermesPlugin: (options?: HermesPluginOptions) => GranitePluginCore;
|
|
36
|
-
|
|
37
37
|
//#endregion
|
|
38
38
|
export { hermesPlugin as hermes };
|
package/dist/index.d.ts
CHANGED
|
@@ -30,9 +30,9 @@ interface HermesPluginOptions {
|
|
|
30
30
|
* Defaults to `hermesc` in `react-native/sdks/hermesc/<platform>/hermesc`.
|
|
31
31
|
*/
|
|
32
32
|
binaryPath?: string;
|
|
33
|
-
}
|
|
33
|
+
}
|
|
34
|
+
//#endregion
|
|
34
35
|
//#region src/hermesPlugin.d.ts
|
|
35
36
|
declare const hermesPlugin: (options?: HermesPluginOptions) => GranitePluginCore;
|
|
36
|
-
|
|
37
37
|
//#endregion
|
|
38
38
|
export { hermesPlugin as hermes };
|
package/dist/index.js
CHANGED
|
@@ -17,7 +17,7 @@ const DEFAULT_OPTIONS = {
|
|
|
17
17
|
optimization: "O",
|
|
18
18
|
sourcemap: true
|
|
19
19
|
};
|
|
20
|
-
async function compileHbc({ hermesc, jsBundle, outfile
|
|
20
|
+
async function compileHbc({ hermesc, jsBundle, outfile, ...options }) {
|
|
21
21
|
const completeOptions = {
|
|
22
22
|
...DEFAULT_OPTIONS,
|
|
23
23
|
...options
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@granite-js/plugin-hermes",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.32",
|
|
5
5
|
"description": "Hermes compilation plugin for Granite",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"prepack": "yarn build",
|
|
@@ -34,14 +34,14 @@
|
|
|
34
34
|
"dist"
|
|
35
35
|
],
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@vitest/coverage-v8": "^
|
|
38
|
-
"tsdown": "^0.
|
|
37
|
+
"@vitest/coverage-v8": "^4.0.12",
|
|
38
|
+
"tsdown": "^0.16.5",
|
|
39
39
|
"typescript": "^5.8.3",
|
|
40
|
-
"vitest": "^
|
|
40
|
+
"vitest": "^4.0.12"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@granite-js/plugin-core": "0.1.
|
|
44
|
-
"@granite-js/utils": "0.1.
|
|
43
|
+
"@granite-js/plugin-core": "0.1.32",
|
|
44
|
+
"@granite-js/utils": "0.1.32",
|
|
45
45
|
"es-toolkit": "^1.39.8",
|
|
46
46
|
"execa": "^5",
|
|
47
47
|
"source-map": "^0.8.0-beta.0"
|