Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

Releases: contentful/create-contentful-extension

@contentful/[email protected]

26 Mar 11:02
Compare
Choose a tag to compare

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 to 0.7.0
  • Upgrade contentful-cli to 0.26.1
  • Create .contentfulrc.json next to extension.json with the following content:
{
  "cmaToken": "",
  "activeSpaceId": "",
  "activeEnvironmentId": ""
}
  • Add new configure script to NPM scripts in package.json:
scripts: {
    "configure": "contentful space use && contentful space environment use",
}

  • Remove contentful space use from other NPM scripts

@contentful/[email protected]

22 Mar 14:08
Compare
Choose a tag to compare

Features

  • added ability to generate Typescript extension (513ccb5)

@contentful/[email protected]

22 Mar 14:12
Compare
Choose a tag to compare

Features

  • Added optional --no-inline to build command to generate code to src hosted extension (59a6a43)
contentful-extension-scripts build --no-inline
  • More sophisticated sidebar example (9d13c2d)
  • Added Typescript templates (513ccb5)

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

  • removed unnecessary class property for render function (4bb6134)
  • correct initial value in field extension (751250f)
  • disable Parcel auto installation of new dependencies (f9aff94)

@contentful/[email protected]

18 Mar 11:53
Compare
Choose a tag to compare

Features

  • moved installing dependencies to a user land (#18) (daedf71)

create-contentful-extension doesn't do npm install in extension folder anymore because it caused problems on Windows. User is asked to run npm install manually before using npm run start or npm run deploy

@contentful/[email protected]

12 Mar 14:03
Compare
Choose a tag to compare

Bug Fixes

  • contentful-extension-scripts: fix for hot reload in new version of Parcel (#14) (77656bf)

Updating existing extensions to 0.4.2

  • Update create-contentful-scripts to 0.4.2 in your package.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();
}