-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #126 from filecoin-project/develop
chore: ship develop to main
- Loading branch information
Showing
474 changed files
with
24,685 additions
and
9,606 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"build": { | ||
"image": "node:16.14", | ||
"command": "npm ci && npm run generate", | ||
"publicDir": "dist", | ||
"environment": { | ||
"SERVER_ENV": "production" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Enforce unix newlines | ||
* text eol=lf | ||
|
||
*.png binary | ||
*.jpg binary | ||
*.jpeg binary | ||
*.webp binary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
name: Report a bug | ||
about: File a bug report | ||
title: '' | ||
labels: bug | ||
assignees: '' | ||
|
||
--- | ||
|
||
<!-- | ||
Hello! To ensure this issue is correctly addressed as soon as possible by the Filecoin team, please try to make sure: | ||
- This issue is relevant to this repository's topic or codebase. | ||
- A clear description is provided. | ||
- Any steps to reproduce are included. | ||
- If relevant, your device, browser, and OS are included. | ||
(you can delete this section after reading) | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: Getting Help on IPFS | ||
url: https://ipfs.io/help | ||
about: All information about how and where to get help on IPFS. | ||
- name: IPFS Official Forum | ||
url: https://discuss.ipfs.io | ||
about: Please post general questions, support requests, and discussions here. | ||
- name: Ecosystem directory website | ||
url: https://filecoinecosystem.io | ||
about: Explore the ecosystem directory to see what projects are already listed | ||
- name: Get in touch with the community | ||
url: https://filecoin.io/slack | ||
about: Join Filecoin community Slack and search available channels |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
## Project content addition or change | ||
<!-- Remove contents if not relevant to project change --> | ||
|
||
#### Purpose | ||
|
||
The purpose of this pull request is to | ||
- [ ] Add a new project | ||
- [ ] Modify an existing project | ||
|
||
_please select one_ | ||
|
||
|
||
#### Description | ||
|
||
<!-- Please include a summary of your changes --> | ||
|
||
#### Checklist | ||
|
||
- [ ] I'm affiliated with the project that I'm modifying or adding | ||
|
||
- [ ] I've added content in accordance with the project schema | ||
|
||
- [ ] My project has a suitable icon | ||
|
||
- [ ] I've selected the most appropriate subcategory for my project to fit into | ||
|
||
- [ ] All checks on this pull request pass | ||
|
||
- [ ] I have not modified any other project files | ||
|
||
- [ ] I have performed a self-review of my own additions, and everything looks correct |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
name: Validation | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
- develop | ||
|
||
jobs: | ||
json_validation: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Check for new or modified JSON project files | ||
id: check_files | ||
run: | | ||
JSON_COUNT=$(git diff --name-only HEAD^..HEAD | grep -c "content/projects/.*\.json" || true) | ||
echo "::set-output name=count::$JSON_COUNT" | ||
- name: Configure Node 16 | ||
if: steps.check_files.outputs.count != '0' | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 16 | ||
|
||
- name: Cache npm dependencies | ||
if: steps.check_files.outputs.count != '0' | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.npm | ||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-node- | ||
- name: Install npm dependencies | ||
if: steps.check_files.outputs.count != '0' | ||
run: npm ci | ||
|
||
- name: Set script permissions | ||
if: steps.check_files.outputs.count != '0' | ||
run: chmod +x ./scripts/basic-validation.sh | ||
|
||
- name: Validate JSON files | ||
if: steps.check_files.outputs.count != '0' | ||
run: ./scripts/basic-validation.sh | ||
|
||
schema_validation: | ||
needs: json_validation | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Check if JSON files are modified | ||
id: check_files | ||
run: | | ||
JSON_COUNT=$(git diff --name-only HEAD^..HEAD | grep -c "content/projects/.*\.json" || true) | ||
echo "::set-output name=count::$JSON_COUNT" | ||
- name: Configure Node 16 | ||
if: steps.check_files.outputs.count != '0' | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 16 | ||
|
||
- name: Install NPM dependencies | ||
if: steps.check_files.outputs.count != '0' | ||
run: npm ci | ||
|
||
- name: Set script permissions | ||
if: steps.check_files.outputs.count != '0' | ||
run: chmod +x ./scripts/schema-validation.sh | ||
|
||
- name: Validate JSON schema | ||
if: steps.check_files.outputs.count != '0' | ||
run: ./scripts/schema-validation.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# ignore v1 _project.vue page | ||
# pages/_project.vue |
Oops, something went wrong.