@crustjs/crust 0.0.2 → 0.0.4

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @crustjs/crust
2
2
 
3
- The all-in-one package for the [Crust](https://crust.cyanlabs.co) CLI framework.
3
+ The all-in-one package for the [Crust](https://crustjs.com) CLI framework.
4
4
 
5
5
  Re-exports everything from `@crustjs/core` and `@crustjs/plugins`, plus provides CLI tooling for building Crust-powered CLIs.
6
6
 
@@ -79,11 +79,11 @@ crust build --target linux-x64 --outfile ./my-cli # Custom output (single
79
79
 
80
80
  | Flag | Alias | Type | Default | Description |
81
81
  | ----------- | ----- | --------- | ------------------- | -------------------------------------------- |
82
- | `--entry` | `-e` | `String` | `src/cli.ts` | Entry file path |
83
- | `--outfile` | `-o` | `String` | — | Output file path (single-target builds only) |
84
- | `--name` | `-n` | `String` | package.json `name` | Base binary name |
85
- | `--minify` | — | `Boolean` | `true` | Minify the output |
86
- | `--target` | `-t` | `String` | _(all platforms)_ | Target platform(s); repeatable |
82
+ | `--entry` | `-e` | `"string"` | `src/cli.ts` | Entry file path |
83
+ | `--outfile` | `-o` | `"string"` | — | Output file path (single-target builds only) |
84
+ | `--name` | `-n` | `"string"` | package.json `name` | Base binary name |
85
+ | `--minify` | — | `"boolean"` | `true` | Minify the output |
86
+ | `--target` | `-t` | `"string"` | _(all platforms)_ | Target platform(s); repeatable |
87
87
 
88
88
  #### Output
89
89
 
@@ -124,7 +124,7 @@ The resolver uses `#!/usr/bin/env node` for maximum compatibility when installed
124
124
 
125
125
  ## Documentation
126
126
 
127
- See the full docs at [crust.cyanlabs.co](https://crust.cyanlabs.co).
127
+ See the full docs at [crustjs.com](https://crustjs.com).
128
128
 
129
129
  ## License
130
130
 
package/dist/cli.js CHANGED
@@ -11,8 +11,8 @@ import {
11
11
  // package.json
12
12
  var package_default = {
13
13
  name: "@crustjs/crust",
14
- version: "0.0.2",
15
- description: "A Bun-native, TypeScript-first CLI framework with a composable package ecosystem.",
14
+ version: "0.0.4",
15
+ description: "A TypeScript-first, Bun-native CLI framework with composable modules.",
16
16
  type: "module",
17
17
  license: "MIT",
18
18
  author: "chenxin-yan",
@@ -21,7 +21,7 @@ var package_default = {
21
21
  url: "git+https://github.com/chenxin-yan/crust.git",
22
22
  directory: "packages/crust"
23
23
  },
24
- homepage: "https://crust.cyanlabs.co",
24
+ homepage: "https://crustjs.com",
25
25
  bugs: {
26
26
  url: "https://github.com/chenxin-yan/crust/issues"
27
27
  },
@@ -249,28 +249,28 @@ var buildCommand = defineCommand({
249
249
  },
250
250
  flags: {
251
251
  entry: {
252
- type: String,
252
+ type: "string",
253
253
  description: "Entry file path",
254
254
  default: "src/cli.ts",
255
255
  alias: "e"
256
256
  },
257
257
  outfile: {
258
- type: String,
258
+ type: "string",
259
259
  description: "Output file path (single-target builds only)",
260
260
  alias: "o"
261
261
  },
262
262
  name: {
263
- type: String,
263
+ type: "string",
264
264
  description: "Binary name (defaults to package.json name or entry filename)",
265
265
  alias: "n"
266
266
  },
267
267
  minify: {
268
- type: Boolean,
268
+ type: "boolean",
269
269
  description: "Minify the output",
270
270
  default: true
271
271
  },
272
272
  target: {
273
- type: String,
273
+ type: "string",
274
274
  multiple: true,
275
275
  description: "Target platform(s) to compile for (e.g. linux-x64, darwin-arm64). Omit to build all.",
276
276
  alias: "t"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@crustjs/crust",
3
- "version": "0.0.2",
4
- "description": "A Bun-native, TypeScript-first CLI framework with a composable package ecosystem.",
3
+ "version": "0.0.4",
4
+ "description": "A TypeScript-first, Bun-native CLI framework with composable modules.",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "author": "chenxin-yan",
@@ -10,7 +10,7 @@
10
10
  "url": "git+https://github.com/chenxin-yan/crust.git",
11
11
  "directory": "packages/crust"
12
12
  },
13
- "homepage": "https://crust.cyanlabs.co",
13
+ "homepage": "https://crustjs.com",
14
14
  "bugs": {
15
15
  "url": "https://github.com/chenxin-yan/crust/issues"
16
16
  },