Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ipfs/js-ipfs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: bdea5bc95073f568a3b0ff75ec5c26a64dd2bee0
Choose a base ref
...
head repository: ipfs/js-ipfs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: f9099fd0b24c0f474f5a9a3309c16adad5574b83
Choose a head ref
Loading
Showing 681 changed files with 13,843 additions and 8,064 deletions.
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
time: "11:00"
open-pull-requests-limit: 10
5 changes: 3 additions & 2 deletions .github/workflows/bundlesize.yml
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest # https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu1804-README.md
strategy:
matrix:
node-version: [15.x]
node-version: [16.x]
project:
- packages/ipfs
- packages/ipfs-core
@@ -25,9 +25,10 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- uses: actions/checkout@v2
- run: npm install -g @mapbox/node-pre-gyp && npm install
- run: npm install
- name: Bundlesize ${{ matrix.project }}
uses: ipfs/aegir/actions/bundle-size@v32.1.0
continue-on-error: true
with:
project: ${{ matrix.project }}
github_token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/typecheck.yml
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
node-version: [16.x]
project:
- packages/ipfs
- packages/ipfs-cli
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -21,6 +21,7 @@ dist
build
bundle.js
tsconfig-types.aegir.json
tsconfig-check.aegir.json
.tsbuildinfo

# Deployment files
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -66,8 +66,6 @@ before_install:
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then export PATH=/c/PROGRA~1/Git/usr/bin:/c/PROGRA~1/Git/mingw64/libexec/git-core:$PATH ; fi
# only run jobs in packages that have changed since master in PR builds
- if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then export RUN_SINCE='--since master' ; fi
# modules with pre-built binaries may not have deployed versions for bleeding-edge node so this lets us fall back to building from source
- npm install -g @mapbox/node-pre-gyp

script:
- npm run test:node -- $RUN_SINCE -- -- --timeout 10000 --bail -- --exit # TODO remove --exit https://mochajs.org/#-exit
@@ -86,6 +84,7 @@ jobs:
- stage: test
name: lint
script:
- npm run build
- npm run lint -- $RUN_SINCE --concurrency 1

- stage: test
@@ -293,7 +292,7 @@ jobs:
script:
# Travis lets scripts continue even if previous steps fail so need to use &&: https://github.com/travis-ci/travis-ci/issues/1066
- npm run configure-examples &&
npm run test -- --scope=example* --concurrency=1
npm run test -- $RUN_SINCE --scope=example* --concurrency=1

- stage: release-rc
# only run on changes to master
2 changes: 0 additions & 2 deletions Dockerfile.latest
Original file line number Diff line number Diff line change
@@ -8,11 +8,9 @@ ENV BUILD_DEPS='libnspr4 libnspr4-dev libnss3'
RUN apk add --no-cache git python3 build-base

# Hopefully remove when https://github.com/node-webrtc/node-webrtc/pull/694 is merged
RUN npm install -g @mapbox/node-pre-gyp
RUN npm install -g ipfs@"$IPFS_VERSION"

# Make the image a bit smaller
RUN npm uninstall -g @mapbox/node-pre-gyp
RUN npm cache clear --force
RUN apk del build-base python3 git

2 changes: 0 additions & 2 deletions Dockerfile.next
Original file line number Diff line number Diff line change
@@ -8,11 +8,9 @@ ENV BUILD_DEPS='libnspr4 libnspr4-dev libnss3'
RUN apk add --no-cache git python3 build-base

# Hopefully remove when https://github.com/node-webrtc/node-webrtc/pull/694 is merged
RUN npm install -g @mapbox/node-pre-gyp
RUN npm install -g ipfs@"$IPFS_VERSION"

# Make the image a bit smaller
RUN npm uninstall -g @mapbox/node-pre-gyp
RUN npm cache clear --force
RUN apk del build-base python3 git

Loading