{
  "private": true,
  "scripts": {
    "clean": "lerna run clean",
    "build:examples": "lerna run build --scope \"@jupyter-widgets/example-*\" --include-filtered-dependencies",
    "build": "lerna run build --ignore \"@jupyter-widgets/example-*\"",
    "lint": "lerna run lint",
    "update:dependency": "node scripts/update-dependency.js",
    "integrity": "node scripts/package-integrity.js",
    "updated": "lerna updated",
    "publish": "npm run clean && npm run build && lerna publish -m \"Publish npm packages\""
  },
  "devDependencies": {
    "lerna": "^2.5.0"
  },
  "workspaces": [
    "packages/*",
    "widgetsnbextension",
    "examples/*"
  ]
}

{
  "private": true,
  "scripts": {
    "clean": "lerna run clean",
    "build:examples": "lerna run build --scope \"@jupyter-widgets/example-*\" --include-filtered-dependencies",
    "build": "lerna run build --ignore \"@jupyter-widgets/example-*\"",
    "lint": "lerna run lint",
    "update:dependency": "node scripts/update-dependency.js",
    "integrity": "node scripts/package-integrity.js",
    "updated": "lerna updated",
    "publish": "yarn run clean && yarn run build && lerna publish -m \"Publish npm packages\""
  },
  "devDependencies": {
    "lerna": "^2.5.0"
  },
  "workspaces": [
    "packages/*",
    "widgetsnbextension",
    "examples/*"
  ]
}

Switch the publish script to use yarn instead of npm
Switch the publish script to use yarn instead of npm