Skip to content

Commit ce4d21a

Browse files
committed
Add hidden files
1 parent 6dbe140 commit ce4d21a

11 files changed

+243
-14
lines changed

.editorconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 2
6+
end_of_line = lf
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true
10+
11+
[*.md]
12+
trim_trailing_whitespace = false

.env.example

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# AWS credentials for external notifications
2+
AWS_ACCESS_KEY_ID="your-aws-access-key-id"
3+
AWS_SECRET_ACCESS_KEY="your-aws-secret-access-key"
4+
5+
# Aptabase analytics integration key
6+
APTABASE_INT="your-aptabase-integration-key"
7+
8+
# VIP secret key
9+
VIP_SECRET_KEY="your-vip-secret-key"

.eslintignore

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Logs
2+
logs
3+
*.log
4+
5+
# Runtime data
6+
pids
7+
*.pid
8+
*.seed
9+
10+
# Coverage directory used by tools like istanbul
11+
coverage
12+
.eslintcache
13+
14+
# Dependency directory
15+
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
16+
node_modules
17+
18+
# OSX
19+
.DS_Store
20+
21+
release/app/dist
22+
release/build
23+
.erb/dll
24+
25+
.idea
26+
npm-debug.log.*
27+
*.css.d.ts
28+
*.sass.d.ts
29+
*.scss.d.ts
30+
31+
# eslint ignores hidden directories by default:
32+
# https://github.com/eslint/eslint/issues/8429
33+
!.erb
34+
35+
namespace
36+
executables
37+
desktopKoiiNodeDB

.eslintrc.js

Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
module.exports = {
2+
env: {
3+
browser: true,
4+
es6: true,
5+
node: true,
6+
},
7+
parserOptions: {
8+
ecmaVersion: 2020,
9+
sourceType: 'module',
10+
project: './tsconfig.json',
11+
tsconfigRootDir: __dirname,
12+
createDefaultProgram: true,
13+
},
14+
extends: [
15+
'erb',
16+
'eslint:recommended',
17+
'plugin:@typescript-eslint/eslint-recommended',
18+
'plugin:@typescript-eslint/recommended',
19+
'plugin:import/recommended',
20+
'plugin:import/electron',
21+
'plugin:import/typescript',
22+
'plugin:react/recommended',
23+
'plugin:react-hooks/recommended',
24+
'plugin:prettier/recommended',
25+
'plugin:@cspell/recommended',
26+
],
27+
plugins: ['unused-imports'],
28+
rules: {
29+
'@cspell/spellchecker': [
30+
'error',
31+
{
32+
autoFix: false,
33+
checkIdentifiers: false,
34+
checkComments: false,
35+
ignoreImports: true,
36+
ignoreImportProperties: true,
37+
customWordListFile: './spellcheckignore.txt',
38+
},
39+
],
40+
41+
semi: ['error', 'always'],
42+
quotes: ['error', 'single', { avoidEscape: true }],
43+
'jsx-quotes': ['error', 'prefer-double'],
44+
'import/extensions': ['error', 'never', { svg: 'always', json: 'always' }],
45+
'import/newline-after-import': ['error', { count: 1 }],
46+
'import/order': [
47+
'error',
48+
{
49+
groups: [
50+
'builtin',
51+
'external',
52+
'internal',
53+
'parent',
54+
'sibling',
55+
'index',
56+
'object',
57+
'type',
58+
],
59+
'newlines-between': 'always',
60+
alphabetize: {
61+
order: 'asc',
62+
caseInsensitive: true,
63+
},
64+
},
65+
],
66+
'unused-imports/no-unused-imports': 'error',
67+
'@typescript-eslint/no-var-requires': 'off',
68+
'import/prefer-default-export': 'off',
69+
'no-console': 'off',
70+
'react/jsx-filename-extension': 'off',
71+
'promise/always-return': 'off',
72+
'no-use-before-define': 'off',
73+
'no-else-return': 'off',
74+
'react/require-default-props': 'off',
75+
'react/no-unused-prop-types': 'warn',
76+
'no-shadow': 'off',
77+
'jsx-a11y/click-events-have-key-events': 'warn',
78+
'prefer-template': 'warn',
79+
'jsx-a11y/label-has-associated-control': [
80+
'error',
81+
{
82+
required: {
83+
some: ['nesting', 'id'],
84+
},
85+
},
86+
],
87+
'no-nested-ternary': 'off',
88+
'react/no-array-index-key': 'off',
89+
'jsx-a11y/tabindex-no-positive': 'warn',
90+
'react/function-component-definition': 'warn',
91+
'react/button-has-type': 'off',
92+
'jsx-a11y/anchor-is-valid': 'warn',
93+
'jsx-a11y/no-static-element-interactions': 'warn',
94+
'no-return-wrap': 'off',
95+
'promise/catch-or-return': 'off',
96+
'react/jsx-no-constructed-context-values': 'warn',
97+
'import/no-extraneous-dependencies': 'off',
98+
'react/jsx-props-no-spreading': 'off',
99+
'no-unused-expressions': 'warn',
100+
'jsx-a11y/no-noninteractive-tabindex': 'warn',
101+
'no-new': 'off',
102+
camelcase: 'warn',
103+
'consistent-return': 'warn',
104+
'no-restricted-syntax': 'off',
105+
'no-await-in-loop': 'off',
106+
'@typescript-eslint/no-empty-interface': 'warn',
107+
},
108+
parser: '@typescript-eslint/parser',
109+
settings: {
110+
'import/resolver': {
111+
// See https://github.com/benmosher/eslint-plugin-import/issues/1396#issuecomment-575727774 for line below
112+
node: {},
113+
webpack: {
114+
config: require.resolve('./.erb/configs/webpack.config.eslint.ts'),
115+
},
116+
typescript: {},
117+
},
118+
'import/parsers': {
119+
'@typescript-eslint/parser': ['.ts', '.tsx'],
120+
},
121+
},
122+
};

.gitattributes

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
* text eol=lf
2+
*.exe binary
3+
*.png binary
4+
*.jpg binary
5+
*.jpeg binary
6+
*.ico binary
7+
*.icns binary
8+
*.eot binary
9+
*.otf binary
10+
*.ttf binary
11+
*.woff binary
12+
*.woff2 binary
13+
*.gif filter=lfs diff=lfs merge=lfs -text

.gitignore

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Logs
2+
logs
3+
*.log
4+
5+
# Runtime data
6+
pids
7+
*.pid
8+
*.seed
9+
10+
# Coverage directory used by tools like istanbul
11+
coverage
12+
.eslintcache
13+
14+
# Dependency directory
15+
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
16+
node_modules
17+
18+
# OSX
19+
.DS_Store
20+
21+
.env
22+
23+
release/app/dist
24+
release/build
25+
.erb/dll
26+
.vscode
27+
.webpack
28+
desktopKoiiNodeDB
29+
wallets
30+
namespace
31+
executables
32+
appdata
33+
desktop-node.iml
34+
.idea
35+
npm-debug.log.*
36+
*.css.d.ts
37+
*.sass.d.ts
38+
*.scss.d.ts
39+
adapters
40+
koii
41+
koii\\*
42+
adapters\\*
43+
44+
**/.npmrc
45+
test-output
46+

README.md

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,8 @@
1-
# Koii UI for Node
1+
# Koii Node
22

33
## Description
44

5-
This repo contains the desktop application as the UI for the [Koii Node](https://github.com/koii-network/node). It provides a user-friendly interface for interacting with the Koii Network.
6-
7-
The project structure is based on [Electron React Boilerplate](https://electron-react-boilerplate.js.org)
8-
9-
## Features
10-
11-
- Desktop application for Koii Node management
12-
- Task management and monitoring
13-
- Network status and statistics
14-
- Secure wallet integration
15-
- Task extension support (including Orca)
5+
This repo contains a desktop application as the UI for the [Koii Node](https://github.com/koii-network/node). It provides a user-friendly interface for running tasks, managing your wallet and interacting with the Koii Network.
166

177
## Prerequisites
188

@@ -24,8 +14,8 @@ The project structure is based on [Electron React Boilerplate](https://electron-
2414

2515
1. Clone the repository:
2616
```sh
27-
git clone https://github.com/koii-network/desktop-node
28-
cd desktop-node
17+
git clone https://github.com/koii-network/koii-node
18+
cd koii-node
2919
```
3020

3121
2. Install dependencies:
-1.99 MB
Loading
-967 KB
Loading
-2.08 MB
Loading
-242 KB
Loading

0 commit comments

Comments
 (0)