This repository is now using experimental workflow checks. Your commits must use the conventional commits format.
npm install
npm run start
This project includes several npm scripts that automate various tasks. Below are descriptions of some of the most commonly used scripts:
Starts the development server. This script will compile your code and open a browser window displaying the application. It also sets up hot reloading so changes in your code are reflected instantly.
Builds the production version of the application. The output will be placed in the dist
directory, ready for deployment.
Runs the unit tests suite using Jest.
Runs the e2e (end-to-end) test suite. This script requires environment variables to be set for authentication purposes, and a working VPN connection. You can use a command like:
E2E_USER=<your-e2e-user> E2E_PASSWORD=<your-e2e-password> E2E_WORKSPACES_USER=<your-workspaces-user> E2E_WORKSPACES_PASSWORD=<your-workspaces-password> npm test
Replace the placeholders with appropriate values.
Opens the Cypress GUI for running end-to-end tests. Similar to npm test
, this script requires environment variables for authentication:
E2E_USER=<your-e2e-user> E2E_PASSWORD=<your-e2e-password> E2E_WORKSPACES_USER=<your-workspaces-user> E2E_WORKSPACES_PASSWORD=<your-workspaces-password> npm run cypress -- open
Replace the placeholders with appropriate values.
Runs ESLint to check for code style issues and potential errors in your JavaScript/TypeScript files. It will report any problems found according to the rules defined in the .eslintrc
configuration file.
Formats all JavaScript, TypeScript, and other supported files using Prettier. This ensures consistent formatting across the entire project.
This project is available as open source under the terms of the Apache License 2.0.
In order to test current Quickstarts tutorials iteration, you must enable the testing local variable through your browser's console.
localStorage.setItem('quickstarts:enabled', true)
You'll be able to see the buttons for testing both the quickstart tutorial and the catalog page.
Once the flag is enabled, you can access the catalog directly via its route:
.../settings/rbac/quickstarts-test