Plone Aurora (alpha) using Nick as an embedded library (experimental)#
The aurora_nick_embedded template creates a Plone Aurora project that embeds Nick as a library.
The template is experimental.
uvx cookieplone aurora_nick_embedded
Template ID |
|
Group |
Projects |
Folder in |
|
Folder generated with the default answers |
|
Requirements#
Before its first question, the template checks for:
Cookieplone 2.0.0a2 or later.
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 |
|---|---|---|---|---|
|
Project 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 these sub-templates:
Sub-template |
Generates |
|---|---|
|
The Aurora workspace and add-on, in the project folder itself; the post-generation hook then adds Nick to them |
|
|
After generation, the template prints the next steps.
Generated files#
With the default answers, the template generates these files, three levels deep:
project-title/
├── .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
│ ├── basic.test.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/
│ ├── project-title/
│ │ ├── .gitignore
│ │ ├── .release-it.json
│ │ ├── CHANGELOG.md
│ │ ├── config/
│ │ ├── index.ts
│ │ ├── locales/
│ │ ├── news/
│ │ ├── package.json
│ │ ├── public/
│ │ ├── towncrier.toml
│ │ ├── tsconfig.json
│ │ ├── types.d.ts
│ │ └── vite.extend.ts
│ └── project-title-nick/
│ ├── package.json
│ └── profiles/
├── playwright-acceptance.config.ts
├── pnpm-workspace.yaml
├── README.md
└── registry.config.ts
Next steps#
The generated README.md lists Node.js, Make, and Docker as prerequisites, and asks you to enable Corepack:
npm install --global corepack@latest
corepack enable
From the project folder, install the project:
make install
Start the backend, then, in another terminal, the frontend:
make backend-docker-start
make start