Skip to content

Commit

Permalink
Add Manypkg (#11958)
Browse files Browse the repository at this point in the history
## Description 

This adds [manypkg](https://github.com/Thinkmill/manypkg), which will
now run in CI to validate package versions are consistent across the
monorepo.

## Test Plan 

locally + new CI

---
If your changes are not user-facing and not a breaking change, you can
skip the following section. Otherwise, please indicate what changed, and
then add to the Release Notes section as highlighted during the release
process.

### Type of Change (Check all that apply)

- [ ] user-visible impact
- [ ] breaking change for a client SDKs
- [ ] breaking change for FNs (FN binary must upgrade)
- [ ] breaking change for validators or node operators (must upgrade
binaries)
- [ ] breaking change for on-chain data layout
- [ ] necessitate either a data wipe or data migration

### Release notes
  • Loading branch information
Jordan-Mysten authored and ronny-mysten committed May 17, 2023
1 parent c0aa115 commit da39a99
Show file tree
Hide file tree
Showing 7 changed files with 264 additions and 11 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/turborepo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ jobs:
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Manypkg Check
run: pnpm manypkg check
- name: Turbo Cache
id: turbo-cache
uses: actions/cache@v3
Expand Down
2 changes: 1 addition & 1 deletion apps/explorer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
"onchange": "^7.1.0",
"playwright": "^1.32.3",
"postcss": "^8.4.19",
"prettier": "2.8.7",
"prettier": "^2.8.7",
"prettier-plugin-tailwindcss": "^0.2.7",
"start-server-and-test": "^2.0.0",
"storybook": "7.0.4",
Expand Down
2 changes: 1 addition & 1 deletion apps/wallet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
"html-webpack-plugin": "^5.5.0",
"mini-css-extract-plugin": "^2.7.5",
"onchange": "^7.1.0",
"plausible-tracker": "^0.3.0",
"plausible-tracker": "^0.3.8",
"playwright": "^1.32.3",
"postcss": "^8.4.19",
"postcss-loader": "^7.2.4",
Expand Down
2 changes: 1 addition & 1 deletion dapps/sponsored-transactions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@types/react": "^18.0.35",
"@types/react-dom": "^18.0.11",
"@vitejs/plugin-react": "^3.1.0",
"autoprefixer": "^10.4.13",
"autoprefixer": "^10.4.14",
"postcss": "^8.4.19",
"tailwindcss": "^3.3.1",
"typescript": "^5.0.4",
Expand Down
7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,15 @@
"yaml@<2.2.2": ">=2.2.2"
}
},
"manypkg": {
"ignoredRules": [
"INTERNAL_MISMATCH",
"ROOT_HAS_DEV_DEPENDENCIES"
]
},
"devDependencies": {
"@changesets/cli": "^2.26.1",
"@manypkg/cli": "^0.20.0",
"turbo": "^1.9.1"
}
}
Loading

0 comments on commit da39a99

Please sign in to comment.