-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: list verification pipeline v1 * fix: path * fix: path * fix: path * fix: path * fix: path * fix: schema file name * fix: extensions schema * fix: token schema * fix: missing logos * feat: platform list validation * fix: clean platform list schema * fix: underlying property * fix: exclude bgURL from required properties * feat: build as a package * feat: token-list as a package ready to use * fix: author
- Loading branch information
Showing
11 changed files
with
1,227 additions
and
368 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,31 @@ | ||
name: Package update | ||
on: | ||
push: | ||
branches: | ||
- 'main' | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: '20.x' | ||
registry-url: 'https://npm.pkg.github.com' | ||
|
||
- name: Automated Version Bump | ||
uses: 'phips28/gh-action-bump-version@master' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
version-type: 'minor' | ||
|
||
- name: Build | ||
run: yarn build | ||
|
||
- name: Publish | ||
run: npm ci && npm publish --access public | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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 @@ | ||
/.idea | ||
/node_modules | ||
/dist | ||
|
||
# Build files | ||
/dist |
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,22 @@ | ||
{ | ||
"tabWidth": 4, | ||
"semi": false, | ||
"singleQuote": false, | ||
"bracketSpacing": true, | ||
"useTabs": false, | ||
"importOrder": [ | ||
"^@*/(.*)$", | ||
"^styles/(.*)$", | ||
"^state/(.*)$", | ||
"^hooks/(.*)$", | ||
"^(data|web3|contracts|utils)/(.*)$", | ||
"^(components|routes)/(.*)$", | ||
"^assets/(.*)$", | ||
"^[./]" | ||
], | ||
"importOrderSeparation": true, | ||
"plugins": [ | ||
"@trivago/prettier-plugin-sort-imports", | ||
"prettier-plugin-tailwindcss" | ||
] | ||
} |
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,19 +1,32 @@ | ||
{ | ||
"name": "token-list", | ||
"name": "@spectra/token-list", | ||
"version": "1.0.0", | ||
"description": "", | ||
"main": "index.js", | ||
"main": "./dist/index.js", | ||
"types": "./dist/index.d.ts", | ||
"files": [ | ||
"dist", | ||
"src/images" | ||
], | ||
"keywords": [ | ||
"spectral", | ||
"spectra", | ||
"token", | ||
"list", | ||
"schema", | ||
"protocol" | ||
], | ||
"author": "", | ||
"author": "Spectra Finance", | ||
"license": "ISC", | ||
"scripts": { | ||
"build": "tsup" | ||
}, | ||
"dependencies": { | ||
"react": "^18.3.1", | ||
"wagmi": "1.4.7" | ||
}, | ||
"devDependencies": { | ||
"prettier": "3.3.3", | ||
"tsup": "^8.2.4", | ||
"typescript": "^5.5.4" | ||
} | ||
} |
Binary file not shown.
Binary file not shown.
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,6 @@ | ||
export { default as protocolList } from "./protocols/protocolList.json" | ||
export { default as protocolCustomContent } from "./protocols/protocolCustomContent" | ||
export type { default as ProtocolText } from "./types/ProtocolText" | ||
|
||
export { default as spectraTokens } from "./tokens/spectraTokens.json" | ||
export { default as erc4626Wrappers } from "./tokens/erc4626Wrappers.json" |
Oops, something went wrong.