open-index/open-npm huggingface dataset:
npm package: @getcoconut/cli
Description: A tool for locally emulating and mocking Pulumi Cloud projects.
Latest version: 1.0.0-alpha.6

# Coconut CLI

Coconut CLI is a tool for locally emulating and mocking [Pulumi Cloud Framework](https://github.com/pulumi/pulumi-cloud) (PCF) projects. By using the Coconut CLI, developers are able to emulate and test their projects locally without ever needing to deploy them to the cloud.

> Note: This tool is meant to work with pure PCF projects. So if your project uses other Pulumi resources you can't use it with the Coconut CLI.

> Note: Check the [Pulumi Cloud Mock Provider](https://www.npmjs.com/package/@getcoconut/pulumi-cloud-mock) for details about the supported resources.

## Getting started

### Prerequisites

As Coconut is a tool for PCF projects, you will need:

- [Pulumi](https://www.pulumi.com)
- A [PCF](https://github.com/pulumi/pulumi-cloud) project (check above notes for limitations)

### Installation

Add the required packages to you PCF project (use one of the [example projects](./examples) if you don't have one):

```sh
$ cd <PCF project>
$ npm install -D @getcoconut/cli @getcoconut/pulumi-cloud-mock
```

### Mocking

Run the `mock` command from the root of the PCF project:

```sh
$ npx coconut mock
```

Once the PCF program is executed and the resources are ready, the outputs of the program will be printed on the screen. For details on how to use the outputs in your client apps, check the [`outputs/targets`](./docs/configuration.md#opts_outputs_targets) configuration option.

### Examples

Check the [examples folder](./examples) for some example projects.

## Documentation

- [CLI](./docs/cli.md)
- [Configuration](./docs/configuration.md)
npm package: @getcoconut/pulumi-cloud-mock
Description: An implementation of the Pulumi Cloud framework for mocking and local testing.
Latest version: 1.0.0-alpha.1

# Pulumi Cloud Mock Provider

An implementation of the [Pulumi Cloud Framework](https://github.com/pulumi/pulumi-cloud) (PCF) used by the [Coconut CLI](https://www.npmjs.com/package/@getcoconut/cli) for mocking and emulating resources locally.

## Getting started

Check the [Coconut CLI](https://www.npmjs.com/package/@getcoconut/cli) documentation for usage details.

## PCF API implementation status

Below is the list of the elements defined by the PCF API and their status of implementation in this provider:

| API                             | Status             |
| ------------------------------- | ------------------ |
| `HTTPServer` resource           | :white_check_mark: |
| `Table` resource                | :white_check_mark: |
| `Bucket` resource               | :x:                |
| Timer functions                 | :x:                |
| `Topic` resource                | :x:                |
| `API` resource                  | :x:                |
| `Service` and related resources | :x:                |
npm package: @getcoherent/cli
Description: CLI interface for Coherent Design Method
Author: Coherent Design Method
Latest version: 0.6.81

# @getcoherent/cli

CLI for **Coherent Design Method** — generate and maintain Next.js apps with a single design-system config.

## Install

```bash
npm install -g @getcoherent/cli
```

## Quick Start

```bash
# In an empty directory (or new repo)
coherent init
npm install
coherent preview
```

- **App:** http://localhost:3000  
- **Design System:** http://localhost:3000/design-system  
- **Docs:** http://localhost:3000/design-system/docs  

## Commands

| Command | Description |
|---------|-------------|
| `coherent init` | Create project: config, app, design-system viewer, docs. Non-interactive (optional provider flag). |
| `coherent chat "<request>"` | Generate or modify pages using natural language. Includes generation-time TypeScript validation. |
| `coherent preview` | Start Next.js dev server. |
| `coherent fix` | Auto-fix everything: TypeScript errors (deterministic + AI), missing components, CSS, raw colors, layouts. |
| `coherent check` | Show all problems: page quality, component integrity, broken links. |
| `coherent sync` | Sync Design System with code after manual edits. |
| `coherent export` | Production build; optional Vercel/Netlify config. |
| `coherent undo` | Restore project to state before the last `coherent chat`. |
| `coherent update` | Apply platform updates to an existing project. |
| `coherent status` | Print config summary (pages, components). |
| `coherent components` | List registered components. |

## Two Workflows

After `coherent init` you can:

1. **Work in Cursor/IDE** — Edit `design-system.config.ts`, `app/`, `components/`; hot reload. Best for fine-grained control.
2. **Use `coherent chat`** — e.g. `coherent chat "add pricing page"` to scaffold pages/components and sync config/nav. Best for fast generation.

**Tip:** Use chat for structure, then Cursor for details. Commit before each `coherent chat` and run `git diff` after.

## Examples (chat)

```bash
coherent chat "add dashboard page with stats cards"
coherent chat "add Button, Card, Input from shadcn"
coherent chat "add contact page with form"
coherent chat "change primary color to #6366f1"
```

## API Key

For `coherent init` (discovery) and `coherent chat` you need an AI provider key:

- **Anthropic (default):** `ANTHROPIC_API_KEY`
- **OpenAI:** `OPENAI_API_KEY`

Put in `.env` in the project root or export in the shell. In Cursor, keys are often auto-detected.

## Docs

- Root repo: [README](../../README.md) and [QUICK_REFERENCE.md](../../QUICK_REFERENCE.md)
- Project context and workflows: [CONTEXT.md](../../CONTEXT.md) §7

## License

MIT
npm package: @getcolo/colo-link
Description: A library that generates a button for directing the user to the appropriate authorization url for the OAuth provider. Its purpose is to abstract away messy OAuth logic for React apps.
Author: drshrey
Latest version: 1.0.4

# colo-link

[![NPM](https://img.shields.io/npm/v/@getcolo/colo-link.svg)](https://www.npmjs.com/package/@getcolo/colo-link) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
yarn add @getcolo/colo-link
```

## Usage

```jsx
import React, { Component } from 'react'

import ColoLink from '@getcolo/colo-link'
import '@getcolo/colo-link/dist/index.css'

const App = () => {
  return (
    <ColoLink
      scope={'calls:read calls:write'}
      integration={'slack'}
      userId={"your end-user's id"}
      clientId={'oauth app client id'}
      redirectUrl={'http://localhost:3000'}
    />
  )
}
```

## Component Reference

`ColoLink`

(without using https://getcolo.dev service)

- `integration` (required) - the provider you're integrating with e.g. 'slack'
- `userId` (required) - the user id you're linking the request with (maps to the `state` value, which you can query on your callback handler to associate the retrieved access token with the same `userId`)
- `clientId` (required) - your OAuth app's client_id 
- `redirectUrl` (required) - the url of the callback handler i.e. where the user will be directed to after the authorization screen
- `scope` (required) - the scopes your app is requesting that reflects the operations it will be able to perform against the end user. 

(with https://getcolo.dev service)

- `integration` (required) - the provider you're integrating with e.g. 'slack'
- `userId` (required) - the user id you're linking the request with (maps to the `state` value, which you can query on your callback handler to associate the retrieved access token with the same `userId`)
- `coloApiKey` (required) - the api key generated from your Colo application


## License

MIT © [getcolo](https://github.com/getcolo)
npm package: @getconfection/confection-cable-nuxt
Description: Nuxt confection
Latest version: 0.1.3

# Confection-cable-nuxt

### About 
[Confection](https://confection.io/) collects, stores, and distributes data in a way that's unaffected by client-side disruptions involving cookies, cross-domain scripts, and device IDs. It's also compliant with global privacy laws so it’s good for people too. And it integrates with the apps businesses and developers already use. There’s no need to switch systems. Just plug in, power up, and keep your marketing partnerships running strong. 

Use this package to add Confection to your site. Need an account? Set one up @ [dashboard.confection.io/register](https://dashboard.confection.io/register) (It's free.)

### Questions

See our [Nuxt quick-start guide](https://confection.io/quick-start/nuxt/).

### Setup
1  Install the module:

`npm i --save @getconfection/confection-cable-nuxt`

2 Add the module to the nuxt.config.js:

```javascript
  buildModules: [
    '@getconfection/confection-cable-nuxt'
  ],
```

3 Add the component:
```
<template> 
<Client 
  // 1. See https://dashboard.confection.io/my-keys
  account="%%%ACCOUNT_ID%%%" 
  // 2. Until Confection gets consent from a user, it will only collect non-personally-identifying information. 
  // Confection allows users to collect, store, and distribute data in accordance with the data protection 
  // law of their choice. Privacy attribute values are: 
  // none (if you're managing compliance in a different way), gdpr, ccpa, and lgpd
  privacy="%%%ACCOUNT_PRIVACY%%%"
  // 3. Confection uses a compact, minimally-invasive banner to get user consent. 
  // Unlike other consent banners, ours only appears when necessary. Position attribute values are:
  // none (to hide), left, center, and right
  position="%%%BANNER_POSITION%%%"
  // 4. Do you want to enable Confection analytics? Enter true or false. Learn more @ confection.io/pricing
  analytics="%%%ENABLE_ANALYTICS%%%">
</Client>
</template>
```

Be sure to replace <code>%%%ACCOUNT_ID%%%</code> with your account ID from step three. Replace the other variables as suggested in the code comments.