SkillAgentSearch skills...

Opticks

Vio.com Toggle Flag JavaScript SDK - Maintainer: @jopdeklein

Install / Use

/learn @viodotcom/Opticks
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Opticks Monorepo

Welcome to the Opticks monorepo! This repository includes three main packages:

  • lib: (https://www.npmjs.com/package/opticks)
  • cli: (https://www.npmjs.com/package/opticks-cli)
  • eslint-plugin: (https://www.npmjs.com/package/eslint-plugin-opticks)

Each package has its own directory and corresponding README file with specific instructions and documentation.

Table of Contents

Setup

To get started with the Opticks monorepo, ensure you have the following prerequisites installed:

  • Node.js (version 20.8.0)
  • Yarn

Clone the repository and install dependencies:

git clone https://github.com/viodotcom/opticks.git
cd opticks
yarn install

Building and Testing

To build and test all packages, you can use the following Yarn commands:

# Build all packages
yarn workspaces foreach -A run build

# Test all packages
yarn workspaces foreach -A run test

Publishing Packages

To publish a package after making changes, follow these steps:

  1. Generate a Changeset: After making changes to a package, run the following command to generate a changeset:

    npx changeset
    

    Follow the prompts to describe your changes. This will create a changeset file in the .changeset directory.

  2. Push Your Changes: Push your changes and create a pull request. Once the pull request is merged, a new pull request will be automatically created. This new pull request will remove the changeset file and update the changelog.

  3. Merge the Release Pull Request: When this automatically created pull request is merged, the relevant package will be published to the npm registry.

View on GitHub
GitHub Stars14
CategoryDevelopment
Updated1y ago
Forks1

Languages

TypeScript

Security Score

75/100

Audited on Jul 25, 2024

No findings