Plone Aurora Frontend Add-on#
The aurora_addon template creates a frontend add-on package for Plone Aurora.
uvx cookieplone aurora_addon
Template ID |
|
Group |
Add-ons |
Folder in |
|
Folder generated with the default answers |
|
The hidden template ID seven_addon points to the same folder.
Requirements#
Before its first question, the template checks for:
Node.js 18, 19, 20, 21, 22, or 24.
git.
Questions#
Cookieplone asks these questions in this order.
A default in {{ }} is computed from earlier answers.
Field |
Question |
Default |
Choices |
Validation |
|---|---|---|---|---|
|
Add-on Title |
|
— |
— |
|
Frontend Add-on Name |
|
— |
|
|
Project Slug |
|
— |
— |
|
Description |
|
— |
— |
|
Author |
|
— |
— |
|
Author E-mail |
|
— |
|
|
GitHub Username or Organization |
|
— |
— |
|
NPM Package Name |
|
— |
|
|
Aurora Version |
|
— |
— |
What your answers change#
The template always runs the ide/vscode sub-template, which generates .vscode with Visual Studio Code settings.
Generated files#
With the default answers, the template generates these files, three levels deep:
plone-aurora-add-on/
├── .cookieplone.json
├── .github/
│ └── workflows/
│ ├── acceptance.yml
│ ├── changelog.yml
│ ├── code.yml
│ ├── i18n.yml
│ ├── storybook.yml
│ └── unit.yml
├── .gitignore
├── .npmignore
├── .pnpmfile.cjs
├── .prettierignore
├── .prettierrc
├── .storybook/
│ ├── main.js
│ └── preview.jsx
├── .stylelintrc
├── .vscode/
│ ├── extensions.json
│ ├── launch.json
│ └── settings.json
├── acceptance/
│ ├── README.md
│ └── tests/
│ ├── accessibility.ts
│ ├── content.test.ts
│ ├── content.ts
│ ├── homepage.test.ts
│ ├── login.ts
│ ├── reset-fixture.ts
│ └── test.ts
├── Dockerfile
├── eslint.config.mjs
├── Makefile
├── mrs.developer.json
├── package.json
├── packages/
│ └── plone-aurora-add-on/
│ ├── .gitignore
│ ├── .release-it.json
│ ├── CHANGELOG.md
│ ├── index.ts
│ ├── locales/
│ ├── news/
│ ├── package.json
│ ├── public/
│ ├── towncrier.toml
│ ├── tsconfig.json
│ └── types.d.ts
├── playwright-acceptance.config.ts
├── pnpm-workspace.yaml
├── README.md
└── registry.config.ts
Next steps#
The generated README.md explains how to develop the add-on.
From the add-on folder, install it:
make install
Start a Docker-based backend, then, in another terminal, start the frontend at http://localhost:3000:
make backend-docker-start
make start