@remotesynth/stepzen-content-pull
Advanced tools
Comparing version 1.1.4 to 1.1.5
{ | ||
"name": "@remotesynth/stepzen-content-pull", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"description": "Pull content from StepZen and convert them to files for SSGs", | ||
@@ -5,0 +5,0 @@ "main": "./lib/pullContent.js", |
# StepZen Content Pull for Jamstack Sites | ||
```bash | ||
npx @remotesynth/stepzen-content-pull | ||
``` | ||
This project is aimed at making it easier to pull content from any source hooked into your [StepZen GraphQL API](https://stepzen.com) and convert that into file-based resources that can be processed at build time in any static site generator. While this can work with any SSG, it is especially useful for ones that do not have a built-in means to call an API directly during the build. | ||
@@ -56,2 +60,12 @@ | ||
You can run the content pull via ?? | ||
You can run the content pull via: | ||
```bash | ||
npx @remotesynth/stepzen-content-pull | ||
``` | ||
You'll need to have a `config.js` in the folder you are running in as well as a `.env` with your `STEPZEN_API_KEY`. Alternatively, you can specify a different config using the `--config` flag. For example: | ||
```bash | ||
npx @remotesynth/stepzen-content-pull --config "configs/content-pull-confg.js" | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13310
70