# @ixon-cdk/runner

> This is the main entrypoint of the IXON Component Development Kit (CDK). It contains logic to run commands in a CDK workspace.

Latest version **1.30.0** (published 2026-10-22) · ISC license · 0 weekly downloads

## Install

```sh
npm install @ixon-cdk/runner
pnpm add @ixon-cdk/runner
yarn add @ixon-cdk/runner
bun add @ixon-cdk/runner
```

Provides the command `cdk`.

## Health

**Score 60/100 (C)** — status: active.

Positive: esm support; no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 1.30.0 |
| Published | 2026-10-22 |
| First published | 2021-10-18 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 26.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | ixon-cdk |

## Links

- npm: https://www.npmjs.com/package/@ixon-cdk/runner
- npm.io page: https://npm.io/package/@ixon-cdk/runner

## Dependencies (2)

- [prompts](https://npm.io/package/prompts.md) ^2.4.2
- [is-potential-custom-element-name](https://npm.io/package/is-potential-custom-element-name.md) ^1.0.1

## Recent versions

- 1.30.0 (latest) — 2026-10-22
- 1.31.0-next.0 (next) — 2026-10-29
- 1.30.0-next.0 — 2026-10-08
- 1.29.0 — 2026-09-17
- 1.29.0-next.0 — 2026-09-10
- 1.28.0 — 2026-08-20
- 1.28.0-next.1 — 2026-07-30
- 1.28.0-next.0 — 2026-07-23
- 1.27.0 — 2026-06-18
- 1.27.0-next.0 — 2026-06-11
- 1.26.0 — 2026-05-21
- 1.26.0-next.1 — 2026-05-13
- 1.26.0-next.0 — 2026-04-23
- 1.25.0 — 2026-04-16
- 1.25.0-next.1 — 2026-04-09
- … 117 more at https://npm.io/package/@ixon-cdk/runner/versions

## README

# IXON Component Development Kit Runner

This is the main entrypoint of the IXON Component Development Kit (CDK). It contains logic to run commands in a CDK workspace.

```shell
$ npx cdk <command>
```

---

## generate

Prompts the user to generate a new component based on a template.

```shell
$ npx cdk generate <component-name> [options]
```

```shell
$ npx cdk g <component-name> [options]
```

#### Arguments

| Argument           | Description                            | Value type |
| ------------------ | -------------------------------------- | ---------- |
| `<component-name>` | The name of the component to generate. | `string`   |

#### Options

| Option           | Description                                                                                                       | Value type |
| ---------------- | ----------------------------------------------------------------------------------------------------------------- | ---------- |
| `--from-example` | Use a [component example](https://github.com/ixoncloud/component-examples) as a template.                         | `string`   |
| `--config`       | Path to the configuration file (e.g., ./my-config.json)                                                           | `string`   |
| `--template`     | Name of the template to use (e.g. "Svelte"); this is mainly useful when automating component generation           | `string`   |
| `--variant`      | Name of the variant to use (e.g. "TypeScript + SCSS"); this is mainly useful when automating component generation | `string`   |

---

## build

Builds the component

```shell
$ npx cdk build <component-name> [options]
```

```shell
$ npx cdk b <component-name> [options]
```

#### Arguments

| Argument           | Description                         | Value type |
| ------------------ | ----------------------------------- | ---------- |
| `<component-name>` | The name of the component to build. | `string`   |

#### Options

| Option         | Description                                             | Value type | Default |
| -------------- | ------------------------------------------------------- | ---------- | ------- |
| `--compress`   | Compress build output into a zip-file.                  | `boolean`  | `false` |
| `--watch`      | Run build when files change.                            | `boolean`  | `false` |
| `--config`     | Path to the configuration file (e.g., ./my-config.json) | `string`   |         |
| `--source-map` | Generate source map for debugging purposes.             | `boolean`  | `true`  |

---

## simulate

Builds the component (in watch-mode) and runs it inside the simulator.

```shell
$ npx cdk simulate <component-name>
```

```shell
$ npx cdk s <component-name>
```

#### Arguments

| Argument           | Description                         | Value type |
| ------------------ | ----------------------------------- | ---------- |
| `<component-name>` | The name of the component to build. | `string`   |

| Option     | Description                                             | Value type |
| ---------- | ------------------------------------------------------- | ---------- |
| `--config` | Path to the configuration file (e.g., ./my-config.json) | `string`   |

---

## deploy

Deploys the component (authentication is required)

```shell
$ npx cdk deploy <component-name> [options]
```

```shell
$ npx cdk d <component-name> [options]
```

#### Arguments

| Argument           | Description                          | Value type |
| ------------------ | ------------------------------------ | ---------- |
| `<component-name>` | The name of the component to deploy. | `string`   |

#### Options

| Option      | Description                                             | Value type | Default |
| ----------- | ------------------------------------------------------- | ---------- | ------- |
| `--publish` | Publishes the deployed component.                       | `boolean`  | `false` |
| `--config`  | Path to the configuration file (e.g., ./my-config.json) | `string`   |         |

---

## publish

Publish a deployed component (authentication is required)

```shell
$ npx cdk publish <component-name> [options]
```

```shell
$ npx cdk p <component-name> [options]
```

#### Arguments

| Argument           | Description                           | Value type |
| ------------------ | ------------------------------------- | ---------- |
| `<component-name>` | The name of the component to publish. | `string`   |

#### Options

| Option      | Description                                             | Value type | Default |
| ----------- | ------------------------------------------------------- | ---------- | ------- |
| `--version` | Publish the passed version number.                      | `string`   |         |
| `--latest`  | Publish the latest unpublished version                  | `boolean`  | `false` |
| `--config`  | Path to the configuration file (e.g., ./my-config.json) | `string`   |         |

---

## login

Log in with your user account credentials. Generates a `.accesstoken` file.

```shell
$ npx cdk login
```

---

## logout

Logs out. Removes the `.accesstoken` file that was generated on login.

```shell
$ npx cdk logout
```

---
_Source: https://npm.io/package/@ixon-cdk/runner · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
