-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #868 from ChainSafe/dev
Release TKey to Staging
- Loading branch information
Showing
284 changed files
with
15,522 additions
and
5,404 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
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,23 @@ | ||
name: Lingui extract | ||
on: | ||
push: | ||
branches: | ||
- dev | ||
jobs: | ||
# extract any new translatable string | ||
# and commit if there are new ones | ||
extract: | ||
name: lingui-extract | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: lingui-extract | ||
env: | ||
GITHUB_PACKAGES_AUTH_TOKEN: ${{ secrets.GH_PKG_AUTH_TOKEN }} | ||
run: | | ||
git config --global user.name 'GitHub Actions' | ||
git config --global user.email 'actions@github.com' | ||
yarn install --immutable | ||
(cd packages/files-ui && yarn extract --clean) | ||
git add packages/files-ui/src/locales/* | ||
if git commit -m "lingui extract"; then git push; else echo 'exiting successfully without commit'; fi |
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 |
---|---|---|
|
@@ -52,4 +52,5 @@ storybook-static | |
# IDE configs | ||
.vscode | ||
.idea | ||
.env | ||
.env | ||
.DS_Store |
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 @@ | ||
_ |
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,4 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
yarn lint |
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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
registry=https://registry.yarnpkg.com/ | ||
|
||
@imploy:registry=https://npm.pkg.github.com | ||
@chainsafe:registry=https://npm.pkg.github.com | ||
//npm.pkg.github.com/:_authToken=${GITHUB_PACKAGES_AUTH_TOKEN} | ||
//registry.npmjs.org | ||
always-auth=true |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,47 @@ | ||
# Contributing | ||
|
||
When contributing to this repository, please first check whether the issue you encounter or the request you have has already been logged. If not please create a New Issue. | ||
|
||
## Logging an Issue | ||
|
||
1. Make sure this issue has not already been raised. If a relevant issue has been closed already please reopen it or make a reference to it in a new issue. | ||
1. Add appropriate labels to the issue (e.g. Documentation) | ||
1. For minor issues, it is acceptable to describe the problem and offer a potential route to fix it. For more involved feature requests or bugs, please include the following details at the minimum: | ||
|
||
##### For bugs: | ||
|
||
- current system OS | ||
- current browser user-agent and version | ||
- repository branch | ||
- steps to reproduce | ||
- stack trace or any console log. Those logs are accessible in most browsers by pressing Ctrl/cmd + shift + J. | ||
|
||
##### For feature requests: | ||
|
||
- rationale | ||
- paint the feature step by step (in words) | ||
- mockup (optional) | ||
|
||
## Pull Request Process | ||
|
||
1. Pick an issue in the Issue tracker for the repository, and assign yourself before working on it so we don't have duplicated effort. | ||
1. Pull Request must be created against the `dev` branch. | ||
1. The name of the branch should be in lower case and follow the pattern: [fix,mnt,feat]/[free-text-summarizing-the-PR]-[issue-number] e.g feat/mygithubhandle-file-sharing-888 | ||
- "fix" should be used when the Pull Request fixes a bug or something that is broken | ||
- "mnt" should be used for any chore, dependency upgrade, housekeeping | ||
- "feat" should be used for a new feature | ||
|
||
You can optionally add your GitHub handle to identify branches. | ||
1. If unsure about the specifics of implementing a particular issue, please make a Draft PR sooner rather than later, and start a discussion from there. | ||
1. When designing a new UI component, please make sure your changes are also reflected in the appropriate Storybook story. | ||
1. When merging a Pull Request, please make sure to squash and merge, to prevent having all the commit messages merged. Note: this is **not** the default behavior. | ||
1. You may merge the Pull Request in once you have the sign-off of 2 maintainers, or if you | ||
do not have permission to do that, you may request the reviewer to merge it for you. | ||
|
||
## Commit Messages | ||
|
||
Please provide a meaningful message summarizing in a couple of words what the commit did. | ||
|
||
## Styleguides | ||
|
||
All TypeScript code must adhere to the [eslint-recommended](https://eslint.org/docs/rules/). These rules are programmatically enforced by `eslint` in a pre-push hook. |
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 was deleted.
Oops, something went wrong.
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
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
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
Oops, something went wrong.