The all-in-one toolkit for creating high-quality, visually stunning Porsche web applications — featuring design tokens, robust web components and comprehensive guidelines. It's built and tested to embody Porsche’s signature quality and design principles.
We recommend using Volta to manage the correct Node.js and Yarn version.
# On most Unix systems including macOS, you can install with a single command:
curl https://get.volta.sh | bash
volta install node@22
# Verify the Node.js version:
node -v
corepack enable yarn
# Verify Yarn version:
yarn -v
Volta should automatically pick up the correct Node.js and Yarn version defined in ./package.json
.
Using Docker is optional but recommended for test automation, as it ensures consistent results across different machines. This is particularly important for visual regression testing.
- Register your Docker account on Hub-Docker
- Download Docker app locally on your machine and login
- Start Docker
Install all required npm packages:
yarn install
Build all internal npm packages:
yarn build
The following instructions assume that WebStorm is used as the IDE.
- Go to WebStorm
Preferences
- In
Preferences
go toLanguages and Frameworks
->Javascript
->Prettier
- Activate
Automatic Prettier configuration
- Change
Run for files
to{**/*,*}.{md,mdx}
- Click checkbox
Run on save
and apply
Note: If you have to exclude code fom being prettified, see Prettier configuration
- Go to WebStorm
Preferences
- Click on the Plugins tab and search for
biome
- Install Biome
- In
Preferences
go toLanguages and Frameworks
->Biome
- Activate
Automatic Biome configuration
- Change
Supported extensions
to.astro,.css,.gql,.graphql,.js,.mjs,.cjs,.jsx,.json,.jsonc,.svelte,.html,.ts,.mts,.cts,.tsx,.vue
- Click checkbox
Run format on save
,Run safe fixes on save
,Sort import on save
and apply
Note: If you have to exclude code fom being formatted or linted, see Biome configuration
All available commands for developing, building and testing are listed in the scripts section of the
./package.json
file in the project root. You can execute them from the root directory, for example:
yarn build
yarn test:e2e:components-js
yarn test:vrt:components-js
- …
Any command can also be executed in a Docker container by running it with ./docker.sh
, such as:
./docker.sh yarn build
./docker.sh yarn test:e2e:components-js
./docker.sh yarn test:vrt:components-js
- …