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

Commit c7b8130

Browse files
authored
fix: add process and util dev deps to parcel projects (#255)
In CI parcel runs with `--no-autoinstall` so we need to explicitly depend on node polyfills.
1 parent 7d9ec16 commit c7b8130

File tree

15 files changed

+60
-30
lines changed

15 files changed

+60
-30
lines changed

examples/browser-add-readable-stream/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,11 @@
1919
"devDependencies": {
2020
"@babel/core": "^7.14.8",
2121
"@playwright/test": "^1.12.3",
22-
"parcel": "latest",
22+
"parcel": "^2.3.2",
2323
"playwright": "^1.12.3",
24+
"process": "^0.11.10",
2425
"rimraf": "^3.0.2",
25-
"test-util-ipfs-example": "^1.0.2"
26+
"test-util-ipfs-example": "^1.0.2",
27+
"util": "^0.12.4"
2628
}
2729
}

examples/browser-exchange-files/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,11 @@
2424
"ipfs-core-types": "^0.10.0",
2525
"ipfs-http-client": "^56.0.0",
2626
"libp2p-webrtc-star-signalling-server": "^0.1.0",
27-
"parcel": "latest",
27+
"parcel": "^2.3.2",
2828
"playwright": "^1.12.3",
29+
"process": "^0.11.10",
2930
"rimraf": "^3.0.2",
30-
"test-util-ipfs-example": "^1.0.2"
31+
"test-util-ipfs-example": "^1.0.2",
32+
"util": "^0.12.4"
3133
}
3234
}

examples/browser-ipns-publish/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,11 @@
3939
"execa": "^6.0.0",
4040
"go-ipfs": "^0.11.0",
4141
"ipfsd-ctl": "^10.0.3",
42-
"parcel": "latest",
42+
"parcel": "^2.3.2",
4343
"playwright": "^1.12.3",
44+
"process": "^0.11.10",
4445
"rimraf": "^3.0.2",
45-
"test-util-ipfs-example": "^1.0.2"
46+
"test-util-ipfs-example": "^1.0.2",
47+
"util": "^0.12.4"
4648
}
4749
}

examples/browser-lit/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,11 @@
2222
"devDependencies": {
2323
"@babel/core": "^7.14.8",
2424
"@playwright/test": "^1.12.3",
25-
"parcel": "latest",
25+
"parcel": "^2.3.2",
2626
"playwright": "^1.12.3",
27+
"process": "^0.11.10",
2728
"rimraf": "^3.0.2",
28-
"test-util-ipfs-example": "^1.0.2"
29+
"test-util-ipfs-example": "^1.0.2",
30+
"util": "^0.12.4"
2931
}
3032
}

examples/browser-mfs/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@
2020
"devDependencies": {
2121
"@babel/core": "^7.14.8",
2222
"@playwright/test": "^1.12.3",
23-
"parcel": "latest",
23+
"parcel": "^2.3.2",
2424
"playwright": "^1.12.3",
25+
"process": "^0.11.10",
2526
"rimraf": "^3.0.2",
26-
"test-util-ipfs-example": "^1.0.2"
27+
"test-util-ipfs-example": "^1.0.2",
28+
"util": "^0.12.4"
2729
}
2830
}

examples/browser-parceljs/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@
2020
"devDependencies": {
2121
"@babel/core": "^7.14.8",
2222
"@playwright/test": "^1.12.3",
23-
"parcel": "latest",
23+
"parcel": "^2.3.2",
2424
"playwright": "^1.12.3",
25+
"process": "^0.11.10",
2526
"rimraf": "^3.0.2",
26-
"test-util-ipfs-example": "^1.0.2"
27+
"test-util-ipfs-example": "^1.0.2",
28+
"util": "^0.12.4"
2729
}
2830
}

examples/browser-readablestream/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@
2121
"devDependencies": {
2222
"@babel/core": "^7.14.8",
2323
"@playwright/test": "^1.12.3",
24-
"parcel": "latest",
24+
"parcel": "^2.3.2",
2525
"playwright": "^1.12.3",
26+
"process": "^0.11.10",
2627
"rimraf": "^3.0.2",
27-
"test-util-ipfs-example": "^1.0.2"
28+
"test-util-ipfs-example": "^1.0.2",
29+
"util": "^0.12.4"
2830
}
2931
}

examples/browser-script-tag/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@
1616
"devDependencies": {
1717
"@babel/core": "^7.14.8",
1818
"@playwright/test": "^1.12.3",
19-
"parcel": "latest",
19+
"parcel": "^2.3.2",
2020
"playwright": "^1.12.3",
21+
"process": "^0.11.10",
2122
"rimraf": "^3.0.2",
22-
"test-util-ipfs-example": "^1.0.2"
23+
"test-util-ipfs-example": "^1.0.2",
24+
"util": "^0.12.4"
2325
}
2426
}

examples/browser-sharing-node-across-tabs/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@
2121
"devDependencies": {
2222
"@babel/core": "^7.14.8",
2323
"@playwright/test": "^1.12.3",
24-
"parcel": "latest",
24+
"parcel": "^2.3.2",
2525
"playwright": "^1.12.3",
26+
"process": "^0.11.10",
2627
"rimraf": "^3.0.2",
27-
"test-util-ipfs-example": "^1.0.2"
28+
"test-util-ipfs-example": "^1.0.2",
29+
"util": "^0.12.4"
2830
}
2931
}

examples/browser-video-streaming/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@
2121
"devDependencies": {
2222
"@babel/core": "^7.14.8",
2323
"@playwright/test": "^1.12.3",
24-
"parcel": "latest",
24+
"parcel": "^2.3.2",
2525
"playwright": "^1.12.3",
26+
"process": "^0.11.10",
2627
"rimraf": "^3.0.2",
27-
"test-util-ipfs-example": "^1.0.2"
28+
"test-util-ipfs-example": "^1.0.2",
29+
"util": "^0.12.4"
2830
}
2931
}

examples/circuit-relaying/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,11 @@
2727
"@playwright/test": "^1.12.3",
2828
"fs-extra": "^10.0.0",
2929
"ipfs-http-client": "^56.0.0",
30-
"parcel": "latest",
30+
"parcel": "^2.3.2",
3131
"playwright": "^1.12.3",
32+
"process": "^0.11.10",
3233
"rimraf": "^3.0.2",
33-
"test-util-ipfs-example": "^1.0.2"
34+
"test-util-ipfs-example": "^1.0.2",
35+
"util": "^0.12.4"
3436
}
3537
}

examples/http-client-browser-pubsub/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@
2121
"@playwright/test": "^1.12.3",
2222
"go-ipfs": "^0.11.0",
2323
"ipfs": "^0.62.0",
24-
"parcel": "latest",
24+
"parcel": "^2.3.2",
2525
"playwright": "^1.12.3",
26+
"process": "^0.11.10",
2627
"rimraf": "^3.0.2",
27-
"test-util-ipfs-example": "^1.0.2"
28+
"test-util-ipfs-example": "^1.0.2",
29+
"util": "^0.12.4"
2830
}
2931
}

examples/http-client-name-api/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@
2020
"@babel/core": "^7.14.8",
2121
"@playwright/test": "^1.12.3",
2222
"go-ipfs": "^0.11.0",
23-
"parcel": "latest",
23+
"parcel": "^2.3.2",
2424
"playwright": "^1.12.3",
25+
"process": "^0.11.10",
2526
"rimraf": "^3.0.2",
26-
"test-util-ipfs-example": "^1.0.2"
27+
"test-util-ipfs-example": "^1.0.2",
28+
"util": "^0.12.4"
2729
}
2830
}

examples/http-client-upload-file/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,11 @@
2525
"@babel/core": "^7.14.8",
2626
"@playwright/test": "^1.12.3",
2727
"ipfs": "^0.62.0",
28-
"parcel": "latest",
28+
"parcel": "^2.3.2",
2929
"playwright": "^1.12.3",
30+
"process": "^0.11.10",
3031
"rimraf": "^3.0.2",
31-
"test-util-ipfs-example": "^1.0.2"
32+
"test-util-ipfs-example": "^1.0.2",
33+
"util": "^0.12.4"
3234
}
3335
}

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,11 @@
1818
"@babel/core": "^7.14.8",
1919
"@playwright/test": "^1.12.3",
2020
"ipfs": "^0.62.0",
21-
"parcel": "latest",
21+
"parcel": "^2.3.2",
2222
"playwright": "^1.12.3",
23+
"process": "^0.11.10",
2324
"rimraf": "^3.0.2",
24-
"test-util-ipfs-example": "^1.0.2"
25+
"test-util-ipfs-example": "^1.0.2",
26+
"util": "^0.12.4"
2527
}
2628
}

0 commit comments

Comments
 (0)