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

Commit d623d44

Browse files
committed
chore: update example dependencies
1 parent 4451f53 commit d623d44

File tree

17 files changed

+40
-33
lines changed

17 files changed

+40
-33
lines changed

.npmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

examples/browser-angular/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"@angular/platform-browser-dynamic": "~12.1.2",
2222
"@angular/router": "~12.1.2",
2323
"global": "^4.4.0",
24-
"ipfs": "^0.55.4",
24+
"ipfs": "^0.57.0",
2525
"rxjs": "~6.6.0",
2626
"tslib": "^2.2.0",
2727
"zone.js": "~0.11.4"

examples/browser-browserify/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"concat-stream": "^2.0.0",
2222
"copyfiles": "^2.4.1",
2323
"execa": "^5.0.0",
24-
"http-server": "^0.12.3",
24+
"http-server": "^13.0.0",
2525
"playwright": "^1.12.3",
2626
"rimraf": "^3.0.2",
2727
"test-util-ipfs-example": "^1.0.2"

examples/browser-nextjs/package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,15 @@
1313
},
1414
"dependencies": {
1515
"ipfs": "^0.57.0",
16-
"next": "11.0.1",
16+
"next": "11.1.0",
1717
"react": "17.0.2",
1818
"react-dom": "17.0.2"
1919
},
2020
"devDependencies": {
21-
"eslint": "7.30.0",
22-
"eslint-config-next": "11.0.1",
21+
"@playwright/test": "^1.12.3",
22+
"eslint": "7.32.0",
23+
"eslint-config-next": "11.1.0",
24+
"playwright": "^1.12.3",
2325
"rimraf": "^3.0.2",
2426
"test-util-ipfs-example": "^1.0.0"
2527
}

examples/browser-service-worker/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"@babel/core": "^7.13.10",
2424
"@babel/preset-env": "^7.13.12",
2525
"babel-loader": "^8.2.2",
26-
"copy-webpack-plugin": "^8.1.0",
26+
"copy-webpack-plugin": "^9.0.1",
2727
"test-ipfs-example": "^3.0.0",
2828
"webpack": "^5.28.0",
2929
"webpack-cli": "^4.5.0",

examples/browser-vue/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
{
2-
"name": "example-browser-vue-up",
2+
"name": "example-browser-vue-3",
33
"version": "1.0.0",
44
"private": true,
5-
"description": "A minimal demonstration of how to use js-ipfs using vue cli",
5+
"description": "A minimal demonstration of how to use js-ipfs using vue 3",
6+
"workspaces": {
7+
"nohoist": [
8+
"**"
9+
]
10+
},
611
"scripts": {
712
"clean": "rimraf ./dist",
813
"serve": "vue-cli-service serve",
@@ -47,10 +52,5 @@
4752
"playwright": "^1.12.3",
4853
"rimraf": "^3.0.2",
4954
"test-util-ipfs-example": "^1.0.2"
50-
},
51-
"workspaces": {
52-
"nohoist": [
53-
"@vue/**"
54-
]
5555
}
5656
}

examples/browser-webpack/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,14 @@
2424
"@babel/core": "^7.13.10",
2525
"@babel/preset-env": "^7.13.12",
2626
"@babel/preset-react": "^7.12.13",
27+
"@playwright/test": "^1.12.3",
2728
"babel-loader": "^8.2.2",
2829
"copy-webpack-plugin": "^9.0.1",
2930
"css-loader": "^6.2.0",
3031
"html-webpack-plugin": "^5.3.2",
3132
"node-polyfill-webpack-plugin": "^1.0.4",
33+
"parcel": "latest",
34+
"playwright": "^1.12.3",
3235
"react-hot-loader": "^4.12.21",
3336
"rimraf": "^3.0.2",
3437
"style-loader": "^3.1.0",

examples/circuit-relaying/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"devDependencies": {
2626
"@babel/core": "^7.14.8",
2727
"@playwright/test": "^1.12.3",
28-
"fs-extra": "^0.30.0",
28+
"fs-extra": "^10.0.0",
2929
"ipfs-http-client": "^52.0.0",
3030
"parcel": "latest",
3131
"playwright": "^1.12.3",

examples/custom-ipld-formats/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
},
1212
"dependencies": {
1313
"dag-jose": "^1.0.0",
14-
"ipfs-core": "^0.9.1",
15-
"ipfs-daemon": "^0.8.1",
14+
"ipfs-core": "^0.10.0",
15+
"ipfs-daemon": "^0.9.0",
1616
"ipfs-http-client": "^52.0.0",
1717
"multiformats": "^9.4.1",
1818
"uint8arrays": "^2.1.6"

examples/custom-libp2p/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414
"dependencies": {
1515
"ipfs": "^0.57.0",
1616
"libp2p": "^0.32.0",
17-
"libp2p-bootstrap": "^0.12.3",
17+
"libp2p-bootstrap": "^0.13.0",
1818
"libp2p-kad-dht": "^0.23.1",
19-
"libp2p-mdns": "^0.16.0",
19+
"libp2p-mdns": "^0.17.0",
2020
"libp2p-mplex": "^0.10.2",
21-
"libp2p-noise": "^3.0.0",
22-
"libp2p-tcp": "^0.15.4"
21+
"libp2p-noise": "^4.0.0",
22+
"libp2p-tcp": "^0.17.1"
2323
},
2424
"devDependencies": {
2525
"test-util-ipfs-example": "^1.0.2"

examples/http-client-bundle-webpack/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,14 @@
2525
"@babel/core": "^7.13.14",
2626
"@babel/preset-env": "^7.13.12",
2727
"@babel/preset-react": "^7.13.13",
28+
"@playwright/test": "^1.12.3",
2829
"babel-loader": "^8.2.2",
29-
"copy-webpack-plugin": "^8.1.0",
30+
"copy-webpack-plugin": "^9.0.1",
3031
"css-loader": "^6.2.0",
3132
"html-webpack-plugin": "^5.3.1",
3233
"ipfs": "^0.57.0",
3334
"node-polyfill-webpack-plugin": "^1.0.3",
35+
"playwright": "^1.12.3",
3436
"react-hot-loader": "^4.12.21",
3537
"rimraf": "^3.0.2",
3638
"style-loader": "^3.1.0",

examples/ipfs-client-add-files/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"browserslist": "last 1 Chrome version",
1414
"dependencies": {
15-
"ipfs-client": "^0.5.0"
15+
"ipfs-client": "^0.6.0"
1616
},
1717
"devDependencies": {
1818
"@babel/core": "^7.14.8",

examples/run-in-electron/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
"test:example": "node tests/test.js"
1919
},
2020
"devDependencies": {
21-
"electron": "^12.0.2",
22-
"electron-rebuild": "^2.3.4",
21+
"electron": "^13.1.9",
22+
"electron-rebuild": "^3.1.1",
2323
"ipfs": "^0.57.0",
2424
"test-util-ipfs-example": "^1.0.2"
2525
},

examples/types-use-ipfs-from-ts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
"multiformats": "^9.4.1"
1414
},
1515
"devDependencies": {
16-
"typescript": "4.2.x"
16+
"typescript": "4.3.5"
1717
}
1818
}

examples/types-use-ipfs-from-typed-js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
},
1414
"devDependencies": {
1515
"multiformats": "^9.4.1",
16-
"typescript": "4.2.x"
16+
"typescript": "4.3.5"
1717
}
1818
}

package.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,22 @@
1717
},
1818
"license": "MIT",
1919
"workspaces": [
20-
"./examples/*"
20+
"examples/*"
2121
],
22-
"engines": {
23-
"npm": "please-use-yarn",
24-
"yarn": ">= 1.22.11"
25-
},
2622
"scripts": {
27-
"clean": "yarn workspaces run clean && yarn run clean:yarn && yarn run clean:build && yarn run clean:npm",
23+
"clean": "yarn run clean:examples && yarn run clean:yarn && yarn run clean:build && yarn run clean:npm",
2824
"clean:npm": "rimraf ./**/package-lock.json ./**/node_modules",
2925
"clean:yarn": "rimraf ./**/yarn.lock",
3026
"clean:build": "rimraf ./**/.parcel-cache",
27+
"clean:examples": "yarn workspaces run clean",
3128
"test:examples": "yarn workspaces run test:example",
3229
"test": "yarn run test:examples"
3330
},
3431
"devDependencies": {
3532
"rimraf": "^3.0.2"
33+
},
34+
"engines": {
35+
"npm": "please-use-yarn",
36+
"yarn": ">= 1.22.11"
3637
}
3738
}

yarn.lock

Whitespace-only changes.

0 commit comments

Comments
 (0)