@powerlines/plugin-napi-rs 0.2.271 → 0.2.274
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/helpers/format-path.cjs +1 -2
- package/dist/helpers/format-path.d.cts +1 -3
- package/dist/helpers/format-path.d.cts.map +1 -1
- package/dist/helpers/format-path.d.mts +1 -3
- package/dist/helpers/format-path.mjs +1 -2
- package/dist/index.cjs +4 -5
- package/dist/index.d.cts +3 -5
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +3 -5
- package/dist/index.mjs +1 -2
- package/dist/{plugin-BmeRbGer.d.mts → plugin-B0S0ZSGJ.d.cts} +3 -5
- package/dist/plugin-B0S0ZSGJ.d.cts.map +1 -0
- package/dist/{plugin-C-wxSe3M.d.cts → plugin-CswWz__e.d.mts} +3 -5
- package/dist/plugin-CswWz__e.d.mts.map +1 -0
- package/dist/{targets-UYPuvlbd.d.cts → targets-CcccBpB3.d.cts} +1 -3
- package/dist/targets-CcccBpB3.d.cts.map +1 -0
- package/dist/{targets-UYPuvlbd.d.mts → targets-CcccBpB3.d.mts} +1 -3
- package/dist/targets-CcccBpB3.d.mts.map +1 -0
- package/dist/types/index.cjs +1 -1
- package/dist/types/index.d.cts +3 -3
- package/dist/types/index.d.mts +3 -3
- package/dist/types/plugin.cjs +2 -3
- package/dist/types/plugin.d.cts +1 -1
- package/dist/types/plugin.d.mts +1 -1
- package/dist/types/plugin.mjs +1 -2
- package/dist/types/targets.cjs +1 -2
- package/dist/types/targets.d.cts +1 -1
- package/dist/types/targets.d.mts +1 -1
- package/dist/types/targets.mjs +1 -2
- package/dist/types/wasm.d.cts +1 -1
- package/dist/types/wasm.d.mts +1 -1
- package/dist/{wasm-CtwgfyF_.d.cts → wasm-DDGo7VaA.d.cts} +1 -3
- package/dist/wasm-DDGo7VaA.d.cts.map +1 -0
- package/dist/{wasm-CtwgfyF_.d.mts → wasm-DDGo7VaA.d.mts} +1 -3
- package/dist/wasm-DDGo7VaA.d.mts.map +1 -0
- package/package.json +16 -16
- package/dist/plugin-BmeRbGer.d.mts.map +0 -1
- package/dist/plugin-C-wxSe3M.d.cts.map +0 -1
- package/dist/targets-UYPuvlbd.d.cts.map +0 -1
- package/dist/targets-UYPuvlbd.d.mts.map +0 -1
- package/dist/wasm-CtwgfyF_.d.cts.map +0 -1
- package/dist/wasm-CtwgfyF_.d.mts.map +0 -1
|
@@ -3,7 +3,7 @@ let _stryke_path_append = require("@stryke/path/append");
|
|
|
3
3
|
let _stryke_path_file_path_fns = require("@stryke/path/file-path-fns");
|
|
4
4
|
let powerlines_plugin_utils = require("powerlines/plugin-utils");
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
// src/helpers/format-path.ts
|
|
7
7
|
/**
|
|
8
8
|
* Format the given path by replacing tokens and making it relative to the project root.
|
|
9
9
|
*
|
|
@@ -19,5 +19,4 @@ function formatPath(context, path, appendRoot = true) {
|
|
|
19
19
|
return path ? (0, _stryke_path_file_path_fns.relativePath)(root, (0, _stryke_path_append.appendPath)(appendRoot ? (0, _stryke_path_append.appendPath)((0, powerlines_plugin_utils.replacePathTokens)(context, path), context.config.root) : (0, powerlines_plugin_utils.replacePathTokens)(context, path), context.config.cwd)) : void 0;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
//#endregion
|
|
23
22
|
exports.formatPath = formatPath;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { t as NapiPluginContext } from "../plugin-
|
|
1
|
+
import { t as NapiPluginContext } from "../plugin-B0S0ZSGJ.cjs";
|
|
2
2
|
import "../types/index.cjs";
|
|
3
|
-
//#region src/helpers/format-path.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* Format the given path by replacing tokens and making it relative to the project root.
|
|
6
5
|
*
|
|
@@ -12,6 +11,5 @@ import "../types/index.cjs";
|
|
|
12
11
|
* @returns The formatted path, which has had tokens replaced and is relative to the project root. If the input path is undefined, this function will return undefined.
|
|
13
12
|
*/
|
|
14
13
|
declare function formatPath(context: NapiPluginContext, path?: string, appendRoot?: boolean): string | undefined;
|
|
15
|
-
//#endregion
|
|
16
14
|
export { formatPath };
|
|
17
15
|
//# sourceMappingURL=format-path.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"format-path.d.cts","names":[],"sources":["../../src/helpers/format-path.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"format-path.d.cts","names":[],"sources":["../../src/helpers/format-path.ts"],"mappings":";;;;;;;;;;;;iBAiCgB,WACd,SAAS,mBACT,eACA"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { t as NapiPluginContext } from "../plugin-
|
|
1
|
+
import { t as NapiPluginContext } from "../plugin-CswWz__e.mjs";
|
|
2
2
|
import "../types/index.mjs";
|
|
3
|
-
//#region src/helpers/format-path.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* Format the given path by replacing tokens and making it relative to the project root.
|
|
6
5
|
*
|
|
@@ -12,6 +11,5 @@ import "../types/index.mjs";
|
|
|
12
11
|
* @returns The formatted path, which has had tokens replaced and is relative to the project root. If the input path is undefined, this function will return undefined.
|
|
13
12
|
*/
|
|
14
13
|
declare function formatPath(context: NapiPluginContext, path?: string, appendRoot?: boolean): string | undefined;
|
|
15
|
-
//#endregion
|
|
16
14
|
export { formatPath };
|
|
17
15
|
//# sourceMappingURL=format-path.d.mts.map
|
|
@@ -2,7 +2,7 @@ import { appendPath } from "@stryke/path/append";
|
|
|
2
2
|
import { relativePath } from "@stryke/path/file-path-fns";
|
|
3
3
|
import { replacePathTokens } from "powerlines/plugin-utils";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
// src/helpers/format-path.ts
|
|
6
6
|
/**
|
|
7
7
|
* Format the given path by replacing tokens and making it relative to the project root.
|
|
8
8
|
*
|
|
@@ -18,6 +18,5 @@ function formatPath(context, path, appendRoot = true) {
|
|
|
18
18
|
return path ? relativePath(root, appendPath(appendRoot ? appendPath(replacePathTokens(context, path), context.config.root) : replacePathTokens(context, path), context.config.cwd)) : void 0;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
//#endregion
|
|
22
21
|
export { formatPath };
|
|
23
22
|
//# sourceMappingURL=format-path.mjs.map
|
package/dist/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
2
|
-
const require_types_targets = require(
|
|
3
|
-
require(
|
|
4
|
-
const require_helpers_format_path = require(
|
|
2
|
+
const require_types_targets = require("./types/targets.cjs");
|
|
3
|
+
require("./types/index.cjs");
|
|
4
|
+
const require_helpers_format_path = require("./helpers/format-path.cjs");
|
|
5
5
|
let _stryke_path_append = require("@stryke/path/append");
|
|
6
6
|
let powerlines_plugin_utils = require("powerlines/plugin-utils");
|
|
7
7
|
let _napi_rs_cli = require("@napi-rs/cli");
|
|
@@ -11,7 +11,7 @@ let _stryke_type_checks_is_set_string = require("@stryke/type-checks/is-set-stri
|
|
|
11
11
|
let _stryke_type_checks_is_string = require("@stryke/type-checks/is-string");
|
|
12
12
|
let defu = require("defu");
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
// src/index.tsx
|
|
15
15
|
/**
|
|
16
16
|
* A Powerlines plugin for integrating with N-API Rust modules, providing features such as automatic generation of bindings and runtime integration with N-API Rust modules.
|
|
17
17
|
*
|
|
@@ -113,6 +113,5 @@ const plugin = (options = {}) => {
|
|
|
113
113
|
}];
|
|
114
114
|
};
|
|
115
115
|
|
|
116
|
-
//#endregion
|
|
117
116
|
exports.default = plugin;
|
|
118
117
|
exports.plugin = plugin;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { a as TargetTriple, i as Target, n as DEFAULT_TARGETS, r as Platform, t as AVAILABLE_TARGETS } from "./targets-
|
|
2
|
-
import { n as WasmOptions, t as WasmBrowserOptions } from "./wasm-
|
|
3
|
-
import { a as NapiResolvedPluginOptions, i as NapiPluginUserConfig, n as NapiPluginOptions, r as NapiPluginResolvedConfig, t as NapiPluginContext } from "./plugin-
|
|
1
|
+
import { a as TargetTriple, i as Target, n as DEFAULT_TARGETS, r as Platform, t as AVAILABLE_TARGETS } from "./targets-CcccBpB3.cjs";
|
|
2
|
+
import { n as WasmOptions, t as WasmBrowserOptions } from "./wasm-DDGo7VaA.cjs";
|
|
3
|
+
import { a as NapiResolvedPluginOptions, i as NapiPluginUserConfig, n as NapiPluginOptions, r as NapiPluginResolvedConfig, t as NapiPluginContext } from "./plugin-B0S0ZSGJ.cjs";
|
|
4
4
|
import "./types/index.cjs";
|
|
5
5
|
import { Plugin } from "powerlines";
|
|
6
|
-
//#region src/index.d.ts
|
|
7
6
|
declare module "powerlines" {
|
|
8
7
|
interface Config {
|
|
9
8
|
napi?: NapiPluginOptions;
|
|
@@ -15,6 +14,5 @@ declare module "powerlines" {
|
|
|
15
14
|
* @see https://napi.rs/docs
|
|
16
15
|
*/
|
|
17
16
|
declare const plugin: <TContext extends NapiPluginContext = NapiPluginContext>(options?: NapiPluginOptions) => Plugin<TContext>[];
|
|
18
|
-
//#endregion
|
|
19
17
|
export { type AVAILABLE_TARGETS, type DEFAULT_TARGETS, type NapiPluginContext, type NapiPluginOptions, type NapiPluginResolvedConfig, type NapiPluginUserConfig, type NapiResolvedPluginOptions, type Platform, type Target, type TargetTriple, type WasmBrowserOptions, type WasmOptions, plugin as default, plugin };
|
|
20
18
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.tsx"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.tsx"],"mappings":";;;;;;YAkCY;IACR,OAAO;;;;;;;;cASE,SAAU,iBAAiB,oBAAoB,mBAC1D,UAAS,sBAsQJ,OAAO"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { a as TargetTriple, i as Target, n as DEFAULT_TARGETS, r as Platform, t as AVAILABLE_TARGETS } from "./targets-
|
|
2
|
-
import { n as WasmOptions, t as WasmBrowserOptions } from "./wasm-
|
|
3
|
-
import { a as NapiResolvedPluginOptions, i as NapiPluginUserConfig, n as NapiPluginOptions, r as NapiPluginResolvedConfig, t as NapiPluginContext } from "./plugin-
|
|
1
|
+
import { a as TargetTriple, i as Target, n as DEFAULT_TARGETS, r as Platform, t as AVAILABLE_TARGETS } from "./targets-CcccBpB3.mjs";
|
|
2
|
+
import { n as WasmOptions, t as WasmBrowserOptions } from "./wasm-DDGo7VaA.mjs";
|
|
3
|
+
import { a as NapiResolvedPluginOptions, i as NapiPluginUserConfig, n as NapiPluginOptions, r as NapiPluginResolvedConfig, t as NapiPluginContext } from "./plugin-CswWz__e.mjs";
|
|
4
4
|
import "./types/index.mjs";
|
|
5
5
|
import { Plugin } from "powerlines";
|
|
6
|
-
//#region src/index.d.ts
|
|
7
6
|
declare module "powerlines" {
|
|
8
7
|
interface Config {
|
|
9
8
|
napi?: NapiPluginOptions;
|
|
@@ -15,6 +14,5 @@ declare module "powerlines" {
|
|
|
15
14
|
* @see https://napi.rs/docs
|
|
16
15
|
*/
|
|
17
16
|
declare const plugin: <TContext extends NapiPluginContext = NapiPluginContext>(options?: NapiPluginOptions) => Plugin<TContext>[];
|
|
18
|
-
//#endregion
|
|
19
17
|
export { type AVAILABLE_TARGETS, type DEFAULT_TARGETS, type NapiPluginContext, type NapiPluginOptions, type NapiPluginResolvedConfig, type NapiPluginUserConfig, type NapiResolvedPluginOptions, type Platform, type Target, type TargetTriple, type WasmBrowserOptions, type WasmOptions, plugin as default, plugin };
|
|
20
18
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.mjs
CHANGED
|
@@ -10,7 +10,7 @@ import { isSetString } from "@stryke/type-checks/is-set-string";
|
|
|
10
10
|
import { isString } from "@stryke/type-checks/is-string";
|
|
11
11
|
import { defu } from "defu";
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
// src/index.tsx
|
|
14
14
|
/**
|
|
15
15
|
* A Powerlines plugin for integrating with N-API Rust modules, providing features such as automatic generation of bindings and runtime integration with N-API Rust modules.
|
|
16
16
|
*
|
|
@@ -112,6 +112,5 @@ const plugin = (options = {}) => {
|
|
|
112
112
|
}];
|
|
113
113
|
};
|
|
114
114
|
|
|
115
|
-
//#endregion
|
|
116
115
|
export { plugin as default, plugin };
|
|
117
116
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { a as TargetTriple, i as Target } from "./targets-
|
|
2
|
-
import { n as WasmOptions } from "./wasm-
|
|
1
|
+
import { a as TargetTriple, i as Target } from "./targets-CcccBpB3.cjs";
|
|
2
|
+
import { n as WasmOptions } from "./wasm-DDGo7VaA.cjs";
|
|
3
3
|
import { NapiCli } from "@napi-rs/cli";
|
|
4
4
|
import { AlloyPluginContext, AlloyPluginResolvedConfig, AlloyPluginUserConfig } from "@powerlines/plugin-alloy";
|
|
5
5
|
import { BabelPluginContext, BabelPluginResolvedConfig, BabelPluginUserConfig } from "@powerlines/plugin-babel";
|
|
6
6
|
import { RequiredKeys } from "@stryke/types/base";
|
|
7
|
-
//#region src/types/plugin.d.ts
|
|
8
7
|
/**
|
|
9
8
|
* The options for the N-API Rust plugin.
|
|
10
9
|
*
|
|
@@ -174,6 +173,5 @@ type NapiPluginResolvedConfig = BabelPluginResolvedConfig & AlloyPluginResolvedC
|
|
|
174
173
|
interface NapiPluginContext<TResolvedConfig extends NapiPluginResolvedConfig = NapiPluginResolvedConfig> extends BabelPluginContext<TResolvedConfig>, AlloyPluginContext<TResolvedConfig> {
|
|
175
174
|
napi: NapiCli;
|
|
176
175
|
}
|
|
177
|
-
//#endregion
|
|
178
176
|
export { NapiResolvedPluginOptions as a, NapiPluginUserConfig as i, NapiPluginOptions as n, NapiPluginResolvedConfig as r, NapiPluginContext as t };
|
|
179
|
-
//# sourceMappingURL=plugin-
|
|
177
|
+
//# sourceMappingURL=plugin-B0S0ZSGJ.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin-B0S0ZSGJ.d.cts","names":[],"sources":["../src/types/plugin.ts"],"mappings":";;;;;;;;;;;;;;UAyCiB;;;;EAIf;;;;EAKA;;;;;;;EAQA;;;;;;;EAQA;;;;EAKA,SAAS,eAAe;;;;EAKxB,WAAW,eAAe;;;;EAK1B;;;;EAKA,OAAO;;;;EAKP;;;;EAKA,WAAW;;;;EAKX;;;;;;EAOA;;;;;;EAOA;;;;;;;;EASA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;;;;;EAOA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;KAGU,uBAAuB,wBACjC;EACE,MAAM;;KAGE,4BAA4B,KACtC,aACE;;;;EAaF,QAAQ;;;;EAKR,SAAS;;KAGC,2BAA2B,4BACrC;EACE,MAAM;;UAGO,kBACf,wBAAwB,2BAA2B,kCAGjD,mBAAmB,kBACnB,mBAAmB;EACrB,MAAM"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { a as TargetTriple, i as Target } from "./targets-
|
|
2
|
-
import { n as WasmOptions } from "./wasm-
|
|
1
|
+
import { a as TargetTriple, i as Target } from "./targets-CcccBpB3.mjs";
|
|
2
|
+
import { n as WasmOptions } from "./wasm-DDGo7VaA.mjs";
|
|
3
3
|
import { NapiCli } from "@napi-rs/cli";
|
|
4
4
|
import { AlloyPluginContext, AlloyPluginResolvedConfig, AlloyPluginUserConfig } from "@powerlines/plugin-alloy";
|
|
5
5
|
import { BabelPluginContext, BabelPluginResolvedConfig, BabelPluginUserConfig } from "@powerlines/plugin-babel";
|
|
6
6
|
import { RequiredKeys } from "@stryke/types/base";
|
|
7
|
-
//#region src/types/plugin.d.ts
|
|
8
7
|
/**
|
|
9
8
|
* The options for the N-API Rust plugin.
|
|
10
9
|
*
|
|
@@ -174,6 +173,5 @@ type NapiPluginResolvedConfig = BabelPluginResolvedConfig & AlloyPluginResolvedC
|
|
|
174
173
|
interface NapiPluginContext<TResolvedConfig extends NapiPluginResolvedConfig = NapiPluginResolvedConfig> extends BabelPluginContext<TResolvedConfig>, AlloyPluginContext<TResolvedConfig> {
|
|
175
174
|
napi: NapiCli;
|
|
176
175
|
}
|
|
177
|
-
//#endregion
|
|
178
176
|
export { NapiResolvedPluginOptions as a, NapiPluginUserConfig as i, NapiPluginOptions as n, NapiPluginResolvedConfig as r, NapiPluginContext as t };
|
|
179
|
-
//# sourceMappingURL=plugin-
|
|
177
|
+
//# sourceMappingURL=plugin-CswWz__e.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin-CswWz__e.d.mts","names":[],"sources":["../src/types/plugin.ts"],"mappings":""}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/types/targets.d.ts
|
|
2
1
|
declare const AVAILABLE_TARGETS: readonly ["aarch64-apple-darwin", "aarch64-linux-android", "aarch64-unknown-linux-gnu", "aarch64-unknown-linux-musl", "aarch64-unknown-linux-ohos", "aarch64-pc-windows-msvc", "x86_64-apple-darwin", "x86_64-pc-windows-msvc", "x86_64-pc-windows-gnu", "x86_64-unknown-linux-gnu", "x86_64-unknown-linux-musl", "x86_64-unknown-linux-ohos", "x86_64-unknown-freebsd", "i686-pc-windows-msvc", "armv7-unknown-linux-gnueabihf", "armv7-unknown-linux-musleabihf", "armv7-linux-androideabi", "universal-apple-darwin", "loongarch64-unknown-linux-gnu", "riscv64gc-unknown-linux-gnu", "powerpc64le-unknown-linux-gnu", "s390x-unknown-linux-gnu", "wasm32-wasi-preview1-threads", "wasm32-wasip1-threads"];
|
|
3
2
|
type TargetTriple = (typeof AVAILABLE_TARGETS)[number];
|
|
4
3
|
declare const DEFAULT_TARGETS: readonly ["x86_64-apple-darwin", "aarch64-apple-darwin", "x86_64-pc-windows-msvc", "x86_64-unknown-linux-gnu"];
|
|
@@ -11,6 +10,5 @@ interface Target {
|
|
|
11
10
|
arch: NodeJSArch;
|
|
12
11
|
abi: string | null;
|
|
13
12
|
}
|
|
14
|
-
//#endregion
|
|
15
13
|
export { TargetTriple as a, Target as i, DEFAULT_TARGETS as n, Platform as r, AVAILABLE_TARGETS as t };
|
|
16
|
-
//# sourceMappingURL=targets-
|
|
14
|
+
//# sourceMappingURL=targets-CcccBpB3.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"targets-CcccBpB3.d.cts","names":[],"sources":["../src/types/targets.ts"],"mappings":"A,cAkBa;KA2BD,uBAAuB;cAEtB;KAOD,WACV,OAAO;KAGJ;UAiBY;EACf;EACA;EACA,UAAU;EACV,MAAM;EACN"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/types/targets.d.ts
|
|
2
1
|
declare const AVAILABLE_TARGETS: readonly ["aarch64-apple-darwin", "aarch64-linux-android", "aarch64-unknown-linux-gnu", "aarch64-unknown-linux-musl", "aarch64-unknown-linux-ohos", "aarch64-pc-windows-msvc", "x86_64-apple-darwin", "x86_64-pc-windows-msvc", "x86_64-pc-windows-gnu", "x86_64-unknown-linux-gnu", "x86_64-unknown-linux-musl", "x86_64-unknown-linux-ohos", "x86_64-unknown-freebsd", "i686-pc-windows-msvc", "armv7-unknown-linux-gnueabihf", "armv7-unknown-linux-musleabihf", "armv7-linux-androideabi", "universal-apple-darwin", "loongarch64-unknown-linux-gnu", "riscv64gc-unknown-linux-gnu", "powerpc64le-unknown-linux-gnu", "s390x-unknown-linux-gnu", "wasm32-wasi-preview1-threads", "wasm32-wasip1-threads"];
|
|
3
2
|
type TargetTriple = (typeof AVAILABLE_TARGETS)[number];
|
|
4
3
|
declare const DEFAULT_TARGETS: readonly ["x86_64-apple-darwin", "aarch64-apple-darwin", "x86_64-pc-windows-msvc", "x86_64-unknown-linux-gnu"];
|
|
@@ -11,6 +10,5 @@ interface Target {
|
|
|
11
10
|
arch: NodeJSArch;
|
|
12
11
|
abi: string | null;
|
|
13
12
|
}
|
|
14
|
-
//#endregion
|
|
15
13
|
export { TargetTriple as a, Target as i, DEFAULT_TARGETS as n, Platform as r, AVAILABLE_TARGETS as t };
|
|
16
|
-
//# sourceMappingURL=targets-
|
|
14
|
+
//# sourceMappingURL=targets-CcccBpB3.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"targets-CcccBpB3.d.mts","names":[],"sources":["../src/types/targets.ts"],"mappings":""}
|
package/dist/types/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_types_targets = require(
|
|
2
|
+
const require_types_targets = require("./targets.cjs");
|
|
3
3
|
|
|
4
4
|
exports.AVAILABLE_TARGETS = require_types_targets.AVAILABLE_TARGETS;
|
|
5
5
|
exports.DEFAULT_TARGETS = require_types_targets.DEFAULT_TARGETS;
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as TargetTriple, i as Target, n as DEFAULT_TARGETS, r as Platform, t as AVAILABLE_TARGETS } from "../targets-
|
|
2
|
-
import { n as WasmOptions, t as WasmBrowserOptions } from "../wasm-
|
|
3
|
-
import { a as NapiResolvedPluginOptions, i as NapiPluginUserConfig, n as NapiPluginOptions, r as NapiPluginResolvedConfig, t as NapiPluginContext } from "../plugin-
|
|
1
|
+
import { a as TargetTriple, i as Target, n as DEFAULT_TARGETS, r as Platform, t as AVAILABLE_TARGETS } from "../targets-CcccBpB3.cjs";
|
|
2
|
+
import { n as WasmOptions, t as WasmBrowserOptions } from "../wasm-DDGo7VaA.cjs";
|
|
3
|
+
import { a as NapiResolvedPluginOptions, i as NapiPluginUserConfig, n as NapiPluginOptions, r as NapiPluginResolvedConfig, t as NapiPluginContext } from "../plugin-B0S0ZSGJ.cjs";
|
|
4
4
|
export { AVAILABLE_TARGETS, DEFAULT_TARGETS, NapiPluginContext, NapiPluginOptions, NapiPluginResolvedConfig, NapiPluginUserConfig, NapiResolvedPluginOptions, Platform, Target, TargetTriple, WasmBrowserOptions, WasmOptions };
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as TargetTriple, i as Target, n as DEFAULT_TARGETS, r as Platform, t as AVAILABLE_TARGETS } from "../targets-
|
|
2
|
-
import { n as WasmOptions, t as WasmBrowserOptions } from "../wasm-
|
|
3
|
-
import { a as NapiResolvedPluginOptions, i as NapiPluginUserConfig, n as NapiPluginOptions, r as NapiPluginResolvedConfig, t as NapiPluginContext } from "../plugin-
|
|
1
|
+
import { a as TargetTriple, i as Target, n as DEFAULT_TARGETS, r as Platform, t as AVAILABLE_TARGETS } from "../targets-CcccBpB3.mjs";
|
|
2
|
+
import { n as WasmOptions, t as WasmBrowserOptions } from "../wasm-DDGo7VaA.mjs";
|
|
3
|
+
import { a as NapiResolvedPluginOptions, i as NapiPluginUserConfig, n as NapiPluginOptions, r as NapiPluginResolvedConfig, t as NapiPluginContext } from "../plugin-CswWz__e.mjs";
|
|
4
4
|
export { AVAILABLE_TARGETS, DEFAULT_TARGETS, NapiPluginContext, NapiPluginOptions, NapiPluginResolvedConfig, NapiPluginUserConfig, NapiResolvedPluginOptions, Platform, Target, TargetTriple, WasmBrowserOptions, WasmOptions };
|
package/dist/types/plugin.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/types/plugin.ts
|
|
2
2
|
/**
|
|
3
3
|
* The options for the N-API Rust plugin.
|
|
4
4
|
*
|
|
@@ -6,5 +6,4 @@
|
|
|
6
6
|
* These options are based on the options for the N-API Rust CLI, and are used to configure the plugin's behavior when building and generating bindings for N-API Rust modules.
|
|
7
7
|
*
|
|
8
8
|
* @see https://napi.rs/docs/cli/build#options
|
|
9
|
-
*/
|
|
10
|
-
//#endregion
|
|
9
|
+
*/
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as NapiResolvedPluginOptions, i as NapiPluginUserConfig, n as NapiPluginOptions, r as NapiPluginResolvedConfig, t as NapiPluginContext } from "../plugin-
|
|
1
|
+
import { a as NapiResolvedPluginOptions, i as NapiPluginUserConfig, n as NapiPluginOptions, r as NapiPluginResolvedConfig, t as NapiPluginContext } from "../plugin-B0S0ZSGJ.cjs";
|
|
2
2
|
export { NapiPluginContext, NapiPluginOptions, NapiPluginResolvedConfig, NapiPluginUserConfig, NapiResolvedPluginOptions };
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as NapiResolvedPluginOptions, i as NapiPluginUserConfig, n as NapiPluginOptions, r as NapiPluginResolvedConfig, t as NapiPluginContext } from "../plugin-
|
|
1
|
+
import { a as NapiResolvedPluginOptions, i as NapiPluginUserConfig, n as NapiPluginOptions, r as NapiPluginResolvedConfig, t as NapiPluginContext } from "../plugin-CswWz__e.mjs";
|
|
2
2
|
export { NapiPluginContext, NapiPluginOptions, NapiPluginResolvedConfig, NapiPluginUserConfig, NapiResolvedPluginOptions };
|
package/dist/types/plugin.mjs
CHANGED
package/dist/types/targets.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
|
|
2
|
+
// src/types/targets.ts
|
|
3
3
|
const AVAILABLE_TARGETS = [
|
|
4
4
|
"aarch64-apple-darwin",
|
|
5
5
|
"aarch64-linux-android",
|
|
@@ -33,6 +33,5 @@ const DEFAULT_TARGETS = [
|
|
|
33
33
|
"x86_64-unknown-linux-gnu"
|
|
34
34
|
];
|
|
35
35
|
|
|
36
|
-
//#endregion
|
|
37
36
|
exports.AVAILABLE_TARGETS = AVAILABLE_TARGETS;
|
|
38
37
|
exports.DEFAULT_TARGETS = DEFAULT_TARGETS;
|
package/dist/types/targets.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TargetTriple, i as Target, n as DEFAULT_TARGETS, r as Platform, t as AVAILABLE_TARGETS } from "../targets-
|
|
1
|
+
import { a as TargetTriple, i as Target, n as DEFAULT_TARGETS, r as Platform, t as AVAILABLE_TARGETS } from "../targets-CcccBpB3.cjs";
|
|
2
2
|
export { AVAILABLE_TARGETS, DEFAULT_TARGETS, Platform, Target, TargetTriple };
|
package/dist/types/targets.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TargetTriple, i as Target, n as DEFAULT_TARGETS, r as Platform, t as AVAILABLE_TARGETS } from "../targets-
|
|
1
|
+
import { a as TargetTriple, i as Target, n as DEFAULT_TARGETS, r as Platform, t as AVAILABLE_TARGETS } from "../targets-CcccBpB3.mjs";
|
|
2
2
|
export { AVAILABLE_TARGETS, DEFAULT_TARGETS, Platform, Target, TargetTriple };
|
package/dist/types/targets.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/types/targets.ts
|
|
2
2
|
const AVAILABLE_TARGETS = [
|
|
3
3
|
"aarch64-apple-darwin",
|
|
4
4
|
"aarch64-linux-android",
|
|
@@ -32,6 +32,5 @@ const DEFAULT_TARGETS = [
|
|
|
32
32
|
"x86_64-unknown-linux-gnu"
|
|
33
33
|
];
|
|
34
34
|
|
|
35
|
-
//#endregion
|
|
36
35
|
export { AVAILABLE_TARGETS, DEFAULT_TARGETS };
|
|
37
36
|
//# sourceMappingURL=targets.mjs.map
|
package/dist/types/wasm.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as WasmOptions, t as WasmBrowserOptions } from "../wasm-
|
|
1
|
+
import { n as WasmOptions, t as WasmBrowserOptions } from "../wasm-DDGo7VaA.cjs";
|
|
2
2
|
export { WasmBrowserOptions, WasmOptions };
|
package/dist/types/wasm.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as WasmOptions, t as WasmBrowserOptions } from "../wasm-
|
|
1
|
+
import { n as WasmOptions, t as WasmBrowserOptions } from "../wasm-DDGo7VaA.mjs";
|
|
2
2
|
export { WasmBrowserOptions, WasmOptions };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/types/wasm.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* Wasm Browser compilation options
|
|
4
3
|
*/
|
|
@@ -39,6 +38,5 @@ interface WasmOptions {
|
|
|
39
38
|
*/
|
|
40
39
|
browser: WasmBrowserOptions;
|
|
41
40
|
}
|
|
42
|
-
//#endregion
|
|
43
41
|
export { WasmOptions as n, WasmBrowserOptions as t };
|
|
44
|
-
//# sourceMappingURL=wasm-
|
|
42
|
+
//# sourceMappingURL=wasm-DDGo7VaA.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wasm-DDGo7VaA.d.cts","names":[],"sources":["../src/types/wasm.ts"],"mappings":";;;UAqBiB;;;;EAIf;;;;EAKA;;;;EAKA;;;;EAKA;;;;;UAMe;;;;;;EAMf;;;;EAKA;;;;EAKA,SAAS"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/types/wasm.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* Wasm Browser compilation options
|
|
4
3
|
*/
|
|
@@ -39,6 +38,5 @@ interface WasmOptions {
|
|
|
39
38
|
*/
|
|
40
39
|
browser: WasmBrowserOptions;
|
|
41
40
|
}
|
|
42
|
-
//#endregion
|
|
43
41
|
export { WasmOptions as n, WasmBrowserOptions as t };
|
|
44
|
-
//# sourceMappingURL=wasm-
|
|
42
|
+
//# sourceMappingURL=wasm-DDGo7VaA.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wasm-DDGo7VaA.d.mts","names":[],"sources":["../src/types/wasm.ts"],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-napi-rs",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.274",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A package containing a Powerlines plugin for integrating with N-API Rust modules.",
|
|
6
6
|
"keywords": ["napi-rs", "powerlines", "storm-software", "powerlines-plugin"],
|
|
@@ -136,27 +136,27 @@
|
|
|
136
136
|
"@alloy-js/json": "^0.24.0",
|
|
137
137
|
"@alloy-js/markdown": "^0.24.0",
|
|
138
138
|
"@alloy-js/typescript": "^0.24.0",
|
|
139
|
-
"@napi-rs/cli": "^3.10.
|
|
140
|
-
"@powerlines/plugin-alloy": "^0.26.
|
|
141
|
-
"@powerlines/plugin-babel": "^0.13.
|
|
142
|
-
"@powerlines/plugin-automd": "^0.1.
|
|
143
|
-
"@stryke/convert": "^0.7.
|
|
144
|
-
"@stryke/fs": "^0.33.
|
|
145
|
-
"@stryke/path": "^0.29.
|
|
146
|
-
"@stryke/string-format": "^0.17.
|
|
147
|
-
"@stryke/type-checks": "^0.6.
|
|
148
|
-
"@stryke/types": "^0.12.
|
|
139
|
+
"@napi-rs/cli": "^3.10.9",
|
|
140
|
+
"@powerlines/plugin-alloy": "^0.26.314",
|
|
141
|
+
"@powerlines/plugin-babel": "^0.13.213",
|
|
142
|
+
"@powerlines/plugin-automd": "^0.1.678",
|
|
143
|
+
"@stryke/convert": "^0.7.47",
|
|
144
|
+
"@stryke/fs": "^0.33.118",
|
|
145
|
+
"@stryke/path": "^0.29.43",
|
|
146
|
+
"@stryke/string-format": "^0.17.58",
|
|
147
|
+
"@stryke/type-checks": "^0.6.49",
|
|
148
|
+
"@stryke/types": "^0.12.44",
|
|
149
149
|
"automd": "^0.4.3",
|
|
150
150
|
"defu": "^6.1.7",
|
|
151
|
-
"powerlines": "^0.47.
|
|
151
|
+
"powerlines": "^0.47.216"
|
|
152
152
|
},
|
|
153
153
|
"devDependencies": {
|
|
154
|
-
"@napi-rs/wasm-runtime": "^1.2.
|
|
155
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
156
|
-
"@types/node": "^25.9.
|
|
154
|
+
"@napi-rs/wasm-runtime": "^1.2.5",
|
|
155
|
+
"@powerlines/plugin-plugin": "^0.12.629",
|
|
156
|
+
"@types/node": "^25.9.9"
|
|
157
157
|
},
|
|
158
158
|
"peerDependencies": { "@napi-rs/wasm-runtime": ">=1.1.4" },
|
|
159
159
|
"peerDependenciesMeta": { "@napi-rs/wasm-runtime": { "optional": true } },
|
|
160
160
|
"publishConfig": { "access": "public" },
|
|
161
|
-
"gitHead": "
|
|
161
|
+
"gitHead": "75efa1cc4eb8bc90093202669065576aa70fbfef"
|
|
162
162
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-BmeRbGer.d.mts","names":[],"sources":["../src/types/plugin.ts"],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-C-wxSe3M.d.cts","names":[],"sources":["../src/types/plugin.ts"],"mappings":";;;;;;;;;;;;;;;UAyCiB;;;;EAIf;;;;EAKA;;;;;;;EAQA;;;;;;;EAQA;;;;EAKA,SAAS,eAAe;;;;EAKxB,WAAW,eAAe;;;;EAK1B;;;;EAKA,OAAO;;;;EAKP;;;;EAKA,WAAW;;;;EAKX;;;;;;EAOA;;;;;;EAOA;;;;;;;;EASA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;;;;;EAOA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;KAGU,uBAAuB,wBACjC;EACE,MAAM;;KAGE,4BAA4B,KACtC,aACE;;;;EAaF,QAAQ;;;;EAKR,SAAS;;KAGC,2BAA2B,4BACrC;EACE,MAAM;;UAGO,kBACf,wBAAwB,2BAA2B,kCAGjD,mBAAmB,kBACnB,mBAAmB;EACrB,MAAM"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"targets-UYPuvlbd.d.cts","names":[],"sources":["../src/types/targets.ts"],"mappings":";cAkBa;KA2BD,uBAAuB;cAEtB;KAOD,WACV,OAAO;KAGJ;UAiBY;EACf;EACA;EACA,UAAU;EACV,MAAM;EACN"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"targets-UYPuvlbd.d.mts","names":[],"sources":["../src/types/targets.ts"],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"wasm-CtwgfyF_.d.cts","names":[],"sources":["../src/types/wasm.ts"],"mappings":";;;;UAqBiB;;;;EAIf;;;;EAKA;;;;EAKA;;;;EAKA;;;;;UAMe;;;;;;EAMf;;;;EAKA;;;;EAKA,SAAS"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"wasm-CtwgfyF_.d.mts","names":[],"sources":["../src/types/wasm.ts"],"mappings":""}
|