message: v1.2.22-alpha.2
  Fix prepublish script
diff: {
  "name": "@swc/core",
  - "version": "1.2.22-alpha.1",
  + "version": "1.2.22-alpha.2",
  "description": "Super-fast alternative for babel",
  "homepage": "https://swc-project.github.io",
  "main": "./index.js",
  },
  "types": "./lib/index.d.ts",
  "scripts": {
  - "prepublishOnly": "node ./scripts/npm/prepublish.js",
  + "prepublishOnly": "tsc -d && node ./scripts/npm/prepublish.js",
  "build": "tsc -d && cargo build -p node --release && cd ./native && napi build --platform --release .",
  "build:dev": "tsc -d && cargo build -p node && cd ./native && napi build --platform .",
  "test": "jest node-swc/__tests__"
  "url": "https://opencollective.com/swc"
  },
  "optionalDependencies": {
  - "@swc/core-darwin": "^1.2.22",
  - "@swc/core-linux": "^1.2.22",
  - "@swc/core-win32": "^1.2.22"
  + "@swc/core-darwin": "^1.2.22-alpha.2",
  + "@swc/core-linux": "^1.2.22-alpha.2",
  + "@swc/core-win32": "^1.2.22-alpha.2"
  }
  }
  