New CLI release and Typescript starter

Before Enonic goes on a well-deserved vacation break, we would like to announce two brand new releases, hot off our Enonic Market shelves.

  • CLI 3.1.0 comes with one new improvement: “--skip-start” option for skipping a prompt about whether a new sandbox should be started after creation. This option is supported by the following commands:
    create
    project create
    project deploy
    sandbox create

  • The brand new Typescript starter has been around for a couple of months now, but we never had a chance to properly introduce it.

    This starter is a variant of the well-known Tsup Starter but with all of the examples stripped off, making it a perfect starting point for building your XP application with Typescript. It comes with configured Tsup for TS->JS transpilation & bundling and integrated support for building tests with Jest.

    We have also written a brand new tutorial describing the usage of the new Typescript starter and our best practices for converting your vanilla Javascript app to Typescript, enabling type checking, code verification with Lint and setting up test runs.

As always we will be happy to have your feedback but don’t expect us to answer instantly as we’ll be in the relaxed mode for the next 2-3 weeks :sunglasses: :beach_umbrella:

– With wishes of a great summer from us at Enonic

2 Likes