Skip to content

Commit

Permalink
update README with deasync workaround (#49)
Browse files Browse the repository at this point in the history
* update README with deasync workaround

* update wording slightly

* grammer tweak
  • Loading branch information
Trevor authored Apr 26, 2019
1 parent e5be205 commit d25c562
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ npm install --global --production windows-build-tools

If that does not work or you are on a different operating system, follow the instructions in the installation section of the `deasync` [README](https://github.com/abbr/deasync#installation).

If all of the above fail, try pinning the version of `deasync` to the latest release using `yarn`'s "resolutions" entry inside the consuming project's package.json file. This approach requires using `yarn` instead of `npm` to install and build. Add the following to your package.json and run the `yarn` command from the consuming project root:

```json
"resolutions": {
"deasync": "0.1.14"
}
```

## Updating .forceignore

Expand Down Expand Up @@ -199,7 +206,7 @@ export default class FancyButton extends LightningElement {

## Testing @wire Adapters

To provision data through `@wire` adapters in unit tests, use the APIs provided by [`@salesforce/wire-service-jest-util`](https://github.com/salesforce/wire-service-jest-util). These APIs are exposed through this package so you do not need to include another dependency in your `package.json`.
To provision data through `@wire` adapters in unit tests, use the APIs provided by [`@salesforce/wire-service-jest-util`](https://github.com/salesforce/wire-service-jest-util). These APIs are exposed through this package so you do not need to include another dependency in your package.json.

```js
import {
Expand Down

0 comments on commit d25c562

Please sign in to comment.