Skip to content

Commit 5b6abc2

Browse files
committed
refactor: Major refactor for stable release
1 parent ac41aaf commit 5b6abc2

File tree

182 files changed

+6495
-6814
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

182 files changed

+6495
-6814
lines changed

.env

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
# common variables
22
VITE_GITHUB_THEMES_CACHE_URL="https://cdn.jsdelivr.net/gh/tjtanjin/react-chatbotify-themes/themes"
3-
VITE_GITHUB_LOGIN_URL="https://github.com/login/oauth/authorize"
3+
VITE_GITHUB_LOGIN_URL="https://github.com/login/oauth/authorize"
4+
VITE_NPM_PLUGINS_URL="https://registry.npmjs.org"

.eslintrc

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
{
2-
"root": true,
3-
"parser": "@typescript-eslint/parser",
4-
"parserOptions": {
5-
"ecmaVersion": 13,
6-
"sourceType": "module"
7-
},
8-
"plugins": [
9-
"@typescript-eslint",
10-
"react"
11-
],
12-
"extends": [
13-
"eslint:recommended",
14-
"plugin:@typescript-eslint/eslint-recommended",
15-
"plugin:@typescript-eslint/recommended"
16-
],
17-
"rules": {
18-
"@typescript-eslint/no-unused-vars": "error",
19-
"@typescript-eslint/consistent-type-definitions": ["error", "type"],
2+
"root": true,
3+
"parser": "@typescript-eslint/parser",
4+
"parserOptions": {
5+
"ecmaVersion": 13,
6+
"sourceType": "module"
7+
},
8+
"plugins": [
9+
"@typescript-eslint",
10+
"react"
11+
],
12+
"extends": [
13+
"eslint:recommended",
14+
"plugin:@typescript-eslint/eslint-recommended",
15+
"plugin:@typescript-eslint/recommended"
16+
],
17+
"rules": {
18+
"@typescript-eslint/no-unused-vars": "error",
19+
"@typescript-eslint/consistent-type-definitions": ["error", "type"],
2020
"@typescript-eslint/ban-types": [
2121
"error",
2222
{
@@ -26,9 +26,9 @@
2626
}
2727
}
2828
],
29-
"indent": ["error", "tab"],
30-
"react/jsx-indent": ["error", "tab"],
31-
"react/jsx-indent-props": ["error", "tab"],
32-
"max-len": ["error", { "code": 120 }]
33-
}
34-
}
29+
"indent": ["error", 2],
30+
"react/jsx-indent": ["error", 2],
31+
"react/jsx-indent-props": ["error", 2],
32+
"max-len": ["error", { "code": 120 }]
33+
}
34+
}

src/index.html renamed to index.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="utf-8" />
55

6-
<link rel="icon" href="./assets/favicon.ico" />
6+
<link rel="icon" href="./public/favicon.ico" />
77
<link rel="apple-touch-icon" href="/logo192.png" />
88

99
<meta name="viewport" content="width=device-width, initial-scale=1" />
@@ -36,7 +36,8 @@
3636
<body>
3737
<noscript>You need to enable JavaScript to run this app.</noscript>
3838
<div id="root"></div>
39-
<script type="module" src="./index.tsx"></script>
39+
<div id="modal-container"></div>
40+
<script type="module" src="./src/index.tsx"></script>
4041
<!--
4142
This HTML file is a template.
4243
If you open it directly in the browser, you will see an empty page.

0 commit comments

Comments
 (0)