Skip to content

devfile/registry-viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

registry-viewer

Devfile Registry UI

License

This is a Next.js project bootstrapped with create next-app --example with-patternfly.

Quickstart

  1. Fork this repository and clone it to your local device.

  2. Create a new branch:

    git checkout -b MY_BRANCH_NAME
    
  3. Install yarn:

    npm install -g yarn
    
  4. Install the dependencies with:

    yarn
    
  5. Start developing and watch for code changes:

    yarn dev
    

Scripts

"scripts": {
  "analyze": "cross-env ANALYZE=true next build",
  "dev": "next",
  "build": "next build",
  "start": "next start",
  "clean": "rimraf .next/ .nyc_output/ coverage/ docs/ out/ node_modules/",
  "cypress:start": "concurrently --names 'CYPRESS,SERVER' --prefix-colors 'yellow,blue' \"yarn cypress open\" \"yarn build && yarn start\"",
  "typedoc:build": "typedoc --tsconfig .",
  "typedoc:start": "npx serve docs",
  "jest:test": "jest --watchAll --verbose",
  "test": "cypress run",
  "lint": "prettier --check .",
  "format": "prettier --write .",
  "prepare": "husky install"
}
  • analyze - Runs next build and analyzes the webpack bundle size
  • dev - Runs next dev which starts Next.js in development mode
  • build - Runs next build which builds the application for production usage
  • start - Runs next start which starts a Next.js production server
  • clean - Slims the directory
  • cypress:start - Runs cypress concurrently with a production build
  • typedoc:build - Runs typedoc to generate docs
  • typedoc:start - Serves the docs
  • jest:test - Runs all jest tests
  • test - Runs all cypress and jest tests
  • lint - Checks the formatting of all files
  • format - Formats all files
  • prepare - System script for auto formatting before committing

Contributing

Please see our contributing.md.

License

Apache License 2.0, see LICENSE for details.