Socket
Socket
Sign inDemoInstall

@frontify/frontify-cli

Package Overview
Dependencies
15
Maintainers
6
Versions
84
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @frontify/frontify-cli

[![Continuous Integration](https://github.com/Frontify/frontify-cli/actions/workflows/continuous-integration.yml/badge.svg)](https://github.com/Frontify/frontify-cli/actions/workflows/continuous-integration.yml)


Version published
Weekly downloads
293
increased by5.78%
Maintainers
6
Created
Weekly downloads
 

Readme

Source

Frontify CLI

Continuous Integration

Prerequisite

  • Node >=16

Installation

npm install -g @frontify/frontify-cli
# Or
yarn global add @frontify/frontify-cli

Content Block

Create

npx @frontify/frontify-cli block create <app name>

The content block name needs to be lowercase, spaces are not allowed but you can use an underscore instead.

Example: my_custom_content_block

Serve

frontify-cli block serve

Params:

ParametersDescriptionTypeDefault Value
entryPathPath to the entry file exporting block and settingsstringsrc/index.tsx
portPort for the local development servernumber5600

Deploy

frontify-cli block deploy --instance=<Frontify URL>

The Frontify URL represent your instance URL.

Example: weare.frontify.com or https://weare.frontify.com

Authentification

Login

frontify-cli login --instance=<Frontify URL>

The Frontify URL represent your instance URL.

Example: weare.frontify.com or https://weare.frontify.com

If you are using a domain with self-signed certificate, you will need to put NODE_TLS_REJECT_UNAUTHORIZED=0 before the log in command

Logout

frontify-cli logout

Configuration

macOS: ~/Library/Preferences/frontify-cli-nodejs

FAQs

Last updated on 19 Feb 2024

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc