forked from solana-labs/token-list
-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
082e312
commit 781029c
Showing
25 changed files
with
9,928 additions
and
201 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,64 @@ | ||
# https://circleci.com/docs/2.0/language-javascript/ | ||
version: 2 | ||
jobs: | ||
'node-10': | ||
docker: | ||
- image: circleci/node:10 | ||
steps: | ||
- checkout | ||
# Download and cache dependencies | ||
- restore_cache: | ||
keys: | ||
- v1-dependencies-{{ checksum "package.json" }} | ||
# fallback to using the latest cache if no exact match is found | ||
- v1-dependencies- | ||
- run: npm install | ||
- save_cache: | ||
paths: | ||
- node_modules | ||
key: v1-dependencies-{{ checksum "package.json" }} | ||
- run: npm test | ||
- run: npm run cov:send | ||
- run: npm run cov:check | ||
'node-12': | ||
docker: | ||
- image: circleci/node:12 | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
keys: | ||
- v1-dependencies-{{ checksum "package.json" }} | ||
- v1-dependencies- | ||
- run: npm install | ||
- save_cache: | ||
paths: | ||
- node_modules | ||
key: v1-dependencies-{{ checksum "package.json" }} | ||
- run: npm test | ||
- run: npm run cov:send | ||
- run: npm run cov:check | ||
'node-latest': | ||
docker: | ||
- image: circleci/node:latest | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
keys: | ||
- v1-dependencies-{{ checksum "package.json" }} | ||
- v1-dependencies- | ||
- run: npm install | ||
- save_cache: | ||
paths: | ||
- node_modules | ||
key: v1-dependencies-{{ checksum "package.json" }} | ||
- run: npm test | ||
- run: npm run cov:send | ||
- run: npm run cov:check | ||
|
||
workflows: | ||
version: 2 | ||
build: | ||
jobs: | ||
- 'node-10' | ||
- 'node-12' | ||
- 'node-latest' |
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,35 @@ | ||
{ | ||
"version": "0.1", | ||
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/master/cspell.schema.json", | ||
"language": "en", | ||
"words": [ | ||
"bitauth", | ||
"bitjson", | ||
"cimg", | ||
"circleci", | ||
"codecov", | ||
"commitlint", | ||
"dependabot", | ||
"editorconfig", | ||
"esnext", | ||
"execa", | ||
"exponentiate", | ||
"globby", | ||
"libauth", | ||
"mkdir", | ||
"prettierignore", | ||
"sandboxed", | ||
"solana", | ||
"transpiled", | ||
"typedoc", | ||
"untracked" | ||
], | ||
"flagWords": [], | ||
"ignorePaths": [ | ||
"package.json", | ||
"package-lock.json", | ||
"yarn.lock", | ||
"tsconfig.json", | ||
"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,15 @@ | ||
# http://editorconfig.org | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 2 | ||
indent_style = space | ||
insert_final_newline = true | ||
max_line_length = 80 | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
max_line_length = 0 | ||
trim_trailing_whitespace = false |
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,34 @@ | ||
{ | ||
"root": true, | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { "project": "./tsconfig.json" }, | ||
"env": { "es6": true }, | ||
"ignorePatterns": ["node_modules", "build", "coverage"], | ||
"plugins": ["import", "eslint-comments", "functional"], | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:eslint-comments/recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:import/typescript", | ||
"plugin:functional/lite", | ||
"prettier", | ||
"prettier/@typescript-eslint" | ||
], | ||
"globals": { "BigInt": true, "console": true, "WebAssembly": true }, | ||
"rules": { | ||
"@typescript-eslint/explicit-module-boundary-types": "off", | ||
"eslint-comments/disable-enable-pair": [ | ||
"error", | ||
{ "allowWholeFile": true } | ||
], | ||
"eslint-comments/no-unused-disable": "error", | ||
"import/order": [ | ||
"error", | ||
{ "newlines-between": "always", "alphabetize": { "order": "asc" } } | ||
], | ||
"sort-imports": [ | ||
"error", | ||
{ "ignoreDeclarationSort": true, "ignoreCase": true } | ||
] | ||
} | ||
} |
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,3 @@ | ||
# Example Contributing Guidelines | ||
|
||
This is an example of GitHub's contributing guidelines file. Check out GitHub's [CONTRIBUTING.md help center article](https://help.github.com/articles/setting-guidelines-for-repository-contributors/) for more information. |
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,9 @@ | ||
- **I'm submitting a ...** | ||
[ ] bug report | ||
[ ] feature request | ||
[ ] question about the decisions made in the repository | ||
[ ] question about how to use this project | ||
|
||
- **Summary** | ||
|
||
- **Other information** (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.) |
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,7 @@ | ||
- **What kind of change does this PR introduce?** (Bug fix, feature, docs update, ...) | ||
|
||
- **What is the current behavior?** (You can also link to an open issue here) | ||
|
||
- **What is the new behavior (if this is a feature change)?** | ||
|
||
- **Other information**: |
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,9 @@ | ||
.idea/* | ||
.nyc_output | ||
build | ||
node_modules | ||
test | ||
src/**.js | ||
coverage | ||
*.log | ||
yarn.lock |
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 @@ | ||
# package.json is formatted by package managers, so we ignore it here | ||
package.json |
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,8 @@ | ||
{ | ||
"recommendations": [ | ||
"dbaeumer.vscode-eslint", | ||
"esbenp.prettier-vscode", | ||
"eamodio.gitlens", | ||
"streetsidesoftware.code-spell-checker", | ||
] | ||
} |
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,29 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
// To debug, make sure a *.spec.ts file is active in the editor, then run a configuration | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Debug Active Spec", | ||
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/ava", | ||
"runtimeArgs": ["debug", "--break", "--serial", "${file}"], | ||
"port": 9229, | ||
"outputCapture": "std", | ||
"skipFiles": ["<node_internals>/**/*.js"], | ||
"preLaunchTask": "npm: build" | ||
// "smartStep": true | ||
}, | ||
{ | ||
// Use this one if you're already running `yarn watch` | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Debug Active Spec (no build)", | ||
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/ava", | ||
"runtimeArgs": ["debug", "--break", "--serial", "${file}"], | ||
"port": 9229, | ||
"outputCapture": "std", | ||
"skipFiles": ["<node_internals>/**/*.js"] | ||
// "smartStep": true | ||
}] | ||
} |
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,7 @@ | ||
{ | ||
"cSpell.userWords": [], // only use words from .cspell.json | ||
"cSpell.enabled": true, | ||
"editor.formatOnSave": true, | ||
"typescript.tsdk": "node_modules/typescript/lib", | ||
"typescript.enablePromptUseWorkspaceTsdk": true | ||
} |
Oops, something went wrong.