-
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
0 parents
commit 3877cac
Showing
94 changed files
with
14,209 additions
and
0 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,6 @@ | ||
node_modules | ||
.yarn | ||
|
||
## Panda | ||
styled-system | ||
styled-system-studio |
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 @@ | ||
{ | ||
"plugins": ["@trivago/prettier-plugin-sort-imports"] | ||
} |
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 @@ | ||
{ | ||
"eslint.useFlatConfig": true, | ||
"eslint.workingDirectories": [ | ||
{ | ||
"mode": "auto" | ||
} | ||
], | ||
"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 @@ | ||
nodeLinker: node-modules |
Large diffs are not rendered by default.
Oops, something went wrong.
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 @@ | ||
import { fixupConfigRules, fixupPluginRules } from "@eslint/compat"; | ||
import eslint from "@eslint/js"; | ||
import reactHooks from "eslint-plugin-react-hooks/index.js"; | ||
import reactJsxRuntime from "eslint-plugin-react/configs/jsx-runtime.js"; | ||
import reactRecommended from "eslint-plugin-react/configs/recommended.js"; | ||
import tseslint from "typescript-eslint"; | ||
|
||
export default tseslint.config( | ||
eslint.configs.recommended, | ||
...tseslint.configs.recommended, | ||
{ | ||
rules: { | ||
"@typescript-eslint/no-unused-vars": [ | ||
"error", | ||
{ | ||
argsIgnorePattern: "^_", | ||
varsIgnorePattern: "^_", | ||
caughtErrorsIgnorePattern: "^_", | ||
ignoreRestSiblings: true, | ||
}, | ||
], | ||
}, | ||
}, | ||
...fixupConfigRules(reactRecommended), | ||
{ | ||
languageOptions: reactJsxRuntime.languageOptions, | ||
rules: reactJsxRuntime.rules, | ||
}, | ||
{ | ||
plugins: { | ||
"react-hooks": fixupPluginRules(reactHooks), | ||
}, | ||
rules: reactHooks.configs.recommended.rules, | ||
}, | ||
{ | ||
settings: { | ||
react: { | ||
version: "detect", | ||
}, | ||
}, | ||
rules: { | ||
"react/display-name": "off", | ||
"react/no-unescaped-entities": "off", | ||
"react/no-unknown-property": ["error", { ignore: ["css"] }], | ||
}, | ||
}, | ||
); |
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,11 @@ | ||
<!doctype html> | ||
<html lang="en" class="dark"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
</head> | ||
<body> | ||
<div id="root"></div> | ||
<script type="module" src="./src/index.tsx"></script> | ||
</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,59 @@ | ||
{ | ||
"name": "dot-console", | ||
"description": "Substrate development console", | ||
"keywords": [ | ||
"substrate", | ||
"polkadot" | ||
], | ||
"bugs": { | ||
"url": "https://github.com/tien/dot-console/issues", | ||
"email": "[email protected]" | ||
}, | ||
"license": "AGPL-3.0-only", | ||
"author": "Tiến Nguyễn Khắc <[email protected]> (https://tien.zone/)", | ||
"repository": "github:tien/dot-console", | ||
"private": true, | ||
"type": "module", | ||
"packageManager": "[email protected]", | ||
"volta": { | ||
"node": "20.15.0", | ||
"yarn": "4.3.1" | ||
}, | ||
"scripts": { | ||
"dev": "vite", | ||
"build": "vite build", | ||
"lint": "eslint src", | ||
"preview": "vite preview", | ||
"postinstall": "papi && panda codegen" | ||
}, | ||
"dependencies": { | ||
"@ark-ui/react": "^3.5.0", | ||
"@reactive-dot/react": "^0.2.0", | ||
"@w3f/polkadot-icons": "^1.0.0", | ||
"dot-connect": "^0.2.0", | ||
"polkadot-api": "^0.11.2", | ||
"react": "^18.3.1", | ||
"react-dom": "^18.3.1" | ||
}, | ||
"devDependencies": { | ||
"@eslint/compat": "^1.1.1", | ||
"@eslint/js": "^9.7.0", | ||
"@pandacss/dev": "^0.43.0", | ||
"@park-ui/panda-preset": "^0.39.0", | ||
"@trivago/prettier-plugin-sort-imports": "^4.3.0", | ||
"@tsconfig/strictest": "^2.0.5", | ||
"@tsconfig/vite-react": "^3.0.2", | ||
"@types/eslint__js": "^8.42.3", | ||
"@types/react": "^18.3.3", | ||
"@types/react-dom": "^18.3.0", | ||
"@vitejs/plugin-react": "^4.3.1", | ||
"eslint": "^9.7.0", | ||
"eslint-plugin-react": "^7.35.0", | ||
"eslint-plugin-react-hooks": "^4.6.2", | ||
"prettier": "^3.3.3", | ||
"typescript": "^5.5.3", | ||
"typescript-eslint": "^7.16.1", | ||
"vite": "^5.3.4", | ||
"vite-tsconfig-paths": "^4.3.2" | ||
} | ||
} |
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,17 @@ | ||
import { defineConfig } from "@pandacss/dev"; | ||
import { createPreset } from "@park-ui/panda-preset"; | ||
|
||
export default defineConfig({ | ||
preflight: true, | ||
presets: [ | ||
"@pandacss/preset-base", | ||
createPreset({ | ||
accentColor: "crimson", | ||
grayColor: "neutral", | ||
borderRadius: "2xl", | ||
}), | ||
], | ||
include: ["./src/**/*.{js,jsx,ts,tsx}"], | ||
jsxFramework: "react", | ||
outdir: "styled-system", | ||
}); |
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 @@ | ||
{ | ||
"$schema": "https://park-ui.com/registry/latest/schema.json", | ||
"importAlias": "~/*", | ||
"jsFramework": "react", | ||
"outputPaths": { | ||
"componentsDir": "~/components/ui", | ||
"libDir": "~/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,6 @@ | ||
{ | ||
"polkadot": { | ||
"chain": "polkadot", | ||
"metadata": "polkadot.scale" | ||
} | ||
} |
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,5 @@ | ||
module.exports = { | ||
plugins: { | ||
"@pandacss/dev/postcss": {}, | ||
}, | ||
}; |
Oops, something went wrong.