Version Upgrade 
Official Packages 
All official WinJS packages currently use unified version numbers for release.
| Package Name | Version | 
|---|---|
| @winjs-dev/create-win | |
| @winner-fed/preset-vue | |
| @winner-fed/preset-vue2 | |
| @winner-fed/renderer-vue | |
| @winner-fed/renderer-vue2 | |
| @winner-fed/winjs | 
Using Taze 
We recommend using Taze to upgrade WinJS versions. This is a CLI tool for upgrading npm dependency versions.
Usage 
Run the following command to upgrade all dependencies containing winner-fed in their names:
npx taze --include /winner-fed/ -wThe output will be similar to:
winner-fed - 3 patch
  @winner-fed/core               dev  ~2mo  ^0.9.0  →  ^0.9.4
  @winner-fed/plugin-vue       dev  ~2mo  ^0.9.0  →  ^0.9.4
  @winner-fed/plugin-vue2  dev  ~2mo  ^0.9.0  →  ^0.9.4
ℹ changes written to package.json, run npm i to install updates.You can also adjust include to match different packages, for example, to upgrade only packages under the @winner-fed scope:
npx taze --include /@winner-fed/ -wOptions 
Here are some examples of using taze options.
- In a monorepo, you can add the -roption to upgrade recursively:
npx taze --include /winner-fed/ -w -r- Add -lto upgrade locked versions:
npx taze --include /winner-fed/ -w -l- Upgrade major versions:
npx taze major --include /winner-fed/ -wFor more options, please refer to the taze documentation.
Lock Sub-dependencies 
When a sub-dependency in a project has issues that may prevent WinJS or the project from updating, you can use package managers to lock sub-dependency versions.
pnpm 
For projects using pnpm, add the following configuration to the package.json in the project root directory, then re-run pnpm install:
{
  "pnpm": {
    "overrides": {
      "package-name": "^1.0.0"
    }
  }
}Yarn 
For projects using Yarn, add the following configuration to the package.json in the project root directory, then re-run yarn install:
{
  "resolutions": {
    "package-name": "^1.0.0"
  }
}Npm 
For projects using Npm, add the following configuration to the package.json in the project root directory, then re-run npm install:
{
  "overrides": {
    "package-name": "^1.0.0"
  }
}Tip
For Monorepo repositories, dependency versions can only be locked in the package.json in the project root directory, and this will affect all packages in the Monorepo.
