Skip to content

Commit 577ffb4

Browse files
authored
Support installing SDK from branch (#821)
* Support installing SDK from branch * support node 10 * Update README.md
1 parent 2edc162 commit 577ffb4

File tree

3 files changed

+25
-4
lines changed

3 files changed

+25
-4
lines changed

.travis.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
language: node_js
22
dist: trusty
33
node_js:
4-
- '8.10'
4+
- '10.14'
55

66
branches:
77
only:
@@ -11,7 +11,7 @@ branches:
1111

1212
cache:
1313
directories:
14-
- node_modules
14+
- "$HOME/.npm"
1515
- "$HOME/.mongodb/versions"
1616

1717
jobs:
@@ -25,7 +25,6 @@ jobs:
2525
script:
2626
- npm run lint
2727
- npm test -- --maxWorkers=4
28-
- npm run build
2928
- npm run integration
3029
after_script: ./node_modules/codecov/bin/codecov -f ./coverage/coverage-final.json && rm -rf ./coverage
3130
# release on github latest branch
@@ -36,7 +35,6 @@ jobs:
3635
after_script: skip
3736
script:
3837
- npm run release_docs
39-
- npm run build
4038
deploy:
4139
- provider: pages
4240
skip_cleanup: true

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,28 @@ With Parse SDK 2.0.0, gone are the backbone style callbacks and Parse.Promises.
5858

5959
We have curated a [migration guide](2.0.0.md) that should help you migrate your code.
6060

61+
## Want to ride the bleeding edge?
62+
63+
We recommend using the most recent tagged build published to npm for production. However, you can test not-yet-released versions of the Parse-SDK-JS by referencing specific branches in your `package.json`. For example, to use the master branch:
64+
65+
```
66+
npm install parse-community/Parse-SDK-JS.git#master
67+
```
68+
69+
### Experimenting
70+
71+
You can also use your own forks, and work in progress branches by specifying them:
72+
73+
```
74+
npm install github:myUsername/Parse-SDK-JS#my-awesome-feature
75+
```
76+
77+
And don't forget, if you plan to deploy it remotely, you should run `npm install` with the `--save` option.
78+
79+
## Contributing
80+
81+
We really want Parse to be yours, to see it grow and thrive in the open source community. Please see the [Contributing to Parse Javascript SDK guide](CONTRIBUTING.md).
82+
6183
## License
6284

6385
```

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
"watch:react-native": "cross-env PARSE_BUILD=react-native npm run watch",
8383
"integration": "cross-env TESTING=1 jasmine --config=jasmine.json",
8484
"docs": "jsdoc -c ./jsdoc-conf.json ./src",
85+
"prepare": "npm run build",
8586
"release_docs": "./release_docs.sh"
8687
},
8788
"jest": {

0 commit comments

Comments
 (0)