
Product
Introducing Custom Pull Request Alert Comment Headers
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
@hubspot/create-cms-theme
Advanced tools
The quickest way to get started using CMS React is by using @hubspot/create-cms-theme
. This CLI tool will generate a starter theme for you to use as a starting point with all the configuration complete and a set of example building blocks to reference or build upon. Speeding up your ability to begin local development with the HubSpot CMS.
npx @hubspot/create-cms-theme@latest
After running the command, you will be prompted to answer a few questions to customize your starter theme.
? What is the name of your theme?
This will be the name that appears in the HubSpot CMS UI when selecting a theme and the name of your Project when accessing your build/deploy information.
? What directory do you want to create your theme in?
This is the parent directory that we will create your theme in. For example if the answer to What is the name of your theme?
is MyCmsReactTheme
and the answer to this question is /your-theme-directory
, then the starter theme will be created in /your-theme-directory/MyCmsReactTheme
.
? Do you want to use TypeScript?
This will determine if we setup your theme with TypeScript. If you select No
, we will setup your theme with JavaScript.
Upon completion, your theme will have this structure:
your-theme-directory/
├── src/
│ └── theme/
│ ├── assets/
│ ├── components/
│ │ └── modules/
│ ├── styles/
│ ├── templates/
│ ├── fields.json
│ ├── theme.json
│ └── package.json
├── package.json
├── hsproject.json
After creating your theme, you can begin local development by running:
npm run start
FAQs
HubSpot CMS React starter theme
We found that @hubspot/create-cms-theme demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 32 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.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.