Git Product home page Git Product logo

cdk-seed's Introduction

cdk-seed ๐ŸŒฑ

Development

Prerequisites

Getting started

Use the specified version of Node for this project:

nvm use

If you get an error that the version of node is not installed, run:

nvm install $(cat .nvmrc)

Commands

npm start

Watch packages for updates to code and documentation, triggering builds of both on change.

npm run bootstrap

Install dependencies for each package.

npm run build

Build each package.

npm run package

Prepare each package for distribution.

npm run docgen

Generate documentation for each package.

npm test

Run tests for all packages.

Adding packages

See CONTRIBUTING.md.

Generating documentation

The generation of our documentation website is a three part process:

  1. jsii must be run within each package (this is done by running npm run build from the project base dir). This produces a .jsii in the root of each package.
  2. scripts/docgen.js should be run to gather each package's .jsii file and to export markdown documentation for each package into the site/docs directory.
  3. Jekyll should be run to generate HTML from the markdown documentation.

This process can be made easier by running two processes in separate terminals:

  1. npm start which concurrently runs two operations:
    • trigger jsii builds on changes to packages' README.md or lib/*.ts files.
    • trigger scripts/docgen.js to run on changes to packages' .jsii files.
  2. npm run website which starts the Jekyll server. It is assumed that Jekyll has been previously installed on the system. See Jekyll's documentation for more information.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.