Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@contentful/cra-template-create-contentful-app

Package Overview
Dependencies
Maintainers
100
Versions
430
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contentful/cra-template-create-contentful-app - npm Package Compare versions

Comparing version 0.8.0 to 0.8.1-alpha.0

4

package.json
{
"name": "@contentful/cra-template-create-contentful-app",
"version": "0.8.0",
"version": "0.8.1-alpha.0+e21e849",
"description": "A template for building Contentful Apps",

@@ -48,3 +48,3 @@ "author": "Contentful GmbH",

},
"gitHead": "4d52e5f4c3156063e0d6313c571ee9fa363e0a37"
"gitHead": "e21e849484eb909d0108614cebc68caf5202a864"
}

@@ -20,7 +20,12 @@ {

},
"devDependencies": {
"@contentful/app-scripts": "^0.5.0"
},
"scripts": {
"start": "cross-env BROWSER=none react-scripts start"
"start": "cross-env BROWSER=none react-scripts start",
"upload": "contentful-app-scripts upload --bundle-dir ./build",
"upload-ci": "contentful-app-scripts upload --ci --bundle-dir ./build --organization-id $CONTENTFUL_ORG_ID --definition-id $CONTENTFUL_APP_DEF_ID --token $CONTENTFUL_ACCESS_TOKEN"
},
"homepage": "."
}
}
}

@@ -23,2 +23,20 @@ This project was bootstrapped with [Create Contentful App](https://github.com/contentful/create-contentful-app).

#### `npm run upload`
Uploads the build folder to contentful and creates a bundle that is automatically activated.
The command guides you through the deployment process and asks for all required arguments.
Read [here](https://www.contentful.com/developers/docs/extensibility/app-framework/create-contentful-app/#deployment) for more information about the deployment process.
#### `npm run upload-ci`
Similar to `npm run upload` it will upload your app to contentful and activate it. The only difference is
that with this command all required arguments are read from the environment variables, for example when you add
the upload command to your CI pipeline.
For this command to work, the following environment variables must be set:
- `CONTENTFUL_ORG_ID` - The ID of your organization
- `CONTENTFUL_APP_DEF_ID` - The ID of the app to which to add the bundle
- `CONTENTFUL_ACCESS_TOKEN` - A personal [access token](https://www.contentful.com/developers/docs/references/content-management-api/#/reference/personal-access-tokens)
## Libraries to use

@@ -25,0 +43,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc