-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
830 changed files
with
105,337 additions
and
49,171 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
name: Bug | ||
about: Create a bug report to help us improve | ||
title: '' | ||
labels: bug | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Description** | ||
A clear and concise description of what the bug is. | ||
|
||
**Steps To Reproduce** | ||
Steps to reproduce the behavior: | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Desktop (please complete the following information):** | ||
- OS: [e.g. iOS] | ||
- Browser [e.g. chrome, safari] | ||
- Version [e.g. 22] | ||
|
||
**Smartphone (please complete the following information):** | ||
- Device: [e.g. iPhone6] | ||
- OS: [e.g. iOS8.1] | ||
- Browser [e.g. stock browser, safari] | ||
- Version [e.g. 22] | ||
|
||
**Additional context** | ||
Add any other context about the problem here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem and use case? Please describe.** | ||
A clear and concise description of what the problem/use case is. | ||
Ex. My application is... My goal was to get .... | ||
The main workflow where this needed is.... | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you'd want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
Which solution worked? What didn't work? | ||
Do you have a workaround currently? If yes, how does it work? | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
name: Research&design | ||
about: Suggest an idea for this project | ||
title: 'SPIKE:' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**What are the goals of the research?** | ||
A clear and concise description of what are the main goals of the research. | ||
|
||
**Describe the concrete outcomes of the research below. Can include questions/areas that need to be investigated/discussed** | ||
**Acceptance criteria:** | ||
- <Add A clear and concise list of items here> | ||
- ... | ||
- Document results of the research and suggest next steps | ||
|
||
OUT OF SCOPE: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
name: User story | ||
about: 'USER STORY:' | ||
title: 'USER STORY:' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**As Taquito user, I want to <...>, so that <I can see or avoid this outcome>** | ||
|
||
**Use cases:** | ||
|
||
**Is this user story related to an existing problem? Please describe.** | ||
A clear and concise description of what the problem is. | ||
|
||
**Acceptance criteria:** | ||
- | ||
- | ||
- | ||
- | ||
- | ||
|
||
**Non-functional:** | ||
- consider performance, scalability, security | ||
|
||
OUT OF SCOPE: | ||
N/A | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
name: Deploy Edge | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
jobs: | ||
deply-edge-package: | ||
runs-on: self-hosted | ||
if: ${{ github.event_name == 'pull_request' || github.ref == 'refs/heads/master' }} | ||
strategy: | ||
matrix: | ||
node: [12.x] | ||
env: | ||
VERDACCIO_TOKEN: ${{ secrets.EDGE_VERDACCIO_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
- uses: actions/cache@v1 | ||
with: | ||
path: ~/.npm | ||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-node- | ||
- run: echo "SHORT_SHA=`echo ${GITHUB_SHA} | cut -c1-8`" >> $GITHUB_ENV | ||
- run: echo "PACKAGE_VERSION=`node -p "require('./packages/taquito/package.json').version"`" >> $GITHUB_ENV | ||
- run: echo "BRANCH_NAME=`echo $GITHUB_REF | cut -d'/' -f 3`" >> $GITHUB_ENV | ||
- run: echo "TARGET_VERSION=${PACKAGE_VERSION}-${SHORT_SHA}--${BRANCH_NAME}" >> $GITHUB_ENV | ||
- run: npm ci | ||
- run: npm run lerna -- bootstrap | ||
- run: find packages/ -mindepth 1 -maxdepth 2 -name README.md | xargs sed -i '1s/^/# WARNING This build is produced from a feature branch and could contain unreviewed changes from the public. Use with caution, do not use in production\n\n/' | ||
- run: npm run lerna -- version "${TARGET_VERSION}" --no-push --no-git-tag-version --yes | ||
- run: npm run build | ||
- run: cd packages/taquito && npm run build:release && cd ../.. | ||
- run: git config user.email "[email protected]" && git config user.name "Github Actions" | ||
- run: git add . && git commit -m "committing changes to files to make lerna happy in next step, this is expected to never be pushed to remote" | ||
- run: echo ${VERDACCIO_TOKEN} >> ~/.npmrc | ||
- run: npm run lerna -- publish --dist-tag edge from-package --yes --registry https://npm.preview.tezostaquito.io/ | ||
- run: | | ||
echo "COMMENT_BODY<<EOF" >> $GITHUB_ENV | ||
echo "New packages have been deployed to the preview repository at https://npm.preview.tezostaquito.io/." >> $GITHUB_ENV | ||
echo "" >> $GITHUB_ENV | ||
echo "### Published packages:" >> $GITHUB_ENV | ||
echo "\`\`\`" >> $GITHUB_ENV | ||
find packages/ -mindepth 1 -maxdepth 2 -name package.json | xargs -I{} node -pe "require('./{}')['name']" | sed "s/^\(.*\)$/npm i \1@${TARGET_VERSION} --registry https:\/\/npm.preview.tezostaquito.io\//" >> $GITHUB_ENV | ||
echo "\`\`\`" >> $GITHUB_ENV | ||
echo 'EOF' >> $GITHUB_ENV | ||
- uses: actions/github-script@v3 | ||
with: | ||
github-token: ${{secrets.GITHUB_TOKEN}} | ||
script: | | ||
github.issues.createComment({ | ||
issue_number: context.issue.number, | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
body: process.env.COMMENT_BODY | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ on: | |
branches: | ||
- master | ||
jobs: | ||
publish-docs: | ||
publish-website: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
@@ -18,17 +18,20 @@ jobs: | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-node- | ||
- run: npm install | ||
- run: npm ci | ||
- run: npm run lerna -- bootstrap | ||
- run: npm run lerna run build | ||
- run: cd website && cp -R build/. ../dist | ||
- run: npm run build-docs | ||
- run: cd dist && touch .nojekyll && echo 'tezostaquito.io' > CNAME | ||
- name: Publish generated content to GitHub Pages | ||
uses: tsunematsu21/[email protected] | ||
with: | ||
dir: dist | ||
branch: gh-pages | ||
token: ${{ secrets.ACCESS_TOKEN }} | ||
- run: npm run netlify:publish | ||
env: | ||
CI: true | ||
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | ||
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} | ||
- name: Slack Notification | ||
uses: rtCamp/action-slack-notify@v2 | ||
env: | ||
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }} | ||
SLACK_USERNAME: Taquito Notifications | ||
SLACK_ICON: https://imgur.com/1zlqzFu | ||
SLACK_TITLE: Message | ||
SLACK_MESSAGE: A new version of the Taquito website has been published. https://tezostaquito.netlify.app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: Netlify Preview Deploy | ||
|
||
on: | ||
pull_request: | ||
branches: [master] | ||
|
||
jobs: | ||
## This job will deploy the netlify preview builds | ||
publish-website-preview: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: 10.x | ||
- uses: actions/cache@v1 | ||
with: | ||
path: ~/.npm | ||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-node- | ||
- run: npm ci | ||
- run: npm run lerna -- bootstrap | ||
- run: npm run lerna run build | ||
- run: npm run build-docs | ||
- run: echo "short_sha=${GITHUB_SHA:0:8}" >> $GITHUB_ENV | ||
- run: npm run netlify:preview | ||
env: | ||
CI: true | ||
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | ||
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} | ||
- uses: actions/github-script@v3 | ||
with: | ||
github-token: ${{secrets.GITHUB_TOKEN}} | ||
script: | | ||
github.issues.createComment({ | ||
issue_number: context.issue.number, | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
body: 'A new deploy preview is available on Netlify at https://${{ env.short_sha }}--tezostaquito.netlify.app' | ||
}) | ||
- uses: actions/checkout@v2 | ||
- name: Slack Notification | ||
uses: rtCamp/action-slack-notify@v2 | ||
env: | ||
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }} | ||
SLACK_USERNAME: Taquito Notifications | ||
SLACK_ICON: https://imgur.com/1zlqzFu | ||
SLACK_TITLE: Message | ||
SLACK_MESSAGE: There is a new deployment preview available for Taquito at https://${{ env.short_sha }}--tezostaquito.netlify.app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
declare module 'rollup-plugin-json'; | ||
declare module 'lodash.camelcase'; |
Oops, something went wrong.