Skip to content

Commit

Permalink
Add size:ci command to package.json of monorepo
Browse files Browse the repository at this point in the history
To support migration to yarn v3 without fake yarn.lock file in
packages/vkui
We are going to drop `direction: ` option of `andresz1/size-limit-action`
because it's not going to allow us use this action without failure if we
remove fake yarn.lock file from packages/vkui

We have to remove fake yarn.lock file as yarn v3 doesn't install
dependencies properly with this fake file.

In the future PR we are going to use this new script in size-limit
action.
  • Loading branch information
mendrew committed Aug 30, 2023
1 parent 38a57c6 commit 24c314a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@
"playwright:install": "playwright install --with-deps",
"playwright:cmd:merge-reports": "playwright merge-reports",
"codesandbox:install": "PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 yarn install",
"deduplicate": "yarn-deduplicate --list && yarn-deduplicate --fail"
"deduplicate": "yarn-deduplicate --list && yarn-deduplicate --fail",
"size:ci": "yarn workspace @vkontakte/vkui run size:ci"
},
"lint-staged": {
"*.{ts,tsx,js,jsx}": [
Expand Down

0 comments on commit 24c314a

Please sign in to comment.