Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
@plone/generator-volto
Advanced tools
Yeoman Volto App Generator: scaffolding for Volto projects
@plone/generator-volto is a Yeoman generator that helps you to set up Volto via command line.
First, install Yeoman and @plone/generator-volto using npm (we assume you have pre-installed node.js).
$ npm install -g yo
$ npm install -g @plone/generator-volto
Create a new Volto project with:
$ yo @plone/volto
This will bootstrap a new Volto project inside the current folder. It will ask a few questions: project name, project description and a list of addons. Run:
$ yo @plone/volto --help
to see a full list of options and arguments.
You can use it in full non-interactive mode by passing something like:
yo @plone/volto myvoltoproject --description "My Volto project" --skip-addons --skip-install
You can also specify addons to load, like:
yo @plone/volto myvoltoproject --description "My Volto project" --addon "volto-formbuilder:x,y" --addon "volto-slate:z,t"
Change the directory to your project to get started:
$ yarn
$ cy myvoltoproject
yarn start
Start Volto with:
$ yarn start
This runs the project in development mode. You can view your application at http://localhost:3000
The page will reload if you make edits.
Please note that you have to run a Plone backend as well.
E.g. with docker:
$ docker run -it --rm --name=plone -p 8080:8080 -e SITE=Plone -e ADDONS="kitconcept.volto" -e ZCML="kitconcept.volto.cors" -e PROFILES="kitconcept.volto:default-homepage" plone
Consult the Volto docs for further details:
https://www.npmjs.com/package/@plone/volto
yarn build
Builds the app for production to the build folder.
The build is minified and the filenames include the hashes. Your app is ready to be deployed!
yarn start:prod
Runs the compiled app in production.
You can again view your application at http://localhost:3000
yarn test
Runs the test watcher (Jest) in an interactive mode. By default, runs tests related to files changed since the last commit.
yarn i18n
Runs the test i18n runner which extracts all the translation strings and generates the needed files.
1.0.0-alpha.1 (2020-10-15)
.eslintrc.js
to include the addon registry @tiberiuichimcreate-sentry-release
@avoineaFAQs
Yeoman Volto App Generator: scaffolding for Volto projects
The npm package @plone/generator-volto receives a total of 37 weekly downloads. As such, @plone/generator-volto popularity was classified as not popular.
We found that @plone/generator-volto demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.