Skip to content

Commit

Permalink
Merge pull request #1300 from Chia-Network/develop
Browse files Browse the repository at this point in the history
Release 2.0
  • Loading branch information
TheLastCicada authored Aug 1, 2024
2 parents 5dc31d6 + 47447f3 commit 3d260e5
Show file tree
Hide file tree
Showing 439 changed files with 24,214 additions and 101,461 deletions.
14 changes: 0 additions & 14 deletions .babelrc

This file was deleted.

2 changes: 0 additions & 2 deletions .env

This file was deleted.

1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.config.js
23 changes: 23 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
module.exports = {
root: true,
env: { browser: true, es2020: true },
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react-hooks/recommended",
],
ignorePatterns: ["dist", ".eslintrc.cjs"],
parser: "@typescript-eslint/parser",
plugins: ["react-refresh"],
rules: {
"react-refresh/only-export-components": [
"warn",
{ allowConstantExport: true },
],
// Disabling the rules related to enforcing types
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-implicit-any-catch": "off",
"@typescript-eslint/ban-ts-comment": "off",
},
};
33 changes: 0 additions & 33 deletions .eslintrc.json

This file was deleted.

65 changes: 62 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,67 @@
# This file is managed by the repo-content-updater project. Manual changes here will result in a PR to bring back
# inline with the upstream template, unless you remove the dependabot managed file property from the repo

version: 2
updates:
- package-ecosystem: "gomod"
directory: /
schedule:
interval: "weekly"
day: "tuesday"
open-pull-requests-limit: 10
labels:
- dependencies
- go
- "Changed"
reviewers: ["cmmarslender", "starttoaster"]
groups:
global:
patterns:
- "*"

- package-ecosystem: "pip"
directory: /
schedule:
interval: "weekly"
day: "tuesday"
open-pull-requests-limit: 10
labels:
- dependencies
- python
- "Changed"
reviewers: ["emlowe", "altendky"]

- package-ecosystem: "github-actions"
directory: /
schedule:
interval: "weekly"
day: "tuesday"
open-pull-requests-limit: 10
labels:
- dependencies
- github_actions
- "Changed"
reviewers: ["cmmarslender", "Starttoaster", "pmaslana"]

- package-ecosystem: "npm"
directory: "/"
directory: /
schedule:
interval: "weekly"
day: "tuesday"
open-pull-requests-limit: 10
labels:
- dependencies
- javascript
- "Changed"
reviewers: ["cmmarslender", "ChiaMineJP"]

- package-ecosystem: cargo
directory: /
schedule:
interval: "weekly"
day: "sunday"
target-branch: "develop"
day: "tuesday"
open-pull-requests-limit: 10
labels:
- dependencies
- rust
- "Changed"
30 changes: 16 additions & 14 deletions .github/workflows/build-installers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
tags:
- '**'
branches:
- refactor/refactor-base #remove this once rebuild is merged
pull_request:
branches:
- '**'
Expand All @@ -27,10 +29,10 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v3

- name: Setup Node 18.16
- name: Setup Node 20
uses: actions/setup-node@v3
with:
node-version: '18.16'
node-version: '20.10'

- name: Install Husky
run: npm install --save-dev husky
Expand All @@ -56,12 +58,12 @@ jobs:
- name: Notarize
run: |
DMG_FILE=$(find ${{ github.workspace }}/dist/ -type f -name '*.dmg')
npm install -g notarize-cli
notarize-cli \
--file="$DMG_FILE" \
--bundle-id net.chia.cadt-ui \
--username "${{ secrets.APPLE_NOTARIZE_USERNAME }}" \
--password "${{ secrets.APPLE_NOTARIZE_PASSWORD }}"
xcrun notarytool submit \
--wait \
--apple-id "${{ secrets.APPLE_NOTARIZE_USERNAME }}" \
--password "${{ secrets.APPLE_NOTARIZE_PASSWORD }}" \
--team-id "${{ secrets.APPLE_TEAM_ID }}" \
"$DMG_FILE"
- name: Upload Mac Installer
uses: actions/upload-artifact@v3
Expand All @@ -76,10 +78,10 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v3

- name: Setup Node 18.16
- name: Setup Node 20.10
uses: actions/setup-node@v3
with:
node-version: '18.16'
node-version: '20.10'

- name: Install Husky
run: npm install --save-dev husky
Expand Down Expand Up @@ -125,10 +127,10 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v3

- name: Setup Node 18.16
- name: Setup Node 20.10
uses: actions/setup-node@v3
with:
node-version: '18.16'
node-version: '20.10'

- name: Install Husky
run: npm install --save-dev husky
Expand Down Expand Up @@ -160,10 +162,10 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v3

- name: Setup Node 18.16
- name: Setup Node 20.10
uses: actions/setup-node@v3
with:
node-version: '18.16'
node-version: '20.10'

- name: Install Husky
run: npm install --save-dev husky
Expand Down
48 changes: 28 additions & 20 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,25 +1,33 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
tsconfig.tsbuildinfo

# dependencies
/node_modules
/.pnp
.pnp.js
node_modules
build
dist
dist-ssr
*.local

# testing
/coverage
# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

# production
/build
/dist

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local
.idea/*
# Contentlayer
.contentlayer

npm-debug.log*
yarn-debug.log*
yarn-error.log*
.package-lock.json
.history
4 changes: 0 additions & 4 deletions .husky/commit-msg

This file was deleted.

4 changes: 0 additions & 4 deletions .husky/pre-commit

This file was deleted.

7 changes: 0 additions & 7 deletions .lintstagedrc

This file was deleted.

1 change: 0 additions & 1 deletion .mocharc.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.16.0
20.16
5 changes: 2 additions & 3 deletions .prettierrc.js → .prettierrc.cjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
module.exports = {
bracketSpacing: true,
jsxBracketSameLine: true,
singleQuote: true,
trailingComma: 'all',
arrowParens: 'avoid',
endOfLine: 'auto',
};
printWidth: 120
}
4 changes: 4 additions & 0 deletions .repo-content-updater.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
pr_target_branch: develop
assign_users:
- TheLastCicada
commit_prefix: "chore: "
Loading

0 comments on commit 3d260e5

Please sign in to comment.