@incajs/cli 0.0.19 → 0.0.21
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 +3 -1
- package/dist/cli.d.mts +1 -1
- package/dist/cli.js +511 -432
- package/dist/entry.d.mts +9 -0
- package/dist/printConfig.d.mts +20 -0
- package/dist/types.d.mts +12 -0
- package/dist/vite/build.d.mts +1 -1
- package/dist/vite/config.d.mts +7 -1
- package/dist/vite/hmr.d.mts +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ SPDX-License-Identifier: MIT OR Apache-2.0
|
|
|
6
6
|
# @incajs/cli
|
|
7
7
|
|
|
8
8
|
The `inca` command for building and running [Incarnative.js](https://github.com/tom96da/incajs)
|
|
9
|
-
apps
|
|
9
|
+
apps.
|
|
10
10
|
|
|
11
11
|
## Install
|
|
12
12
|
|
|
@@ -33,6 +33,8 @@ bootstrapping; it wins outright when both exist.
|
|
|
33
33
|
prebuilt `inca-host` into a distributable application: a `.app` on
|
|
34
34
|
macOS, a plain directory on Linux (other platforms aren't supported
|
|
35
35
|
yet).
|
|
36
|
+
- **`inca config`**: prints the settings the host applies to your app,
|
|
37
|
+
such as its window size, as JSON.
|
|
36
38
|
|
|
37
39
|
When running `inca`, it will automatically try to resolve a config file
|
|
38
40
|
named `inca.config.ts` inside your app's root (other JS/JSON extensions
|
package/dist/cli.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/** Parses argv and runs the named subcommand: `dev`, `build`, or `
|
|
1
|
+
/** Parses argv and runs the named subcommand: `dev`, `build`, `package` or `config`. */
|
|
2
2
|
export declare function run(argv?: readonly string[]): Promise<void>;
|