@latticexyz/abi-ts
Advanced tools
Comparing version 2.2.18-90aac1d4acce19ac592d47a090732dd11c1c3e7a to 2.2.18-9fa07c8489f1fbf167d0db01cd9aaa645a29c8e2
#!/usr/bin/env node | ||
import{a as r}from"../chunk-2LMRZYSL.js";import e from"yargs";import{hideBin as i}from"yargs/helpers";import o from"chalk";r.command="$0";e(i(process.argv)).scriptName("abi-ts").command(r).strict().fail(a=>{console.error(o.red(a)),a.includes("Missing required argument")&&console.log(o.yellow(`Run 'pnpm abi-ts ${process.argv[2]} --help' for a list of available and required arguments.`)),process.exit(1)}).alias({h:"help"}).argv; | ||
import { | ||
command | ||
} from "../chunk-GU6G2RXN.js"; | ||
// src/bin/abi-ts.ts | ||
import yargs from "yargs"; | ||
import { hideBin } from "yargs/helpers"; | ||
import chalk from "chalk"; | ||
command.command = "$0"; | ||
yargs(hideBin(process.argv)).scriptName("abi-ts").command(command).strict().fail((msg) => { | ||
console.error(chalk.red(msg)); | ||
if (msg.includes("Missing required argument")) { | ||
console.log( | ||
chalk.yellow(`Run 'pnpm abi-ts ${process.argv[2]} --help' for a list of available and required arguments.`) | ||
); | ||
} | ||
process.exit(1); | ||
}).alias({ h: "help" }).argv; | ||
//# sourceMappingURL=abi-ts.js.map |
@@ -1,2 +0,7 @@ | ||
import{a as o}from"../chunk-2LMRZYSL.js";export{o as command}; | ||
import { | ||
command | ||
} from "../chunk-GU6G2RXN.js"; | ||
export { | ||
command | ||
}; | ||
//# sourceMappingURL=internal.js.map |
{ | ||
"name": "@latticexyz/abi-ts", | ||
"version": "2.2.18-90aac1d4acce19ac592d47a090732dd11c1c3e7a", | ||
"version": "2.2.18-9fa07c8489f1fbf167d0db01cd9aaa645a29c8e2", | ||
"description": "Create TypeScript type declaration files (`.d.ts`) for your ABI JSON files.", | ||
@@ -13,3 +13,12 @@ "repository": { | ||
"exports": { | ||
"./internal": "./dist/exports/internal.js" | ||
"./internal": { | ||
"import": { | ||
"import": "./dist/exports/internal.js", | ||
"types": "./dist/exports/internal.d.ts" | ||
}, | ||
"require": { | ||
"require": "./dist/exports/internal.cjs", | ||
"types": "./dist/exports/internal.d.cts" | ||
} | ||
} | ||
}, | ||
@@ -47,5 +56,5 @@ "typesVersions": { | ||
"dev": "tsup --watch", | ||
"test": "vitest typecheck --run --passWithNoTests && vitest --run --passWithNoTests", | ||
"test": "vitest --run", | ||
"test:ci": "pnpm run test" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
25867
18
274
3
1