chore: initial semantic-release configuration
This commit is contained in:
@ -3,12 +3,18 @@ node_js:
|
|||||||
- "lts/*"
|
- "lts/*"
|
||||||
- "node"
|
- "node"
|
||||||
|
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- ~/.npm
|
||||||
|
|
||||||
|
notifications:
|
||||||
|
email: false
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- npm run doc
|
- npm run doc
|
||||||
- npm run flow
|
- npm run flow
|
||||||
- npm run lint
|
- npm run lint
|
||||||
- for example in examples/*.js; do node $example; done
|
- for example in examples/*.js; do node $example; done
|
||||||
after_success:
|
|
||||||
- npm run codecov
|
- npm run codecov
|
||||||
|
|
||||||
before_deploy:
|
before_deploy:
|
||||||
@ -26,6 +32,13 @@ deploy:
|
|||||||
on:
|
on:
|
||||||
branch: master
|
branch: master
|
||||||
node_js: "lts/*"
|
node_js: "lts/*"
|
||||||
|
- provider: script
|
||||||
|
skip_cleanup: true
|
||||||
|
script:
|
||||||
|
- npx semantic-release
|
||||||
|
on:
|
||||||
|
branch: master
|
||||||
|
node_js: "lts/*"
|
||||||
- provider: releases
|
- provider: releases
|
||||||
skip-cleanup: true
|
skip-cleanup: true
|
||||||
file:
|
file:
|
||||||
@ -35,11 +48,11 @@ deploy:
|
|||||||
on:
|
on:
|
||||||
tags: true
|
tags: true
|
||||||
node_js: "lts/*"
|
node_js: "lts/*"
|
||||||
- provider: npm
|
# - provider: npm
|
||||||
skip-cleanup: true
|
# skip-cleanup: true
|
||||||
email: $NPM_EMAIL_ADDRESS
|
# email: $NPM_EMAIL_ADDRESS
|
||||||
api_key: $NPM_AUTH_TOKEN
|
# api_key: $NPM_AUTH_TOKEN
|
||||||
on:
|
# on:
|
||||||
tags: true
|
# tags: true
|
||||||
node_js: "lts/*"
|
# node_js: "lts/*"
|
||||||
|
#
|
||||||
|
@ -1,4 +1,12 @@
|
|||||||
|
|
||||||
|
✨ Thanks for contributing to **solana-web3.js*! ✨
|
||||||
|
|
||||||
|
As a contributor, here are the guidelines we would like you to follow:
|
||||||
|
* Ensure `npm run ok` passes before submitting a Pull Request
|
||||||
|
* Please follow semantic-release [commit message guidelines](https://github.com/semantic-release/semantic-release/blob/caribou/CONTRIBUTING.md#commit-message-guidelines)
|
||||||
|
|
||||||
|
# Reference
|
||||||
|
|
||||||
## Static Analysis
|
## Static Analysis
|
||||||
eslint and flow-type are used.
|
eslint and flow-type are used.
|
||||||
|
|
||||||
|
5134
web3.js/package-lock.json
generated
5134
web3.js/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@solana/web3.js",
|
"name": "@solana/web3.js",
|
||||||
"version": "0.0.7",
|
"version": "0.0.0-development",
|
||||||
"description": "Solana Javascript API",
|
"description": "Solana Javascript API",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"api",
|
"api",
|
||||||
@ -11,7 +11,7 @@
|
|||||||
"homepage": "https://solana.com/",
|
"homepage": "https://solana.com/",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "http://github.com/solana-labs/solana-web3.js.git"
|
"url": "https://github.com/solana-labs/solana-web3.js.git"
|
||||||
},
|
},
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "http://github.com/solana-labs/solana-web3.js.git/issues"
|
"url": "http://github.com/solana-labs/solana-web3.js.git/issues"
|
||||||
@ -38,7 +38,8 @@
|
|||||||
"lint:fix": "npm run lint -- --fix",
|
"lint:fix": "npm run lint -- --fix",
|
||||||
"lint:watch": "watch 'npm run lint:fix' . --wait=1 --ignoreDirectoryPattern=/doc/",
|
"lint:watch": "watch 'npm run lint:fix' . --wait=1 --ignoreDirectoryPattern=/doc/",
|
||||||
"ok": "npm run lint && npm run flow && npm run test && npm run doc",
|
"ok": "npm run lint && npm run flow && npm run test && npm run doc",
|
||||||
"prepare": "npm run clean && npm run ok && npm run build"
|
"prepare": "npm run clean && npm run ok && npm run build",
|
||||||
|
"re": "semantic-release --repository-url git@github.com:solana-labs/solana-web3.js.git"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"babel-runtime": "^6.26.0",
|
"babel-runtime": "^6.26.0",
|
||||||
@ -81,6 +82,7 @@
|
|||||||
"rollup-plugin-node-resolve": "3.4.0",
|
"rollup-plugin-node-resolve": "3.4.0",
|
||||||
"rollup-plugin-replace": "2.0.0",
|
"rollup-plugin-replace": "2.0.0",
|
||||||
"rollup-plugin-uglify": "3.0.0",
|
"rollup-plugin-uglify": "3.0.0",
|
||||||
|
"semantic-release": "^15.9.16",
|
||||||
"watch": "^1.0.2"
|
"watch": "^1.0.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user