Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Build Transaction] Params input and validation + encode JSON to XDR #832

Merged
merged 9 commits into from
Apr 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
"next/core-web-vitals",
"prettier"
],
"rules":{
"rules": {
// @TODO: ideally, these should be removed
"@typescript-eslint/no-explicit-any": "off",
"import/named": "off"
}
},
"ignorePatterns": ["./src/temp/stellar-xdr-web/*"]
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Build the app and run Playwright Tests
on: [push, pull_request]
jobs:
build_and_test:
build:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
Expand Down
4 changes: 4 additions & 0 deletions .lintstagedrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ const buildEslintCommand = (filenames) =>
.map((f) => path.relative(process.cwd(), f))
.join(" --file ")}`;

const ignoredFiles = ["./src/temp/stellar-xdr-web/**/*"];

const eslintPattern = `!(${ignoredFiles.join(",")})*.{js,ts,jsx,tsx}`;

module.exports = {
"*.{js,jsx,ts,tsx}": [buildEslintCommand],
};
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
public/
.gitignore
.husky/
src/temp/stellar-xdr-web/
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,12 @@
"@tanstack/react-query": "^5.28.8",
"@tanstack/react-query-devtools": "^5.28.8",
"@typescript-eslint/eslint-plugin": "^7.5.0",
"bindings-js": "file:./src/temp/stellar-xdr-web",
quietbits marked this conversation as resolved.
Show resolved Hide resolved
"dompurify": "^3.0.11",
"html-react-parser": "^5.1.10",
"immer": "^10.0.4",
"lodash": "^4.17.21",
quietbits marked this conversation as resolved.
Show resolved Hide resolved
"lossless-json": "^4.0.1",
"next": "14.1.4",
"react": "^18",
"react-dom": "^18",
Expand All @@ -39,6 +42,7 @@
"@playwright/test": "^1.42.1",
"@stellar/tsconfig": "^1.0.2",
"@types/dompurify": "^3.0.5",
"@types/lodash": "^4.17.0",
"@types/node": "^20.11.30",
"@types/react": "^18.2.71",
"@types/react-dom": "^18.2.23",
Expand Down
Loading
Loading