Skip to content

Commit d15e232

Browse files
Merge pull request #1 from ipfs/master
[pull] master from ipfs:master
2 parents c91ef59 + 7a7e091 commit d15e232

File tree

1,471 files changed

+61969
-33640
lines changed

Some content is hidden

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

1,471 files changed

+61969
-33640
lines changed

.github/dependabot.yml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: npm
4+
directory: "/"
5+
schedule:
6+
interval: daily
7+
time: "11:00"
8+
open-pull-requests-limit: 10

.github/workflows/bundlesize.yml

-34
This file was deleted.

.github/workflows/examples.yml

+130
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
name: Examples
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
branches:
8+
- '**'
9+
10+
jobs:
11+
12+
build:
13+
name: Build
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v2
17+
- uses: actions/setup-node@v2
18+
with:
19+
node-version: lts/*
20+
- uses: ipfs/aegir/actions/cache-node-modules@master
21+
22+
# test-examples:
23+
# name: Test example ${{ matrix.example.name }}
24+
# needs: build
25+
# runs-on: ubuntu-latest
26+
# continue-on-error: true
27+
# strategy:
28+
# matrix:
29+
# example:
30+
# - name: ipfs browser add readable stream
31+
# repo: https://github.com/ipfs-examples/js-ipfs-browser-add-readable-stream.git
32+
# deps: ipfs-core@$PWD/packages/ipfs-core
33+
# - name: ipfs browser angular
34+
# repo: https://github.com/ipfs-examples/js-ipfs-browser-angular.git
35+
# deps: ipfs-core@$PWD/packages/ipfs-core,ipfs-core-types@$PWD/packages/ipfs-core-types
36+
# - name: ipfs browser browserify
37+
# repo: https://github.com/ipfs-examples/js-ipfs-browser-browserify.git
38+
# deps: ipfs-core@$PWD/packages/ipfs-core
39+
# - name: ipfs browser react
40+
# repo: https://github.com/ipfs-examples/js-ipfs-browser-create-react-app.git
41+
# deps: ipfs-core@$PWD/packages/ipfs-core
42+
# - name: ipfs browser exchange files
43+
# repo: https://github.com/ipfs-examples/js-ipfs-browser-exchange-files.git
44+
# deps: ipfs-core@$PWD/packages/ipfs-core,ipfs@$PWD/packages/ipfs,ipfs-core-types@$PWD/packages/ipfs-core-types,ipfs-http-client@$PWD/packages/ipfs-http-client
45+
# - name: ipfs browser ipns publish
46+
# repo: https://github.com/ipfs-examples/js-ipfs-browser-ipns-publish.git
47+
# deps: ipfs-core@$PWD/packages/ipfs-core,ipfs-http-client@$PWD/packages/ipfs-http-client
48+
# - name: ipfs browser mfs
49+
# repo: https://github.com/ipfs-examples/js-ipfs-browser-mfs.git
50+
# deps: ipfs-core@$PWD/packages/ipfs-core
51+
# # fails with No native build was found for platform=darwin arch=x64 runtime=node abi=93 uv=1 libc=glibc node=16.13.0 webpack=true
52+
# #- name: ipfs browser nextjs
53+
# # repo: https://github.com/ipfs-examples/js-ipfs-browser-nextjs.git
54+
# # deps: ipfs-core@$PWD/packages/ipfs-core
55+
# - name: ipfs browser parceljs
56+
# repo: https://github.com/ipfs-examples/js-ipfs-browser-parceljs.git
57+
# deps: ipfs-core@$PWD/packages/ipfs-core
58+
# - name: ipfs browser readable stream
59+
# repo: https://github.com/ipfs-examples/js-ipfs-browser-readablestream.git
60+
# deps: ipfs-core@$PWD/packages/ipfs-core
61+
# - name: ipfs browser service worker
62+
# repo: https://github.com/ipfs-examples/js-ipfs-browser-service-worker.git
63+
# deps: ipfs-core@$PWD/packages/ipfs-core,ipfs-message-port-client@$PWD/packages/ipfs-message-port-client,ipfs-message-port-protocol@$PWD/packages/ipfs-message-port-protocol,ipfs-message-port-server@$PWD/packages/ipfs-message-port-server
64+
# - name: ipfs browser sharing across tabs
65+
# repo: https://github.com/ipfs-examples/js-ipfs-browser-sharing-node-across-tabs.git
66+
# deps: ipfs-core@$PWD/packages/ipfs-core,ipfs-message-port-client@$PWD/packages/ipfs-message-port-client,ipfs-message-port-server@$PWD/packages/ipfs-message-port-server
67+
# - name: ipfs browser video streaming
68+
# repo: https://github.com/ipfs-examples/js-ipfs-browser-video-streaming.git
69+
# deps: ipfs-core@$PWD/packages/ipfs-core
70+
# - name: ipfs browser vue
71+
# repo: https://github.com/ipfs-examples/js-ipfs-browser-vue.git
72+
# deps: ipfs-core@$PWD/packages/ipfs-core
73+
# - name: ipfs browser webpack
74+
# repo: https://github.com/ipfs-examples/js-ipfs-browser-webpack.git
75+
# deps: ipfs-core@$PWD/packages/ipfs-core
76+
# - name: ipfs circuit relaying
77+
# repo: https://github.com/ipfs-examples/js-ipfs-circuit-relaying.git
78+
# deps: ipfs-core@$PWD/packages/ipfs-core,ipfs-http-client@$PWD/packages/ipfs-http-client
79+
# - name: ipfs custom ipfs repo
80+
# repo: https://github.com/ipfs-examples/js-ipfs-custom-ipfs-repo.git
81+
# deps: ipfs-core@$PWD/packages/ipfs-core
82+
# - name: ipfs custom ipld formats
83+
# repo: https://github.com/ipfs-examples/js-ipfs-custom-ipld-formats.git
84+
# deps: ipfs-core@$PWD/packages/ipfs-core,ipfs-daemon@$PWD/packages/ipfs-daemon,ipfs-http-client@$PWD/packages/ipfs-http-client
85+
# - name: ipfs custom libp2p
86+
# repo: https://github.com/ipfs-examples/js-ipfs-custom-libp2p.git
87+
# deps: ipfs-core@$PWD/packages/ipfs-core
88+
# - name: ipfs-http-client browser pubsub
89+
# repo: https://github.com/ipfs-examples/js-ipfs-http-client-browser-pubsub.git
90+
# deps: ipfs-http-client@$PWD/packages/ipfs-http-client,ipfs@$PWD/packages/ipfs
91+
# - name: ipfs-http-client bundle webpack
92+
# repo: https://github.com/ipfs-examples/js-ipfs-http-client-bundle-webpack.git
93+
# deps: ipfs-http-client@$PWD/packages/ipfs-http-client,ipfs@$PWD/packages/ipfs
94+
# - name: ipfs-http-client name api
95+
# repo: https://github.com/ipfs-examples/js-ipfs-http-client-name-api.git
96+
# deps: ipfs-http-client@$PWD/packages/ipfs-http-client
97+
# - name: ipfs-http-client upload file
98+
# repo: https://github.com/ipfs-examples/js-ipfs-http-client-upload-file.git
99+
# deps: ipfs@$PWD/packages/ipfs,ipfs-http-client@$PWD/packages/ipfs-http-client
100+
# - name: ipfs 101
101+
# repo: https://github.com/ipfs-examples/js-ipfs-101.git
102+
# deps: ipfs-core@$PWD/packages/ipfs-core
103+
# - name: ipfs-client add files
104+
# repo: https://github.com/ipfs-examples/js-ipfs-ipfs-client-add-files.git
105+
# deps: ipfs@$PWD/packages/ipfs,ipfs-client@$PWD/packages/ipfs-client
106+
# - name: ipfs electron js
107+
# repo: https://github.com/ipfs-examples/js-ipfs-run-in-electron.git
108+
# deps: ipfs-core@$PWD/packages/ipfs-core
109+
# - name: ipfs running multiple nodes
110+
# repo: https://github.com/ipfs-examples/js-ipfs-running-multiple-nodes.git
111+
# deps: ipfs@$PWD/packages/ipfs
112+
# - name: ipfs traverse ipld graphs
113+
# repo: https://github.com/ipfs-examples/js-ipfs-traverse-ipld-graphs.git
114+
# deps: ipfs-core@$PWD/packages/ipfs-core
115+
# - name: types with typescript
116+
# repo: https://github.com/ipfs-examples/js-ipfs-types-use-ipfs-from-ts.git
117+
# deps: ipfs-core@$PWD/packages/ipfs-core
118+
# - name: types with typed js
119+
# repo: https://github.com/ipfs-examples/js-ipfs-types-use-ipfs-from-typed-js.git
120+
# deps: ipfs-core@$PWD/packages/ipfs-core
121+
# steps:
122+
# - uses: actions/checkout@v2
123+
# - uses: actions/setup-node@v2
124+
# with:
125+
# node-version: lts/*
126+
# - uses: ipfs/aegir/actions/cache-node-modules@master
127+
# - uses: GabrielBB/xvfb-action@v1
128+
# name: Run npm run test:external -- -- -- ${{ matrix.example.repo }} --deps ${{ matrix.example.deps }}
129+
# with:
130+
# run: npm run test:external -- -- -- ${{ matrix.example.repo }} --deps ${{ matrix.example.deps }}

.github/workflows/externals.yml

+51
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: Externals
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
branches:
8+
- '**'
9+
10+
jobs:
11+
12+
build:
13+
name: Build
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v2
17+
- uses: actions/setup-node@v2
18+
with:
19+
node-version: lts/*
20+
- uses: ipfs/aegir/actions/cache-node-modules@master
21+
22+
test-externals:
23+
name: Test external ${{ matrix.external.name }}
24+
needs: build
25+
runs-on: ubuntu-latest
26+
strategy:
27+
matrix:
28+
external:
29+
- name: ipfs webui
30+
repo: https://github.com/ipfs-shipyard/ipfs-webui.git
31+
deps: ipfs@$PWD/packages/ipfs
32+
- name: ipfs companion
33+
repo: https://github.com/ipfs-shipyard/ipfs-companion.git
34+
deps: ipfs@$PWD/packages/ipfs
35+
- name: orbit-db-io
36+
repo: https://github.com/orbitdb/orbit-db-io.git
37+
deps: ipfs@$PWD/packages/ipfs
38+
- name: ipfs-log
39+
repo: https://github.com/orbitdb/ipfs-log.git
40+
deps: ipfs@$PWD/packages/ipfs,orbit-db-io@next
41+
steps:
42+
- uses: actions/checkout@v2
43+
- uses: actions/setup-node@v2
44+
with:
45+
node-version: lts/*
46+
- uses: ipfs/aegir/actions/cache-node-modules@master
47+
- uses: GabrielBB/xvfb-action@v1
48+
name: Run npm run test:external -- -- -- ${{ matrix.external.repo }} --deps ${{ matrix.external.deps }} --branch ${{ matrix.external.branch }}
49+
continue-on-error: true
50+
with:
51+
run: npm run test:external -- -- -- ${{ matrix.external.repo }} --deps ${{ matrix.external.deps }} --branch ${{ matrix.external.branch }}

.github/workflows/stale.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Close and mark stale issue
2+
3+
on:
4+
schedule:
5+
- cron: '0 0 * * *'
6+
7+
jobs:
8+
stale:
9+
10+
runs-on: ubuntu-latest
11+
permissions:
12+
issues: write
13+
pull-requests: write
14+
15+
steps:
16+
- uses: actions/stale@v3
17+
with:
18+
repo-token: ${{ secrets.GITHUB_TOKEN }}
19+
stale-issue-message: 'Oops, seems like we needed more information for this issue, please comment with more details or this issue will be closed in 7 days.'
20+
close-issue-message: 'This issue was closed because it is missing author input.'
21+
stale-issue-label: 'kind/stale'
22+
any-of-labels: 'need/author-input'
23+
exempt-issue-labels: 'need/triage,need/community-input,need/maintainer-input,need/maintainers-input,need/analysis,status/blocked,status/in-progress,status/ready,status/deferred,status/inactive'
24+
days-before-issue-stale: 6
25+
days-before-issue-close: 7
26+
enable-statistics: true

0 commit comments

Comments
 (0)