Next-generation platform

Yarn commands

For developing the application, use yarn commands.

Ensure to use the yarn commands within the <store-temp> project root directory.

The following table describes the yarn commands and description:

Table 1. Yarn commands
Command Description
yarn bootstrap
Deletes node_modules directory, and installs all the dependencies for the project.
yarn start-app
Starts the store root application and other micro-frontend applications based on the configuration in <store-temp/>app-config-overrides.json
yarn build-extensions
Generates the extension artifacts that contains minified files and assets (JSONs) in <store-temp>/dist directory.
yarn new-extension-feature
Creates a new extension with single-spa enabled angular application. For more information about flows, see Adding a flow.
yarn override-route
Creates a new extension with single-spa enabled angular application for overriding the application-provided screen. For more information about overriding the application-provided screen, see Modifying application-provided screens.
yarn lint-extensions --project <project-name>
Runs linting tools on the angular application code in the specified project folder.