Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 914 Bytes

CHANGELOG.md

File metadata and controls

46 lines (31 loc) · 914 Bytes

Changelog

v0.31.0

Changes

  • Created CHANGELOG.md

Legacy

  • The watched-sdk command line tool will be legacy starting with v0.32
  • The @watchedcom/create command line tool is printing a legacy message
  • The testAddon function in @watchedcom/test is printing a legacy message when it's used

Upgrade instructions

Since the watched-sdk command is legacy, you can't export your addons anymore.

  • Install ts-node-dev:

    npm install --save-dev ts-node-dev
  • package.json (change the start and develop scripts)

    {
      "scripts": {
        "build": "tsc",
        "start": "node .",
        "develop": "ts-node-dev --transpileOnly src",
        "test": "jest"
      }
    }
  • src/index.ts

    import { runCli } from "@watchedcom/sdk";
    
    // Your code here
    
    runCli([yourAddon, anotherAddon]);