-
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.
- Loading branch information
Showing
36 changed files
with
7,361 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -7,5 +7,6 @@ | |
"strict": true, | ||
"skipLibCheck": true, | ||
"resolveJsonModule": true | ||
} | ||
}, | ||
"exclude": ["ui"] | ||
} |
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 @@ | ||
[*.{js,jsx,mjs,cjs,ts,tsx,mts,cts,vue}] | ||
charset = utf-8 | ||
indent_size = 2 | ||
indent_style = space | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = 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,33 @@ | ||
.DS_Store | ||
.thumbs.db | ||
node_modules | ||
|
||
# Quasar core related directories | ||
.quasar | ||
/dist | ||
/quasar.config.*.temporary.compiled* | ||
|
||
# Cordova related directories and files | ||
/src-cordova/node_modules | ||
/src-cordova/platforms | ||
/src-cordova/plugins | ||
/src-cordova/www | ||
|
||
# Capacitor related directories and files | ||
/src-capacitor/www | ||
/src-capacitor/node_modules | ||
|
||
# Log files | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# Editor directories and files | ||
.idea | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
|
||
# local .env files | ||
.env.local* |
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,5 @@ | ||
# pnpm-related options | ||
shamefully-hoist=true | ||
strict-peer-dependencies=false | ||
# to get the latest compatible packages when creating the project https://github.com/pnpm/pnpm/issues/6463 | ||
resolution-mode=highest |
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 @@ | ||
{ | ||
"$schema": "https://json.schemastore.org/prettierrc", | ||
"semi": false, | ||
"singleQuote": true, | ||
"printWidth": 100 | ||
} |
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 @@ | ||
{ | ||
"recommendations": [ | ||
"dbaeumer.vscode-eslint", | ||
"esbenp.prettier-vscode", | ||
"editorconfig.editorconfig", | ||
"vue.volar", | ||
"wayou.vscode-todo-highlight" | ||
], | ||
"unwantedRecommendations": [ | ||
"octref.vetur", | ||
"hookyqr.beautify", | ||
"dbaeumer.jshint", | ||
"ms-vscode.vscode-typescript-tslint-plugin" | ||
] | ||
} |
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,16 @@ | ||
{ | ||
"editor.bracketPairColorization.enabled": true, | ||
"editor.guides.bracketPairs": true, | ||
"editor.formatOnSave": true, | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.codeActionsOnSave": [ | ||
"source.fixAll.eslint" | ||
], | ||
"eslint.validate": [ | ||
"javascript", | ||
"javascriptreact", | ||
"typescript", | ||
"vue" | ||
], | ||
"typescript.tsdk": "node_modules/typescript/lib" | ||
} |
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,40 @@ | ||
# pTokens Swap (ui) | ||
|
||
Swap UI to redeem pTokens TLOS for OFT TLOS | ||
|
||
## Install the dependencies | ||
```bash | ||
yarn | ||
# or | ||
npm install | ||
``` | ||
|
||
### Start the app in development mode (hot-code reloading, error reporting, etc.) | ||
```bash | ||
quasar dev | ||
``` | ||
|
||
|
||
### Lint the files | ||
```bash | ||
yarn lint | ||
# or | ||
npm run lint | ||
``` | ||
|
||
|
||
### Format the files | ||
```bash | ||
yarn format | ||
# or | ||
npm run format | ||
``` | ||
|
||
|
||
### Build the app for production | ||
```bash | ||
quasar build | ||
``` | ||
|
||
### Customize the configuration | ||
See [Configuring quasar.config.js](https://v2.quasar.dev/quasar-cli-vite/quasar-config-js). |
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 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title><%= productName %></title> | ||
|
||
<meta charset="utf-8"> | ||
<meta name="description" content="<%= productDescription %>"> | ||
<meta name="format-detection" content="telephone=no"> | ||
<meta name="msapplication-tap-highlight" content="no"> | ||
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width<% if (ctx.mode.cordova || ctx.mode.capacitor) { %>, viewport-fit=cover<% } %>"> | ||
|
||
<link rel="icon" type="image/png" sizes="128x128" href="icons/favicon-128x128.png"> | ||
<link rel="icon" type="image/png" sizes="96x96" href="icons/favicon-96x96.png"> | ||
<link rel="icon" type="image/png" sizes="32x32" href="icons/favicon-32x32.png"> | ||
<link rel="icon" type="image/png" sizes="16x16" href="icons/favicon-16x16.png"> | ||
<link rel="icon" type="image/ico" href="favicon.ico"> | ||
</head> | ||
<body> | ||
<!-- quasar:entry-point --> | ||
</body> | ||
</html> |
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 @@ | ||
{ | ||
"name": "ui", | ||
"version": "0.0.1", | ||
"description": "Swap UI to redeem pTokens TLOS for OFT TLOS", | ||
"productName": "pTokens Swap", | ||
"author": "Jesse Schulman <jes.schulman@gmail.com>", | ||
"type": "module", | ||
"private": true, | ||
"scripts": { | ||
"lint": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\"", | ||
"format": "prettier --write \"**/*.{js,ts,vue,scss,html,md,json}\" --ignore-path .gitignore", | ||
"test": "echo \"No test specified\" && exit 0", | ||
"dev": "quasar dev", | ||
"build": "quasar build", | ||
"postinstall": "quasar prepare" | ||
}, | ||
"dependencies": { | ||
"@quasar/extras": "^1.16.4", | ||
"@tanstack/vue-query": "^5.62.7", | ||
"@wagmi/vue": "^0.1.3", | ||
"pinia": "^2.0.11", | ||
"quasar": "^2.16.0", | ||
"viem": "2.x", | ||
"vue": "^3.4.18", | ||
"vue-router": "^4.0.12" | ||
}, | ||
"devDependencies": { | ||
"@eslint/js": "^9.14.0", | ||
"@quasar/app-vite": "^2.0.0", | ||
"@types/node": "^20.5.9", | ||
"@vue/eslint-config-prettier": "^10.1.0", | ||
"@vue/eslint-config-typescript": "^14.1.3", | ||
"autoprefixer": "^10.4.2", | ||
"eslint": "^9.14.0", | ||
"eslint-plugin-vue": "^9.30.0", | ||
"globals": "^15.12.0", | ||
"prettier": "^3.3.3", | ||
"typescript": "~5.5.3", | ||
"vite-plugin-checker": "^0.8.0", | ||
"vue-tsc": "^2.0.29" | ||
}, | ||
"engines": { | ||
"node": "^28 || ^26 || ^24 || ^22 || ^20 || ^18", | ||
"npm": ">= 6.13.4", | ||
"yarn": ">= 1.21.1" | ||
} | ||
} |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.