Skip to content

Commit

Permalink
Use wildcard alias for workspace packages (#697)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasIO authored Nov 9, 2023
1 parent 8348816 commit da53b08
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/size-limit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- uses: andresz1/size-limit-action@v1.7.0
- uses: andresz1/size-limit-action@35ea3c74377213d727b88532229d467a849345f4 # with pnpm support
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
script: npx -w @livekit/components-react size-limit --json
script: pnpm --filter @livekit/components-react exec size-limit --json
package_manager: pnpm
build_script: build:react
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"tslib": "^2.6.2"
},
"devDependencies": {
"@livekit/components-styles": "workspace:../styles",
"@livekit/components-styles": "workspace:*",
"@microsoft/api-extractor": "^7.36.0",
"@size-limit/file": "^10.0.0",
"@size-limit/webpack": "^10.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
},
"typings": "dist/index.d.ts",
"dependencies": {
"@livekit/components-core": "workspace:../core",
"@livekit/components-core": "workspace:*",
"@react-hook/latest": "^1.0.3",
"clsx": "^2.0.0",
"usehooks-ts": "^2.9.1"
Expand Down
4 changes: 2 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit da53b08

Please sign in to comment.