0.3.4 • Published 5 months ago

unrev v0.3.4

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

Unrevealed CLI

The Unrevealed CLI is a code generation tool designed to simplify the integration of Unrevealed into your codebase. Using the CLI will allow you to automaticaly type the SDKs. This has multiple benefits:

  • Autocomplete: Don't open Unrevealed every time you need to know the key of a feature
  • Validation: Never make typos anymore, or forget to pass the right attributes of your users and teams
  • Maintenance: Easily clean up your features by archiving them on Unrevealed then running the CLI to remove them from your codebase

Feature autocomplete example

Getting started

Install the CLI. We recommend adding is as a devDependency of your project. If you have a monorepo, we also recommend installing it at the root if you're using it in multiple applications.

npm install -D unrev

Usage

  1. Login to Unrevealed
unrev login
  1. Initialize your config
unrev init

This will ask you a few questions and generate unrevealed.config.json at the root of your project.

  1. Generate
unrev generate

This command will generate types for the target SDKs, based on unrevealed.config.json

unrevealed.config.json

The unrevealed config file is used by the CLI and the VS Code extension to generate code and give you context about your features. Here's an example of config file:

{
  "productId": "YOUR_PRODUCT_ID",
  "generates": {
    "apps/webapp/src/generated/unrevealed.ts": {
      "sdk": "react"
    },
    "apps/api/src/generated/unrevealed.ts": {
      "sdk": "node"
    }
  }
}
0.3.2

6 months ago

0.3.1

7 months ago

0.3.4

5 months ago

0.3.3

6 months ago

0.3.1-rc.2

10 months ago

0.3.1-rc.1

10 months ago

0.3.0-rc.3

11 months ago

0.3.0-rc.1

11 months ago

0.3.0-rc.2

11 months ago

0.3.0

11 months ago

0.2.3

12 months ago

0.2.2

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.2.0-rc.1

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.7

1 year ago

0.0.7-rc.2

1 year ago

0.0.7-rc.1

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago

0.0.1-rc.9

1 year ago

0.0.1-rc.8

1 year ago

0.0.1-rc.7

1 year ago

0.0.1-rc.6

1 year ago

0.0.1-rc.5

1 year ago

0.0.1-rc.4

1 year ago

0.0.1-rc.3

1 year ago

0.0.1-rc.2

1 year ago

0.0.1-rc.1

1 year ago