This repository has been archived by the owner on May 3, 2022. It is now read-only.
Releases: contentful/create-contentful-extension
Releases · contentful/create-contentful-extension
@contentful/[email protected]
Features
- add configure command to select space and environment (c859f33)
Bug Fixes
- fixed renaming .gitignore to .npmignore during installation (9b8342e)
Migration to 0.7.0
in already generated extensions
- Upgrade
create-contentful-extension
to0.7.0
- Upgrade
contentful-cli
to0.26.1
- Create
.contentfulrc.json
next toextension.json
with the following content:
{
"cmaToken": "",
"activeSpaceId": "",
"activeEnvironmentId": ""
}
- Add new
configure
script to NPM scripts inpackage.json
:
scripts: {
"configure": "contentful space use && contentful space environment use",
}
- Remove
contentful space use
from other NPM scripts
@contentful/[email protected]
Features
- added ability to generate Typescript extension (513ccb5)
@contentful/[email protected]
Features
- Added optional --no-inline to build command to generate code to
src
hosted extension (59a6a43)
contentful-extension-scripts build --no-inline
Breaking changes
HTTPS=true
is replaced with--https
contentful-extension-scripts start --https
PORT=<port-number>
is replaced with--port <port-number>
contentful-extension-scripts start --port 6000
Bug Fixes
@contentful/[email protected]
@contentful/[email protected]
Bug Fixes
Updating existing extensions to 0.4.2
- Update
create-contentful-scripts
to0.4.2
in yourpackage.json
- Add the following code to
index.js
to re-enable hot-reload which was disabled in[email protected]
:
if (module.hot) {
module.hot.accept();
}