-
-
Notifications
You must be signed in to change notification settings - Fork 289
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
620 changed files
with
11,585 additions
and
11,708 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,21 @@ | ||
{ | ||
"all": true, | ||
"cache": false, | ||
"extension": [".ts", ".js", ".jsx", ".tsx"], | ||
"include": [ | ||
"**/packages/**" | ||
], | ||
"exclude": [ | ||
"**/node_modules/**", | ||
"**/test/**" | ||
], | ||
"instrument": true, | ||
"sourceMap": true, | ||
"check-coverage": true, | ||
"reporter": [ | ||
"html", | ||
"lcov", | ||
"text", | ||
"text-summary" | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: Check docs | ||
|
||
on: | ||
push: | ||
# We intentionally don't run push on feature branches. See PR for rational. | ||
branches: [unstable, stable] | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
name: Docs spellcheck | ||
runs-on: ubuntu-latest | ||
steps: | ||
# <common-build> - Uses YAML anchors in the future | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 20 | ||
- name: Node.js version | ||
id: node | ||
run: echo "v8CppApiVersion=$(node --print "process.versions.modules")" >> $GITHUB_OUTPUT | ||
- name: Restore dependencies | ||
uses: actions/cache@master | ||
id: cache-deps | ||
with: | ||
path: | | ||
node_modules | ||
packages/*/node_modules | ||
key: ${{ runner.os }}-${{ steps.node.outputs.v8CppApiVersion }}-${{ hashFiles('**/yarn.lock', '**/package.json') }} | ||
- name: Install & build | ||
if: steps.cache-deps.outputs.cache-hit != 'true' | ||
run: yarn install --frozen-lockfile && yarn build | ||
- name: Build | ||
run: yarn build | ||
if: steps.cache-deps.outputs.cache-hit == 'true' | ||
|
||
- name: Check wordlist is sorted | ||
run: scripts/wordlist_sort_check.sh | ||
|
||
- name: Build and collect docs | ||
run: yarn build:docs | ||
|
||
# Run prettier check with fix after generating the docs. The CLI reference is formatted with prettier for | ||
# deployed version so this will fail if not "fixable" | ||
- name: Check docs format | ||
run: yarn lint-docs:fix | ||
|
||
# Run spellcheck AFTER building docs, in case the CLI reference has issues | ||
- name: Spellcheck | ||
uses: rojopolis/[email protected] |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
**/lib | ||
**/.nyc_output | ||
/packages/*/spec-tests | ||
/packages/*/spec-tests | ||
node_modules | ||
**/node_modules |
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,42 @@ | ||
matrix: | ||
- name: markdown | ||
aspell: | ||
lang: en | ||
ignore-case: true | ||
dictionary: | ||
wordlists: | ||
- .wordlist.txt | ||
pipeline: | ||
- pyspelling.filters.url: | ||
- pyspelling.filters.markdown: | ||
markdown_extensions: | ||
- pymdownx.superfences: | ||
- pymdownx.highlight: | ||
- pymdownx.striphtml: | ||
- pymdownx.magiclink: | ||
- pyspelling.filters.url: | ||
- pyspelling.filters.html: | ||
comments: false | ||
ignores: | ||
- code | ||
- pre | ||
- pyspelling.filters.context: | ||
context_visible_first: true | ||
delimiters: | ||
# Ignore possessive endings | ||
- open: '(?<=\w)''s(?!\w)' | ||
close: '\b' | ||
# Ignore eth methods (e.g. eth_estimateGas) | ||
- open: '(?:\s)eth_(?:\w*)' | ||
close: '\s' | ||
# Ignore flags in cli.md | ||
- open: '--(?:\w*)' | ||
close: '[^\w]' | ||
# Ignore hex strings | ||
- open: '0x[a-fA-F0-9]' | ||
close: '[^a-fA-F0-9]' | ||
sources: | ||
- "docs/**/*.md" | ||
- "CONTRIBUTING.md" | ||
- "README.md" | ||
- "packages/*/README.md" |
Oops, something went wrong.