@kinetixui/cli 0.6.4 → 0.7.0
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.js +41 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -301,10 +301,50 @@ async function list(options) {
|
|
|
301
301
|
console.log(`Add everything: ${pc3.cyan("npx @kinetixui/cli add --all")}`);
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
+
// package.json
|
|
305
|
+
var package_default = {
|
|
306
|
+
name: "@kinetixui/cli",
|
|
307
|
+
version: "0.7.0",
|
|
308
|
+
description: "Add KinetixUI components and tokens to your project.",
|
|
309
|
+
type: "module",
|
|
310
|
+
license: "MIT",
|
|
311
|
+
homepage: "https://kinetixui.com",
|
|
312
|
+
repository: "zedalleys/kinetixui",
|
|
313
|
+
bin: {
|
|
314
|
+
kinetixui: "./dist/index.js"
|
|
315
|
+
},
|
|
316
|
+
files: [
|
|
317
|
+
"dist"
|
|
318
|
+
],
|
|
319
|
+
scripts: {
|
|
320
|
+
build: "tsup src/index.ts --format esm --clean",
|
|
321
|
+
typecheck: "tsc --noEmit",
|
|
322
|
+
dev: 'tsup src/index.ts --format esm --watch --onSuccess "node dist/index.js"'
|
|
323
|
+
},
|
|
324
|
+
dependencies: {
|
|
325
|
+
commander: "^15.0.0",
|
|
326
|
+
picocolors: "^1.1.1",
|
|
327
|
+
prompts: "^2.4.2"
|
|
328
|
+
},
|
|
329
|
+
devDependencies: {
|
|
330
|
+
"@types/node": "^22.20.2",
|
|
331
|
+
"@types/prompts": "^2.4.9",
|
|
332
|
+
tsup: "^8.5.1",
|
|
333
|
+
typescript: "^5.9.3"
|
|
334
|
+
},
|
|
335
|
+
engines: {
|
|
336
|
+
node: ">=18"
|
|
337
|
+
},
|
|
338
|
+
publishConfig: {
|
|
339
|
+
access: "public",
|
|
340
|
+
provenance: true
|
|
341
|
+
}
|
|
342
|
+
};
|
|
343
|
+
|
|
304
344
|
// src/index.ts
|
|
305
345
|
var DEFAULT_REGISTRY = "https://kinetixui.com/r";
|
|
306
346
|
var program = new Command();
|
|
307
|
-
program.name("kinetixui").description("Add KinetixUI components and tokens to your project.").version(
|
|
347
|
+
program.name("kinetixui").description("Add KinetixUI components and tokens to your project.").version(package_default.version);
|
|
308
348
|
program.command("init").description("Set up kinetixui.json and pull in the token contract.").option("-y, --yes", "skip prompts and use defaults", false).option("-r, --registry <url>", "registry base URL", DEFAULT_REGISTRY).action(async (opts) => {
|
|
309
349
|
try {
|
|
310
350
|
await init({ registry: opts.registry, yes: opts.yes });
|