Skip to content

Commit 3d260e5

Browse files
Merge pull request #1300 from Chia-Network/develop
Release 2.0
2 parents 5dc31d6 + 47447f3 commit 3d260e5

File tree

439 files changed

+24214
-101461
lines changed

Some content is hidden

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

439 files changed

+24214
-101461
lines changed

.babelrc

-14
This file was deleted.

.env

-2
This file was deleted.

.eslintignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.config.js

.eslintrc.cjs

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
module.exports = {
2+
root: true,
3+
env: { browser: true, es2020: true },
4+
extends: [
5+
"eslint:recommended",
6+
"plugin:@typescript-eslint/recommended",
7+
"plugin:react-hooks/recommended",
8+
],
9+
ignorePatterns: ["dist", ".eslintrc.cjs"],
10+
parser: "@typescript-eslint/parser",
11+
plugins: ["react-refresh"],
12+
rules: {
13+
"react-refresh/only-export-components": [
14+
"warn",
15+
{ allowConstantExport: true },
16+
],
17+
// Disabling the rules related to enforcing types
18+
"@typescript-eslint/explicit-module-boundary-types": "off",
19+
"@typescript-eslint/no-explicit-any": "off",
20+
"@typescript-eslint/no-implicit-any-catch": "off",
21+
"@typescript-eslint/ban-ts-comment": "off",
22+
},
23+
};

.eslintrc.json

-33
This file was deleted.

.github/dependabot.yml

+62-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,67 @@
1+
# This file is managed by the repo-content-updater project. Manual changes here will result in a PR to bring back
2+
# inline with the upstream template, unless you remove the dependabot managed file property from the repo
3+
14
version: 2
25
updates:
6+
- package-ecosystem: "gomod"
7+
directory: /
8+
schedule:
9+
interval: "weekly"
10+
day: "tuesday"
11+
open-pull-requests-limit: 10
12+
labels:
13+
- dependencies
14+
- go
15+
- "Changed"
16+
reviewers: ["cmmarslender", "starttoaster"]
17+
groups:
18+
global:
19+
patterns:
20+
- "*"
21+
22+
- package-ecosystem: "pip"
23+
directory: /
24+
schedule:
25+
interval: "weekly"
26+
day: "tuesday"
27+
open-pull-requests-limit: 10
28+
labels:
29+
- dependencies
30+
- python
31+
- "Changed"
32+
reviewers: ["emlowe", "altendky"]
33+
34+
- package-ecosystem: "github-actions"
35+
directory: /
36+
schedule:
37+
interval: "weekly"
38+
day: "tuesday"
39+
open-pull-requests-limit: 10
40+
labels:
41+
- dependencies
42+
- github_actions
43+
- "Changed"
44+
reviewers: ["cmmarslender", "Starttoaster", "pmaslana"]
45+
346
- package-ecosystem: "npm"
4-
directory: "/"
47+
directory: /
48+
schedule:
49+
interval: "weekly"
50+
day: "tuesday"
51+
open-pull-requests-limit: 10
52+
labels:
53+
- dependencies
54+
- javascript
55+
- "Changed"
56+
reviewers: ["cmmarslender", "ChiaMineJP"]
57+
58+
- package-ecosystem: cargo
59+
directory: /
560
schedule:
661
interval: "weekly"
7-
day: "sunday"
8-
target-branch: "develop"
62+
day: "tuesday"
63+
open-pull-requests-limit: 10
64+
labels:
65+
- dependencies
66+
- rust
67+
- "Changed"

.github/workflows/build-installers.yaml

+16-14
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
push:
55
tags:
66
- '**'
7+
branches:
8+
- refactor/refactor-base #remove this once rebuild is merged
79
pull_request:
810
branches:
911
- '**'
@@ -27,10 +29,10 @@ jobs:
2729
- name: Checkout Code
2830
uses: actions/checkout@v3
2931

30-
- name: Setup Node 18.16
32+
- name: Setup Node 20
3133
uses: actions/setup-node@v3
3234
with:
33-
node-version: '18.16'
35+
node-version: '20.10'
3436

3537
- name: Install Husky
3638
run: npm install --save-dev husky
@@ -56,12 +58,12 @@ jobs:
5658
- name: Notarize
5759
run: |
5860
DMG_FILE=$(find ${{ github.workspace }}/dist/ -type f -name '*.dmg')
59-
npm install -g notarize-cli
60-
notarize-cli \
61-
--file="$DMG_FILE" \
62-
--bundle-id net.chia.cadt-ui \
63-
--username "${{ secrets.APPLE_NOTARIZE_USERNAME }}" \
64-
--password "${{ secrets.APPLE_NOTARIZE_PASSWORD }}"
61+
xcrun notarytool submit \
62+
--wait \
63+
--apple-id "${{ secrets.APPLE_NOTARIZE_USERNAME }}" \
64+
--password "${{ secrets.APPLE_NOTARIZE_PASSWORD }}" \
65+
--team-id "${{ secrets.APPLE_TEAM_ID }}" \
66+
"$DMG_FILE"
6567
6668
- name: Upload Mac Installer
6769
uses: actions/upload-artifact@v3
@@ -76,10 +78,10 @@ jobs:
7678
- name: Checkout Code
7779
uses: actions/checkout@v3
7880

79-
- name: Setup Node 18.16
81+
- name: Setup Node 20.10
8082
uses: actions/setup-node@v3
8183
with:
82-
node-version: '18.16'
84+
node-version: '20.10'
8385

8486
- name: Install Husky
8587
run: npm install --save-dev husky
@@ -125,10 +127,10 @@ jobs:
125127
- name: Checkout Code
126128
uses: actions/checkout@v3
127129

128-
- name: Setup Node 18.16
130+
- name: Setup Node 20.10
129131
uses: actions/setup-node@v3
130132
with:
131-
node-version: '18.16'
133+
node-version: '20.10'
132134

133135
- name: Install Husky
134136
run: npm install --save-dev husky
@@ -160,10 +162,10 @@ jobs:
160162
- name: Checkout Code
161163
uses: actions/checkout@v3
162164

163-
- name: Setup Node 18.16
165+
- name: Setup Node 20.10
164166
uses: actions/setup-node@v3
165167
with:
166-
node-version: '18.16'
168+
node-version: '20.10'
167169

168170
- name: Install Husky
169171
run: npm install --save-dev husky

.gitignore

+28-20
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,33 @@
1-
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
tsconfig.tsbuildinfo
210

3-
# dependencies
4-
/node_modules
5-
/.pnp
6-
.pnp.js
11+
node_modules
12+
build
13+
dist
14+
dist-ssr
15+
*.local
716

8-
# testing
9-
/coverage
17+
# Editor directories and files
18+
.vscode/*
19+
!.vscode/extensions.json
20+
.idea
21+
.DS_Store
22+
*.suo
23+
*.ntvs*
24+
*.njsproj
25+
*.sln
26+
*.sw?
1027

11-
# production
12-
/build
13-
/dist
1428

15-
# misc
16-
.DS_Store
17-
.env.local
18-
.env.development.local
19-
.env.test.local
20-
.env.production.local
21-
.idea/*
29+
# Contentlayer
30+
.contentlayer
2231

23-
npm-debug.log*
24-
yarn-debug.log*
25-
yarn-error.log*
32+
.package-lock.json
33+
.history

.husky/commit-msg

-4
This file was deleted.

.husky/pre-commit

-4
This file was deleted.

.lintstagedrc

-7
This file was deleted.

.mocharc.yaml

-1
This file was deleted.

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18.16.0
1+
20.16

.prettierrc.js .prettierrc.cjs

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
module.exports = {
22
bracketSpacing: true,
3-
jsxBracketSameLine: true,
43
singleQuote: true,
54
trailingComma: 'all',
6-
arrowParens: 'avoid',
75
endOfLine: 'auto',
8-
};
6+
printWidth: 120
7+
}

.repo-content-updater.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
pr_target_branch: develop
2+
assign_users:
3+
- TheLastCicada
4+
commit_prefix: "chore: "

0 commit comments

Comments
 (0)