open-index/open-npm huggingface dataset:
npm package: @hookvibe/hookcode-worker
Description: Standalone HookCode worker runtime
Latest version: 0.1.5

# @hookvibe/hookcode-worker

Standalone HookCode worker runtime.

This package runs the HookCode worker process outside the main `hookcode` repository. It is published to npmjs for direct installation and packaged as a GHCR image for Docker deployments.

## Install

```bash
npm install -g @hookvibe/hookcode-worker
```

Or run a specific version without a global install:

```bash
npx @hookvibe/hookcode-worker@<required-version>
```

Check the installed version:

```bash
hookcode-worker version
```

Upgrade from the CLI:

```bash
hookcode-worker upgrade --to <required-version>
```

This wraps the equivalent global install command:

```bash
npm install -g @hookvibe/hookcode-worker@<required-version>
```

When HookCode reports a required worker version, use that exact version in either command above.

## Usage

The worker now binds through a single one-time `bind code`.

First-time manual install:

```bash
npm install -g @hookvibe/hookcode-worker

HOOKCODE_WORK_DIR="$HOME/.hookcode/workers/worker-a" \
HOOKCODE_WORKER_BIND_CODE="hcw1...." \
hookcode-worker configure

HOOKCODE_WORK_DIR="$HOME/.hookcode/workers/worker-a" \
HOOKCODE_WORKER_KIND="remote" \
HOOKCODE_WORKER_NAME="Build Host A" \
HOOKCODE_WORKER_MAX_CONCURRENCY="1" \
hookcode-worker run
```

The `configure` command exchanges the bind code for long-lived worker credentials and stores them under `HOOKCODE_WORK_DIR`. Later restarts only need `hookcode-worker run` from the same work dir.

Required first-time environment variables:

- `HOOKCODE_WORKER_BIND_CODE`

Common optional variables:

- `HOOKCODE_WORKER_NAME`
- `HOOKCODE_WORKER_KIND`
- `HOOKCODE_WORKER_MAX_CONCURRENCY`
- `HOOKCODE_WORK_DIR`
- `HOOKCODE_WORKER_PREVIEW`
- `HOOKCODE_WORKER_FORCE_RECONFIGURE`

`HOOKCODE_WORKER_FORCE_RECONFIGURE=1` forces the worker to consume the provided bind code again instead of reusing any stored credentials. This is mainly for backend-managed local workers.

## Development

```bash
pnpm install
pnpm test
pnpm build
pnpm dev
```

## Docker

The published image is pushed to:

```text
ghcr.io/hookvibe/hookcode-worker:<version>
```

Run the packaged image directly:

```bash
docker run --rm \
  -e HOOKCODE_WORKER_BIND_CODE="hcw1...." \
  -e HOOKCODE_WORKER_NAME="Dedicated Remote Worker" \
  -e HOOKCODE_WORKER_KIND="remote" \
  -e HOOKCODE_WORKER_MAX_CONCURRENCY="1" \
  -e HOOKCODE_WORK_DIR="/var/lib/hookcode" \
  -v hookcode-worker-data:/var/lib/hookcode \
  ghcr.io/hookvibe/hookcode-worker:<required-version>
```
npm package: @hookydev/babel-plugin-styled-components
Description: Forked version that can work with xstyled - Improve the debugging experience and add server-side rendering support to styled-components
Author: hookydev
Latest version: 1.10.7-1
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# `babel-plugin-styled-components`

## This is the forked version that can work with [xstyled](https://github.com/smooth-code/xstyled) library

This plugin is a highly recommended supplement to the base styled-components library, offering some useful features:

- consistently hashed component classNames between environments (a must for server-side rendering)
- better debugging through automatic annotation of your styled components based on their context in the file system, etc.
- various types of minification for styles and the tagged template literals styled-components uses

## Quick start

Install the plugin first:

```
npm install --save-dev @hookydev/babel-plugin-styled-components
```

Then add it to your babel configuration:

```JSON
{
  "plugins": ["@hookydev/babel-plugin-styled-components"]
}
```

## Documentation

**The documentation for this plugin lives on [the styled-components website](https://www.styled-components.com/docs/tooling#babel-plugin)!**

- [Usage](https://www.styled-components.com/docs/tooling#usage)
- [Better debugging](https://www.styled-components.com/docs/tooling#better-debugging)
- [Minification](https://www.styled-components.com/docs/tooling#minification)

## License

Licensed under the MIT License, Copyright © 2016-present Vladimir Danchenkov and Maximilian Stoiber.

See [LICENSE.md](./LICENSE.md) for more information.