@clearkit/one
Advanced tools
Comparing version 1.2.6 to 1.2.7
{ | ||
"name": "@clearkit/one", | ||
"version": "1.2.6", | ||
"version": "1.2.7", | ||
"description": "ClearKit One", | ||
@@ -5,0 +5,0 @@ "main": "config/index.js", |
@@ -46,2 +46,35 @@ # ClearKit One | ||
### Testing in a Consuming Application | ||
Since `@clearkit/one` is a separate repository from consuming apps, it may be necessary to test CSS changes in situation (e.g., in a component in `@clearkit/react`). This is possible with [yarn link](https://classic.yarnpkg.com/en/docs/cli/link) | ||
1. In `@clearkit/one`, run: | ||
```bash | ||
yarn build | ||
yarn link | ||
``` | ||
2. In consuming app (tested in `@clearkit/react`), run: | ||
```bash | ||
yarn link "@clearkit/one" | ||
``` | ||
3. With app running, to make updates in CSS, rerun `yarn build` in `@clearkit/one` as needed. | ||
When done local testing, make sure to run in `@clearkit/one`: | ||
```bash | ||
yarn unlink | ||
``` | ||
and in the consuming app: | ||
```bash | ||
yarn unlink "@clearkit/one" | ||
``` | ||
This will restore the installed version to the version in `package.json`. | ||
## Publish New Versions | ||
@@ -48,0 +81,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6235017
11603
84