-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feat/composition-component-structure
- Loading branch information
Showing
41 changed files
with
383 additions
and
1,112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"@kadena/client-examples": none | ||
"@kadena/client": none | ||
--- | ||
|
||
Housekeeping after tooling migration |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
--- | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
'@kadena/react-ui': none | ||
--- | ||
|
||
Updated the Link and Breadcrumb components to have the option to pass props and | ||
styles to a child component via an asChild prop. This is the new convention we | ||
are using for cases when we need to support external links like next/link |
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# Filters | ||
|
||
Both pnpm and Turborepo have a `--filter` argument. | ||
|
||
**tl/dr;** Start commands with `pnpm run [cmd]` or `pnpm turbo [cmd]` to use | ||
Turborepo and its filtering options. See their docs for all options and syntax: | ||
|
||
- pnpm docs: [Filtering][1] | ||
- Turborepo docs: [Filtering Workspaces][2] | ||
|
||
## pnpm | ||
|
||
To run the test script of a specific package(s), bypassing Turborepo entirely: | ||
|
||
```sh | ||
pnpm --filter <package_selector> <command> | ||
``` | ||
|
||
These commands all do the same, the `--filter` argument is provided to `pnpm`: | ||
|
||
```sh | ||
pnpm --filter @kadena/client test | ||
pnpm --filter @kadena/client run test | ||
pnpm test --filter @kadena/client | ||
pnpm run --filter @kadena/client test | ||
``` | ||
|
||
There are also ways to include dependencies, select up to and/or including a | ||
certain package, packages changed since the `main` branch, etc. You can use | ||
multiple filters. Refer to the pnpm docs for all the goodies. | ||
|
||
## Turborepo | ||
|
||
To use Turborepo, automatically include dependencies of the target package and | ||
enjoy caching: | ||
|
||
```sh | ||
pnpm run test --filter @kadena/client | ||
``` | ||
|
||
The `pnpm run test` makes sure the `test` script from the root `package.json` | ||
are used. You can also execute the `turbo` executable directly to do the same: | ||
|
||
```sh | ||
pnpm turbo test --filter @kadena/client | ||
pnpm turbo --filter @kadena/client test | ||
``` | ||
|
||
The filter syntax is inspired by pnpm's, but it's not the same thing. See the | ||
Turborepo docs for details. | ||
|
||
## Bypass Turborepo cache | ||
|
||
To force Turborepo to bypass the cache: | ||
|
||
```sh | ||
pnpm turbo build --force | ||
``` | ||
|
||
[1]: https://pnpm.io/filtering | ||
[2]: https://turbo.build/repo/docs/core-concepts/monorepos/filtering |
Oops, something went wrong.