diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 000000000..082026cd9 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,13 @@ +# Это поддерживаемые платформы модели финансирования + +github: # Замените до 4 имен пользователей с поддержкой GitHub Sponsors, например, [user1, user2] +patreon: # Заменить одним именем пользователя Patreon +open_collective: # Заменить одним именем пользователя Open Collective +ko_fi: # Заменить одним именем пользователя Ko-fi +tidelift: # Замените одним именем платформы Tidelift / именем пакета, например, npm / babel +community_bridge: # Замените одним именем проекта Community Bridge, например, cloud-foundry +liberapay: # Заменить на одно имя пользователя Liberapay +issuehunt: # Заменить одним именем пользователя IssueHunt +otechie: # Заменить одним именем пользователя Otechie +lfx_crowdfunding: # Замените одним названием краудфандингового проекта LFX, например, cloud-foundry +custom: # Замените до 4 пользовательских спонсорских URL-адресов, например, ['link1', 'link2'] diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 000000000..dd84ea782 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,38 @@ +--- +name: Bug report +about: Create a report to help us improve +title: '' +labels: '' +assignees: '' + +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**To Reproduce** +Steps to reproduce the behavior: +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Screenshots** +If applicable, add screenshots to help explain your problem. + +**Desktop (please complete the following information):** + - OS: [e.g. iOS] + - Browser [e.g. chrome, safari] + - Version [e.g. 22] + +**Smartphone (please complete the following information):** + - Device: [e.g. iPhone6] + - OS: [e.g. iOS8.1] + - Browser [e.g. stock browser, safari] + - Version [e.g. 22] + +**Additional context** +Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/custom.md b/.github/ISSUE_TEMPLATE/custom.md new file mode 100644 index 000000000..48d5f81fa --- /dev/null +++ b/.github/ISSUE_TEMPLATE/custom.md @@ -0,0 +1,10 @@ +--- +name: Custom issue template +about: Describe this issue template's purpose here. +title: '' +labels: '' +assignees: '' + +--- + + diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 000000000..bbcbbe7d6 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,20 @@ +--- +name: Feature request +about: Suggest an idea for this project +title: '' +labels: '' +assignees: '' + +--- + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. + +**Describe alternatives you've considered** +A clear and concise description of any alternative solutions or features you've considered. + +**Additional context** +Add any other context or screenshots about the feature request here. diff --git a/.github/workflows/webpack.yml b/.github/workflows/webpack.yml new file mode 100644 index 000000000..f28ef480c --- /dev/null +++ b/.github/workflows/webpack.yml @@ -0,0 +1,28 @@ +name: NodeJS with Webpack + +on: + push: + branches: [ "development" ] + pull_request: + branches: [ "development" ] + +jobs: + build: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [14.x, 16.x, 18.x] + + steps: + - uses: actions/checkout@v3 + + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + + - name: Build + run: | + npm install + npx webpack diff --git a/README.md b/README.md index 278cdbd8f..db413cb94 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ -# Pi Explorer + +## Pi Explorer A block explorer for the [Pi Blockchain](https://minepi.com) based on Chris Hatch' repository. diff --git a/jest.config.js b/jest.config.js index 3200e205a..8d809d835 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,5 +1,4 @@ -module.exports = { - collectCoverageFrom: ['src/**/*.{js,jsx}'], +module.exports = { collectCoverageFrom: ['src/**/*.{js,jsx}'], setupFiles: [ '/config/polyfills.js', '/config/animationShim.js', diff --git a/public/Thumbs.db b/public/Thumbs.db new file mode 100644 index 000000000..f53f7fa24 Binary files /dev/null and b/public/Thumbs.db differ diff --git a/screenshots/Thumbs.db b/screenshots/Thumbs.db new file mode 100644 index 000000000..cbbb92bc4 Binary files /dev/null and b/screenshots/Thumbs.db differ