@napi-rs/cli
Version:
Cli tools for napi-rs
960 lines (959 loc) • 77.8 kB
text/typescript
import * as clipanion2 from "clipanion";
import { Cli, Command } from "clipanion";
//#region src/def/artifacts.d.ts
declare abstract class BaseArtifactsCommand extends Command {
static paths: string[][];
static usage: clipanion2.Usage;
cwd: string;
configPath?: string;
packageJsonPath: string;
outputDir: string;
npmDir: string;
buildOutputDir?: string;
getOptions(): {
cwd: string;
configPath: string | undefined;
packageJsonPath: string;
outputDir: string;
npmDir: string;
buildOutputDir: string | undefined;
};
}
/**
* Copy artifacts from Github Actions into npm packages and ready to publish
*/
interface ArtifactsOptions {
/**
* The working directory of where napi command will be executed in, all other paths options are relative to this path
*
* @default process.cwd()
*/
cwd?: string;
/**
* Path to `napi` config json file
*/
configPath?: string;
/**
* Path to `package.json`
*
* @default 'package.json'
*/
packageJsonPath?: string;
/**
* Path to the folder where all built `.node` files put, same as `--output-dir` of build command
*
* @default './artifacts'
*/
outputDir?: string;
/**
* Path to the folder where the npm packages put
*
* @default 'npm'
*/
npmDir?: string;
/**
* Path to the build output dir, only needed when targets contains `wasm32-wasi-*`
*/
buildOutputDir?: string;
}
//#endregion
//#region src/api/artifacts.d.ts
declare function collectArtifacts(userOptions: ArtifactsOptions): Promise<void>;
//#endregion
//#region src/def/build.d.ts
declare abstract class BaseBuildCommand extends Command {
static paths: string[][];
static usage: clipanion2.Usage;
target?: string;
cwd?: string;
manifestPath?: string;
configPath?: string;
packageJsonPath?: string;
targetDir?: string;
outputDir?: string;
platform?: boolean;
jsPackageName?: string;
constEnum?: boolean;
jsBinding?: string;
noJsBinding?: boolean;
dts?: string;
dtsHeader?: string;
noDtsHeader?: boolean;
dtsCache: boolean;
esm?: boolean;
strip?: boolean;
release?: boolean;
verbose?: boolean;
bin?: string;
package?: string;
profile?: string;
crossCompile?: boolean;
useCross?: boolean;
useNapiCross?: boolean;
watch?: boolean;
features?: string[];
allFeatures?: boolean;
noDefaultFeatures?: boolean;
getOptions(): {
target: string | undefined;
cwd: string | undefined;
manifestPath: string | undefined;
configPath: string | undefined;
packageJsonPath: string | undefined;
targetDir: string | undefined;
outputDir: string | undefined;
platform: boolean | undefined;
jsPackageName: string | undefined;
constEnum: boolean | undefined;
jsBinding: string | undefined;
noJsBinding: boolean | undefined;
dts: string | undefined;
dtsHeader: string | undefined;
noDtsHeader: boolean | undefined;
dtsCache: boolean;
esm: boolean | undefined;
strip: boolean | undefined;
release: boolean | undefined;
verbose: boolean | undefined;
bin: string | undefined;
package: string | undefined;
profile: string | undefined;
crossCompile: boolean | undefined;
useCross: boolean | undefined;
useNapiCross: boolean | undefined;
watch: boolean | undefined;
features: string[] | undefined;
allFeatures: boolean | undefined;
noDefaultFeatures: boolean | undefined;
};
}
/**
* Build the NAPI-RS project
*/
interface BuildOptions {
/**
* Build for the target triple, bypassed to `cargo build --target`
*/
target?: string;
/**
* The working directory of where napi command will be executed in, all other paths options are relative to this path
*/
cwd?: string;
/**
* Path to `Cargo.toml`
*/
manifestPath?: string;
/**
* Path to `napi` config json file
*/
configPath?: string;
/**
* Path to `package.json`
*/
packageJsonPath?: string;
/**
* Directory for all crate generated artifacts, see `cargo build --target-dir`
*/
targetDir?: string;
/**
* Path to where all the built files would be put. Default to the crate folder
*/
outputDir?: string;
/**
* Add platform triple to the generated nodejs binding file, eg: `[name].linux-x64-gnu.node`
*/
platform?: boolean;
/**
* Package name in generated js binding file. Only works with `--platform` flag
*/
jsPackageName?: string;
/**
* Whether generate const enum for typescript bindings
*/
constEnum?: boolean;
/**
* Path and filename of generated JS binding file. Only works with `--platform` flag. Relative to `--output-dir`.
*/
jsBinding?: string;
/**
* Whether to disable the generation JS binding file. Only works with `--platform` flag.
*/
noJsBinding?: boolean;
/**
* Path and filename of generated type def file. Relative to `--output-dir`
*/
dts?: string;
/**
* Custom file header for generated type def file. Only works when `typedef` feature enabled.
*/
dtsHeader?: string;
/**
* Whether to disable the default file header for generated type def file. Only works when `typedef` feature enabled.
*/
noDtsHeader?: boolean;
/**
* Whether to enable the dts cache, default to true
*
* @default true
*/
dtsCache?: boolean;
/**
* Whether to emit an ESM JS binding file instead of CJS format. Only works with `--platform` flag.
*/
esm?: boolean;
/**
* Whether strip the library to achieve the minimum file size
*/
strip?: boolean;
/**
* Build in release mode
*/
release?: boolean;
/**
* Verbosely log build command trace
*/
verbose?: boolean;
/**
* Build only the specified binary
*/
bin?: string;
/**
* Build the specified library or the one at cwd
*/
package?: string;
/**
* Build artifacts with the specified profile
*/
profile?: string;
/**
* [experimental] cross-compile for the specified target with `cargo-xwin` on windows and `cargo-zigbuild` on other platform
*/
crossCompile?: boolean;
/**
* [experimental] use [cross](https://github.com/cross-rs/cross) instead of `cargo`
*/
useCross?: boolean;
/**
* [experimental] use @napi-rs/cross-toolchain to cross-compile Linux arm/arm64/x64 gnu targets.
*/
useNapiCross?: boolean;
/**
* watch the crate changes and build continuously with `cargo-watch` crates
*/
watch?: boolean;
/**
* Space-separated list of features to activate
*/
features?: string[];
/**
* Activate all available features
*/
allFeatures?: boolean;
/**
* Do not activate the `default` feature
*/
noDefaultFeatures?: boolean;
}
//#endregion
//#region src/api/build.d.ts
type OutputKind = 'js' | 'dts' | 'node' | 'exe' | 'wasm';
type Output = {
kind: OutputKind;
path: string;
};
type BuildOptions$1 = BuildOptions & {
cargoOptions?: string[];
};
declare function buildProject(rawOptions: BuildOptions$1): Promise<{
task: Promise<Output[]>;
abort: () => void;
}>;
interface WriteJsBindingOptions {
platform?: boolean;
noJsBinding?: boolean;
idents: string[];
jsBinding?: string;
esm?: boolean;
binaryName: string;
packageName: string;
version: string;
outputDir: string;
}
declare function writeJsBinding(options: WriteJsBindingOptions): Promise<Output | undefined>;
interface GenerateTypeDefOptions {
typeDefDir: string;
noDtsHeader?: boolean;
dtsHeader?: string;
dtsHeaderFile?: string;
configDtsHeader?: string;
configDtsHeaderFile?: string;
constEnum?: boolean;
cwd: string;
}
declare function generateTypeDef(options: GenerateTypeDefOptions): Promise<{
exports: string[];
dts: string;
}>;
//#endregion
//#region src/def/create-npm-dirs.d.ts
declare abstract class BaseCreateNpmDirsCommand extends Command {
static paths: string[][];
static usage: clipanion2.Usage;
cwd: string;
configPath?: string;
packageJsonPath: string;
npmDir: string;
dryRun: boolean;
getOptions(): {
cwd: string;
configPath: string | undefined;
packageJsonPath: string;
npmDir: string;
dryRun: boolean;
};
}
/**
* Create npm package dirs for different platforms
*/
interface CreateNpmDirsOptions {
/**
* The working directory of where napi command will be executed in, all other paths options are relative to this path
*
* @default process.cwd()
*/
cwd?: string;
/**
* Path to `napi` config json file
*/
configPath?: string;
/**
* Path to `package.json`
*
* @default 'package.json'
*/
packageJsonPath?: string;
/**
* Path to the folder where the npm packages put
*
* @default 'npm'
*/
npmDir?: string;
/**
* Dry run without touching file system
*
* @default false
*/
dryRun?: boolean;
}
//#endregion
//#region src/api/create-npm-dirs.d.ts
declare function createNpmDirs(userOptions: CreateNpmDirsOptions): Promise<void>;
//#endregion
//#region src/def/new.d.ts
declare abstract class BaseNewCommand extends Command {
static paths: string[][];
static usage: clipanion2.Usage;
$$path: string | undefined;
$$name?: string;
minNodeApiVersion: number;
packageManager: string;
license: string;
targets: string[];
enableDefaultTargets: boolean;
enableAllTargets: boolean;
enableTypeDef: boolean;
enableGithubActions: boolean;
testFramework: string;
dryRun: boolean;
getOptions(): {
path: string | undefined;
name: string | undefined;
minNodeApiVersion: number;
packageManager: string;
license: string;
targets: string[];
enableDefaultTargets: boolean;
enableAllTargets: boolean;
enableTypeDef: boolean;
enableGithubActions: boolean;
testFramework: string;
dryRun: boolean;
};
}
/**
* Create a new project with pre-configured boilerplate
*/
interface NewOptions {
/**
* The path where the NAPI-RS project will be created.
*/
path?: string;
/**
* The name of the project, default to the name of the directory if not provided
*/
name?: string;
/**
* The minimum Node-API version to support
*
* @default 4
*/
minNodeApiVersion?: number;
/**
* The package manager to use. Only support yarn 4.x for now.
*
* @default 'yarn'
*/
packageManager?: string;
/**
* License for open-sourced project
*
* @default 'MIT'
*/
license?: string;
/**
* All targets the crate will be compiled for.
*
* @default []
*/
targets?: string[];
/**
* Whether enable default targets
*
* @default true
*/
enableDefaultTargets?: boolean;
/**
* Whether enable all targets
*
* @default false
*/
enableAllTargets?: boolean;
/**
* Whether enable the `type-def` feature for typescript definitions auto-generation
*
* @default true
*/
enableTypeDef?: boolean;
/**
* Whether generate preconfigured GitHub Actions workflow
*
* @default true
*/
enableGithubActions?: boolean;
/**
* The JavaScript test framework to use, only support `ava` for now
*
* @default 'ava'
*/
testFramework?: string;
/**
* Whether to run the command in dry-run mode
*
* @default false
*/
dryRun?: boolean;
}
//#endregion
//#region src/api/new.d.ts
declare function newProject(userOptions: NewOptions): Promise<void>;
//#endregion
//#region src/def/pre-publish.d.ts
declare abstract class BasePrePublishCommand extends Command {
static paths: string[][];
static usage: clipanion2.Usage;
cwd: string;
configPath?: string;
packageJsonPath: string;
npmDir: string;
tagStyle: string;
ghRelease: boolean;
ghReleaseName?: string;
ghReleaseId?: string;
skipOptionalPublish: boolean;
dryRun: boolean;
getOptions(): {
cwd: string;
configPath: string | undefined;
packageJsonPath: string;
npmDir: string;
tagStyle: string;
ghRelease: boolean;
ghReleaseName: string | undefined;
ghReleaseId: string | undefined;
skipOptionalPublish: boolean;
dryRun: boolean;
};
}
/**
* Update package.json and copy addons into per platform packages
*/
interface PrePublishOptions {
/**
* The working directory of where napi command will be executed in, all other paths options are relative to this path
*
* @default process.cwd()
*/
cwd?: string;
/**
* Path to `napi` config json file
*/
configPath?: string;
/**
* Path to `package.json`
*
* @default 'package.json'
*/
packageJsonPath?: string;
/**
* Path to the folder where the npm packages put
*
* @default 'npm'
*/
npmDir?: string;
/**
* git tag style, `npm` or `lerna`
*
* @default 'lerna'
*/
tagStyle?: 'npm' | 'lerna';
/**
* Whether create GitHub release
*
* @default true
*/
ghRelease?: boolean;
/**
* GitHub release name
*/
ghReleaseName?: string;
/**
* Existing GitHub release id
*/
ghReleaseId?: string;
/**
* Whether skip optionalDependencies packages publish
*
* @default false
*/
skipOptionalPublish?: boolean;
/**
* Dry run without touching file system
*
* @default false
*/
dryRun?: boolean;
}
//#endregion
//#region src/api/pre-publish.d.ts
declare function prePublish(userOptions: PrePublishOptions): Promise<void>;
//#endregion
//#region src/def/rename.d.ts
declare abstract class BaseRenameCommand extends Command {
static paths: string[][];
static usage: clipanion2.Usage;
cwd: string;
configPath?: string;
packageJsonPath: string;
npmDir: string;
$$name?: string;
binaryName?: string;
packageName?: string;
manifestPath: string;
repository?: string;
description?: string;
getOptions(): {
cwd: string;
configPath: string | undefined;
packageJsonPath: string;
npmDir: string;
name: string | undefined;
binaryName: string | undefined;
packageName: string | undefined;
manifestPath: string;
repository: string | undefined;
description: string | undefined;
};
}
/**
* Rename the NAPI-RS project
*/
interface RenameOptions {
/**
* The working directory of where napi command will be executed in, all other paths options are relative to this path
*
* @default process.cwd()
*/
cwd?: string;
/**
* Path to `napi` config json file
*/
configPath?: string;
/**
* Path to `package.json`
*
* @default 'package.json'
*/
packageJsonPath?: string;
/**
* Path to the folder where the npm packages put
*
* @default 'npm'
*/
npmDir?: string;
/**
* The new name of the project
*/
name?: string;
/**
* The new binary name *.node files
*/
binaryName?: string;
/**
* The new package name of the project
*/
packageName?: string;
/**
* Path to `Cargo.toml`
*
* @default 'Cargo.toml'
*/
manifestPath?: string;
/**
* The new repository of the project
*/
repository?: string;
/**
* The new description of the project
*/
description?: string;
}
//#endregion
//#region src/api/rename.d.ts
declare function renameProject(userOptions: RenameOptions): Promise<void>;
//#endregion
//#region src/def/universalize.d.ts
declare abstract class BaseUniversalizeCommand extends Command {
static paths: string[][];
static usage: clipanion2.Usage;
cwd: string;
configPath?: string;
packageJsonPath: string;
outputDir: string;
getOptions(): {
cwd: string;
configPath: string | undefined;
packageJsonPath: string;
outputDir: string;
};
}
/**
* Combile built binaries into one universal binary
*/
interface UniversalizeOptions {
/**
* The working directory of where napi command will be executed in, all other paths options are relative to this path
*
* @default process.cwd()
*/
cwd?: string;
/**
* Path to `napi` config json file
*/
configPath?: string;
/**
* Path to `package.json`
*
* @default 'package.json'
*/
packageJsonPath?: string;
/**
* Path to the folder where all built `.node` files put, same as `--output-dir` of build command
*
* @default './'
*/
outputDir?: string;
}
//#endregion
//#region src/api/universalize.d.ts
declare function universalizeBinaries(userOptions: UniversalizeOptions): Promise<void>;
//#endregion
//#region src/def/version.d.ts
declare abstract class BaseVersionCommand extends Command {
static paths: string[][];
static usage: clipanion2.Usage;
cwd: string;
configPath?: string;
packageJsonPath: string;
npmDir: string;
getOptions(): {
cwd: string;
configPath: string | undefined;
packageJsonPath: string;
npmDir: string;
};
}
/**
* Update version in created npm packages
*/
interface VersionOptions {
/**
* The working directory of where napi command will be executed in, all other paths options are relative to this path
*
* @default process.cwd()
*/
cwd?: string;
/**
* Path to `napi` config json file
*/
configPath?: string;
/**
* Path to `package.json`
*
* @default 'package.json'
*/
packageJsonPath?: string;
/**
* Path to the folder where the npm packages put
*
* @default 'npm'
*/
npmDir?: string;
}
//#endregion
//#region src/api/version.d.ts
declare function version(userOptions: VersionOptions): Promise<void>;
//#endregion
//#region src/commands/artifacts.d.ts
declare class ArtifactsCommand extends BaseArtifactsCommand {
static usage: clipanion2.Usage;
static paths: string[][];
execute(): Promise<void>;
}
//#endregion
//#region src/commands/build.d.ts
declare class BuildCommand extends BaseBuildCommand {
pipe: string | undefined;
cargoOptions: string[];
execute(): Promise<void>;
}
//#endregion
//#region src/commands/create-npm-dirs.d.ts
declare class CreateNpmDirsCommand extends BaseCreateNpmDirsCommand {
execute(): Promise<void>;
}
//#endregion
//#region src/commands/new.d.ts
declare class NewCommand extends BaseNewCommand {
interactive: boolean;
execute(): Promise<1 | 0>;
private fetchOptions;
private fetchName;
private fetchLicense;
private fetchNapiVersion;
private fetchTargets;
private fetchTypeDef;
private fetchGithubActions;
}
//#endregion
//#region src/commands/pre-publish.d.ts
declare class PrePublishCommand extends BasePrePublishCommand {
execute(): Promise<void>;
}
//#endregion
//#region src/commands/rename.d.ts
declare class RenameCommand extends BaseRenameCommand {
execute(): Promise<void>;
}
//#endregion
//#region src/commands/universalize.d.ts
declare class UniversalizeCommand extends BaseUniversalizeCommand {
execute(): Promise<void>;
}
//#endregion
//#region src/commands/version.d.ts
declare class VersionCommand extends BaseVersionCommand {
execute(): Promise<void>;
}
//#endregion
//#region src/utils/target.d.ts
type Platform = NodeJS.Platform | 'wasm' | 'wasi' | 'openharmony';
type NodeJSArch = 'arm' | 'arm64' | 'ia32' | 'loong64' | 'mips' | 'mipsel' | 'ppc' | 'ppc64' | 'riscv64' | 's390' | 's390x' | 'x32' | 'x64' | 'universal' | 'wasm32';
interface Target {
triple: string;
platformArchABI: string;
platform: Platform;
arch: NodeJSArch;
abi: string | null;
}
/**
* A triple is a specific format for specifying a target architecture.
* Triples may be referred to as a target triple which is the architecture for the artifact produced, and the host triple which is the architecture that the compiler is running on.
* The general format of the triple is `<arch><sub>-<vendor>-<sys>-<abi>` where:
* - `arch` = The base CPU architecture, for example `x86_64`, `i686`, `arm`, `thumb`, `mips`, etc.
* - `sub` = The CPU sub-architecture, for example `arm` has `v7`, `v7s`, `v5te`, etc.
* - `vendor` = The vendor, for example `unknown`, `apple`, `pc`, `nvidia`, etc.
* - `sys` = The system name, for example `linux`, `windows`, `darwin`, etc. none is typically used for bare-metal without an OS.
* - `abi` = The ABI, for example `gnu`, `android`, `eabi`, etc.
*/
declare function parseTriple(rawTriple: string): Target;
//#endregion
//#region src/utils/config.d.ts
interface UserNapiConfig {
/**
* Name of the binary to be generated, default to `index`
*/
binaryName?: string;
/**
* Name of the npm package, default to the name of root package.json name
*
* Always given `@scope/pkg` and arch suffix will be appended like `@scope/pkg-linux-gnu-x64`
*/
packageName?: string;
/**
* All targets the crate will be compiled for
*/
targets?: string[];
/**
* The npm client project uses.
*/
npmClient?: string;
/**
* Whether generate const enum for typescript bindings
*/
constEnum?: boolean;
/**
* dts header prepend to the generated dts file
*/
dtsHeader?: string;
/**
* dts header file path to be prepended to the generated dts file
* if both dtsHeader and dtsHeaderFile are provided, dtsHeaderFile will be used
*/
dtsHeaderFile?: string;
/**
* wasm compilation options
*/
wasm?: {
/**
* https://developer.mozilla.org/en-US/docs/WebAssembly/JavaScript_interface/Memory
* @default 4000 pages (256MiB)
*/
initialMemory?: number;
/**
* @default 65536 pages (4GiB)
*/
maximumMemory?: number;
/**
* Browser wasm binding configuration
*/
browser: {
/**
* Whether to use fs module in browser
*/
fs?: boolean;
/**
* Whether to initialize wasm asynchronously
*/
asyncInit?: boolean;
/**
* Whether to inject `buffer` to emnapi context
*/
buffer?: boolean;
};
};
/**
* @deprecated binaryName instead
*/
name?: string;
/**
* @deprecated use packageName instead
*/
package?: {
name?: string;
};
/**
* @deprecated use targets instead
*/
triples?: {
/**
* Whether enable default targets
*/
defaults: boolean;
/**
* Additional targets to be compiled for
*/
additional?: string[];
};
}
interface CommonPackageJsonFields {
name: string;
version: string;
description?: string;
keywords?: string[];
author?: string;
authors?: string[];
license?: string;
cpu?: string[];
os?: string[];
libc?: string[];
files?: string[];
repository?: any;
homepage?: any;
engines?: Record<string, string>;
publishConfig?: any;
bugs?: any;
napi?: UserNapiConfig;
type?: 'module' | 'commonjs';
scripts?: Record<string, string>;
main?: string;
module?: string;
types?: string;
browser?: string;
exports?: any;
dependencies?: Record<string, string>;
devDependencies?: Record<string, string>;
ava?: {
timeout?: string;
};
}
type NapiConfig = Required<Pick<UserNapiConfig, 'binaryName' | 'packageName' | 'npmClient'>> & Pick<UserNapiConfig, 'wasm' | 'dtsHeader' | 'dtsHeaderFile' | 'constEnum'> & {
targets: Target[];
packageJson: CommonPackageJsonFields;
};
declare function readNapiConfig(path: string, configPath?: string): Promise<NapiConfig>;
//#endregion
//#region src/index.d.ts
declare const cli: Cli<clipanion2.BaseContext>;
/**
*
* @usage
*
* ```ts
* const cli = new NapiCli()
*
* cli.build({
* cwd: '/path/to/your/project',
* })
* ```
*/
declare class NapiCli {
artifacts: typeof collectArtifacts;
new: typeof newProject;
build: typeof buildProject;
createNpmDirs: typeof createNpmDirs;
prePublish: typeof prePublish;
rename: typeof renameProject;
universalize: typeof universalizeBinaries;
version: typeof version;
}
declare function createBuildCommand(args: string[]): BuildCommand;
declare function createArtifactsCommand(args: string[]): ArtifactsCommand;
declare function createCreateNpmDirsCommand(args: string[]): CreateNpmDirsCommand;
declare function createPrePublishCommand(args: string[]): PrePublishCommand;
declare function createRenameCommand(args: string[]): RenameCommand;
declare function createUniversalizeCommand(args: string[]): UniversalizeCommand;
declare function createVersionCommand(args: string[]): VersionCommand;
declare function createNewCommand(args: string[]): NewCommand;
//#endregion
export { type GenerateTypeDefOptions, NapiCli, type WriteJsBindingOptions, cli, createArtifactsCommand, createBuildCommand, createCreateNpmDirsCommand, createNewCommand, createPrePublishCommand, createRenameCommand, createUniversalizeCommand, createVersionCommand, generateTypeDef, parseTriple, readNapiConfig, writeJsBinding };
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguZC5jdHMiLCJuYW1lcyI6W10sInNvdXJjZXMiOlsiLi4vc3JjL2RlZi9hcnRpZmFjdHMuZC50cyIsIi4uL3NyYy9hcGkvYXJ0aWZhY3RzLmQudHMiLCIuLi9zcmMvZGVmL2J1aWxkLmQudHMiLCIuLi9zcmMvYXBpL2J1aWxkLmQudHMiLCIuLi9zcmMvZGVmL2NyZWF0ZS1ucG0tZGlycy5kLnRzIiwiLi4vc3JjL2FwaS9jcmVhdGUtbnBtLWRpcnMuZC50cyIsIi4uL3NyYy9kZWYvbmV3LmQudHMiLCIuLi9zcmMvYXBpL25ldy5kLnRzIiwiLi4vc3JjL2RlZi9wcmUtcHVibGlzaC5kLnRzIiwiLi4vc3JjL2FwaS9wcmUtcHVibGlzaC5kLnRzIiwiLi4vc3JjL2RlZi9yZW5hbWUuZC50cyIsIi4uL3NyYy9hcGkvcmVuYW1lLmQudHMiLCIuLi9zcmMvZGVmL3VuaXZlcnNhbGl6ZS5kLnRzIiwiLi4vc3JjL2FwaS91bml2ZXJzYWxpemUuZC50cyIsI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