Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New setup #109

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

New setup #109

wants to merge 7 commits into from

Conversation

sneridagh
Copy link
Member

@sneridagh sneridagh commented Jul 4, 2024

I promise that once you try the new setup, it's no turning back, and everything else seems so wrong and outdated.

Give it a try!

@pnicolli maybe it's better to merge first the PRs that you told me you have ongoing. Up to you. However, I saw that we have no tests whatsoever, we can fix this too. There are a couple of concerning ESlint failures that I commented out for now, but it would be great to fix it.

Copy link
Member

@pnicolli pnicolli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would say it's ok to remove all the files in old since we are targeting this at a 4.x release, maybe with at least an alpha to test early on

README.md Outdated
Comment on lines 199 to 207
### Volto 18 and later

Add `volto-form-block` to your add-on `package.json`:

```json
"dependencies": {
"volto-form-block": "*"
}
```
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to clarify: with volto 18 we still need to add the add-on name to the addons array and to run pnpm add volto-form-block or pnpm install, right?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, the add-on needs to be declared too as usual, the recommended way is to do that in your policy package (inside packages folder.

volto.config.js must have an entry point though, normally pointing to the inner package in packages.

Makefile Outdated
.PHONY: backend-docker-start
backend-docker-start: ## Starts a Docker-based backend for development
@echo "$(GREEN)==> Start Docker-based Plone Backend$(RESET)"
docker run -it --rm --name=backend -p 8080:8080 -e SITE=Plone $(DOCKER_IMAGE)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This also needs the backend add-on. iirc with -e ADDONS="collective.volto.formsupport"

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pnicolli let's move the addon in here too, so we have the complete add-on parts in the same repo.

package.json Outdated Show resolved Hide resolved
sneridagh and others added 3 commits July 8, 2024 11:35
Co-authored-by: Piero Nicolli <pnicolli@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants