
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.
@forestryio/cli
Advanced tools
The CLI can be used to setup your local site with Forestry.io configuration.
Npm:
npm install --save-dev @forestryio/cli
Yarn:
yarn add --dev @forestryio/cli
Arguments wrapped in []
in the command name are optional.
You can get help on any command with -h
or --help
.
e.g:
yarn forestry schema:gen-query --help
This will describe how to use the schema:gen-query command.
Generate a GraphQL query for your site's schema
--typescript Include this option to also generate typescript types for your schema
Check for .forestry/front_matter/templates folder for any issues.
--path Specify a relative path to the .forestry folder (eg. my-site)
Start a GraphQL server using your Filesystem's content as the datasource.
--port Specify a port to run the server on. (default 4001)
To run this project locally in another directory, you can create a symlink by running
npm link
Then Forestry can be run in another directory by running:
forestry <commands>
Alternatively, the CLI can be added to a project instead of being used globally.
To run the command locally in this project directory, you can run:
yarn forestry <commands>
To access some third party services, you will need to add a .env file. Use the .env.example to fill in the example keys.
FAQs
Unknown package
The npm package @forestryio/cli receives a total of 14 weekly downloads. As such, @forestryio/cli popularity was classified as not popular.
We found that @forestryio/cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 14 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.