@contentful/cra-template-create-contentful-app
Advanced tools
Comparing version 0.7.5-alpha.1 to 0.8.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [0.8.0](https://github.com/contentful/create-contentful-app/compare/v0.7.4...v0.8.0) (2021-04-21) | ||
### Features | ||
* update engines property ([638e4cc](https://github.com/contentful/create-contentful-app/commit/638e4cc3eb8b707de8c885df181cac8e13da905f)) | ||
## [0.7.4](https://github.com/contentful/create-contentful-app/compare/v0.7.3...v0.7.4) (2021-04-20) | ||
@@ -8,0 +19,0 @@ |
{ | ||
"name": "@contentful/cra-template-create-contentful-app", | ||
"version": "0.7.5-alpha.1+53e2f6c", | ||
"version": "0.8.0", | ||
"description": "A template for building Contentful Apps", | ||
@@ -13,4 +13,4 @@ "author": "Contentful GmbH", | ||
"engines": { | ||
"node": ">=12 <15", | ||
"npm": ">=6 <7" | ||
"node": ">=12 <=15", | ||
"npm": ">=6 <=7" | ||
}, | ||
@@ -49,3 +49,3 @@ "files": [ | ||
}, | ||
"gitHead": "53e2f6cb290bbf300303e0223fb2969ebfa06e72" | ||
"gitHead": "4d52e5f4c3156063e0d6313c571ee9fa363e0a37" | ||
} |
@@ -20,12 +20,7 @@ { | ||
}, | ||
"devDependencies": { | ||
"@contentful/app-scripts": "^0.5.0" | ||
}, | ||
"scripts": { | ||
"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" | ||
"start": "cross-env BROWSER=none react-scripts start" | ||
}, | ||
"homepage": "." | ||
} | ||
} | ||
} |
@@ -23,20 +23,2 @@ 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 | ||
@@ -43,0 +25,0 @@ |
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
0
19472
321
35