Skip to content

Commit

Permalink
fix(release): NPM issue with whitelist format (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseLion authored Jun 1, 2021
1 parent 29a6d67 commit 9bd305c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ Then, you need to run:
```
yarn pack
```
This will generate a `stackbuilders-react-native-spotlight-tour-<version>\.tgz` file. This will be used by the example as a package. Inside the `/example` directory, you could check the `dependencies` section of the `package.json` file to verify this.
This will generate a `stackbuilders-react-native-spotlight-tour-v0.0.0.tgz` file. This will be used by the example as a package. Inside the `/example` directory, you could check the `dependencies` section of the `package.json` file to verify this.

If the library is not referenced, add it with the following command:
```
yarn add ../stackbuilders-react-native-spotlight-tour-<version>\.tgz
yarn add ../stackbuilders-react-native-spotlight-tour-v0.0.0.tgz
```

Finally, in the `/example` directory, you need to run:
Expand Down
2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"dependencies": {
"@cometlib/dedent": "^0.8.0-es.10",
"@stackbuilders/react-native-spotlight-tour": "../stackbuilders-react-native-spotlight-tour-v0.1.0.tgz",
"@stackbuilders/react-native-spotlight-tour": "../stackbuilders-react-native-spotlight-tour-v0.0.0.tgz",
"react": "17.0.1",
"react-native": "0.64.0",
"react-native-svg": "^12.1.1",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"types": "./dist/index.d.ts",
"react-native": "./src/index.ts",
"files": [
"./dist",
"./src"
"dist/",
"src/"
],
"scripts": {
"compile": "tsc",
Expand Down

0 comments on commit 9bd305c

Please sign in to comment.