Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ jobs:
run: npm install
- name: Install Playwright
run: npx -y playwright install --with-deps
# This step has been observed to hang indefinitely when failing to
# download browsers, but it can also be quite slow.
timeout-minutes: 30
# This step has been observed to either complete in under a minute or to
# hang indefinitely when failing to install browsers/os updates
timeout-minutes: 10
- name: Run tests
run: npm run test
# This step has been observed to hang indefinitely when the browsers
Expand All @@ -73,9 +73,9 @@ jobs:
run: npm install
- name: Install Playwright
run: npx -y playwright install --with-deps
# This step has been observed to hang indefinitely when failing to
# download browsers, but it can also be quite slow.
timeout-minutes: 30
# This step has been observed to either complete in under a minute or to
# hang indefinitely when failing to install browsers/os updates
timeout-minutes: 10
- name: Run linting
run: npm run lint
- name: Run tests
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ playwright-report
output.car
tsconfig-check.aegir.tsbuildinfo
tsconfig-check.aegir.json
tsconfig.build.tsbuildinfo
6 changes: 3 additions & 3 deletions examples/helia-browser-verified-fetch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
"@playwright/test": "^1.42.1",
"@types/react": "^19.0.1",
"@types/react-dom": "^19.0.1",
"@vitejs/plugin-react": "^4.2.1",
"@vitejs/plugin-react": "^6.0.1",
"test-ipfs-example": "^1.3.3",
"typescript": "^5.4.3",
"vite": "^6.0.9"
"typescript": "^6.0.2",
"vite": "^8.0.8"
}
}
4 changes: 2 additions & 2 deletions examples/helia-create-car/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"@playwright/test": "^1.31.2",
"@types/react": "^19.0.1",
"@types/react-dom": "^19.0.1",
"@vitejs/plugin-react": "^4.0.0",
"@vitejs/plugin-react": "^6.0.1",
"test-ipfs-example": "^1.3.3",
"vite": "^6.0.9"
"vite": "^8.0.8"
}
}
2 changes: 1 addition & 1 deletion examples/helia-electron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"helia": "^6.1.2"
},
"devDependencies": {
"electron": "^35.0.3",
"electron": "^41.2.0",
"electron-rebuild": "^3.1.1",
"test-ipfs-example": "^1.3.3",
"xvfb-maybe": "^0.2.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/helia-esbuild/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"devDependencies": {
"@babel/core": "^7.14.8",
"@playwright/test": "^1.12.3",
"esbuild": "^0.25.1",
"esbuild": "^0.28.0",
"playwright": "^1.12.3",
"process": "^0.11.10",
"rimraf": "^6.0.1",
Expand Down
6 changes: 3 additions & 3 deletions examples/helia-jest-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"helia": "^6.1.2"
},
"devDependencies": {
"@types/jest": "^29.5.2",
"jest": "^29.6.2",
"@types/jest": "^30.0.0",
"jest": "^30.3.0",
"ts-jest": "^29.1.1",
"typescript": "^5.1.6"
"typescript": "^6.0.2"
}
}
14 changes: 9 additions & 5 deletions examples/helia-jest-typescript/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
{
"compilerOptions": {
"module": "ES2022",
"target": "ES2021",
"moduleResolution": "node",
"module": "node20",
"target": "ES2022",

"moduleResolution": "node16",
"skipLibCheck": true,
"types": [
"jest"
],

// only necessary for the example linting check, your project may not need
// these settings
"strictNullChecks": true,
"skipLibCheck": true
"strictNullChecks": true
}
}
2 changes: 1 addition & 1 deletion examples/helia-jest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"helia": "^6.1.2"
},
"devDependencies": {
"jest": "^29.6.2"
"jest": "^30.3.0"
}
}
18 changes: 9 additions & 9 deletions examples/helia-nestjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,23 +31,23 @@
"@nestjs/schematics": "^11.0.0",
"@nestjs/testing": "^11.0.3",
"@types/express": "^5.0.0",
"@types/jest": "^29.5.2",
"@types/node": "^22.7.4",
"@types/supertest": "^6.0.2",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"eslint": "^8.42.0",
"eslint-config-prettier": "^9.0.0",
"@types/jest": "^30.0.0",
"@types/node": "^25.6.0",
"@types/supertest": "^7.2.0",
"@typescript-eslint/eslint-plugin": "^8.58.2",
"@typescript-eslint/parser": "^8.58.2",
"eslint": "^10.2.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.0.0",
"jest": "^29.5.0",
"jest": "^30.3.0",
"prettier": "^3.0.0",
"source-map-support": "^0.5.21",
"supertest": "^7.0.0",
"ts-jest": "^29.1.0",
"ts-loader": "^9.4.3",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.1.3"
"typescript": "^6.0.2"
},
"jest": {
"moduleFileExtensions": [
Expand Down
11 changes: 7 additions & 4 deletions examples/helia-nestjs/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,25 @@
{
"compilerOptions": {
"module": "ES2020",
"module": "node20",
"declaration": true,
"removeComments": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"target": "ES2020",
"target": "ES2022",
"sourceMap": true,
"rootDir": ".",
"outDir": "./dist",
"baseUrl": "./",
"incremental": true,
"skipLibCheck": true,
"strictNullChecks": true,
"noImplicitAny": false,
"strictBindCallApply": false,
"forceConsistentCasingInFileNames": false,
"noFallthroughCasesInSwitch": false,
"moduleResolution": "Node"
"moduleResolution": "node16",
"types": [
"jest"
]
}
}
13 changes: 1 addition & 12 deletions examples/helia-nextjs/next.config.js
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
import { NodeProtocolUrlPlugin } from 'node-stdlib-browser/helpers/webpack/plugin'

export default {
reactStrictMode: true,
images: {
loader: 'imgix',
path: 'http://localhost:3000'
},
output: 'export',
distDir: 'dist',
webpack: (config) => {
// support loading modules with "node:" prefix
// see https://github.com/webpack/webpack/issues/14166
// see https://github.com/Richienb/node-polyfill-webpack-plugin/issues/19
config.plugins.push(new NodeProtocolUrlPlugin())

// Important: return the modified config
return config
}
distDir: 'dist'
}
7 changes: 3 additions & 4 deletions examples/helia-nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,15 @@
},
"dependencies": {
"helia": "^6.1.2",
"next": "^15.1.5",
"next": "^16.2.3",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"devDependencies": {
"@playwright/test": "^1.32.1",
"eslint": "^8.36.0",
"eslint-config-next": "^15.1.5",
"eslint": "^10.2.0",
"eslint-config-next": "^16.2.3",
"interface-datastore": "^9.0.3",
"node-stdlib-browser": "^1.3.1",
"playwright": "^1.32.1",
"rimraf": "^6.0.1",
"test-ipfs-example": "^1.3.3"
Expand Down
4 changes: 2 additions & 2 deletions examples/helia-remote-pinning/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
},
"devDependencies": {
"@playwright/test": "^1.37.1",
"@vitejs/plugin-react": "^4.0.4",
"@vitejs/plugin-react": "^6.0.1",
"rimraf": "^6.0.1",
"test-ipfs-example": "^1.3.3",
"vite": "^6.0.9"
"vite": "^8.0.8"
}
}
2 changes: 1 addition & 1 deletion examples/helia-script-tag/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
"process": "^0.11.10",
"rimraf": "^6.0.1",
"test-ipfs-example": "^1.3.3",
"vite": "^6.0.9"
"vite": "^8.0.8"
}
}
3 changes: 1 addition & 2 deletions examples/helia-ts-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@
"helia": "^6.1.2"
},
"devDependencies": {
"cross-env": "^7.0.3",
"test-ipfs-example": "^1.2.0",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
"typescript": "^6.0.2"
}
}
4 changes: 2 additions & 2 deletions examples/helia-ts-node/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"compilerOptions": {
// only necessary for the example linting check, your project may not need
// these settings
"module": "ES2022",
"module": "node20",
"target": "ES2021",
"moduleResolution": "node",
"moduleResolution": "node16",
"strictNullChecks": true,
"skipLibCheck": true
}
Expand Down
2 changes: 1 addition & 1 deletion examples/helia-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
},
"devDependencies": {
"test-ipfs-example": "^1.3.3",
"typescript": "^5.1.6"
"typescript": "^6.0.2"
}
}
7 changes: 4 additions & 3 deletions examples/helia-typescript/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"compilerOptions": {
"module": "ES2015",
"target": "ES2015",
"module": "node20",
"target": "ES2022",

"moduleResolution": "node",
"moduleResolution": "node16",
"skipLibCheck": true,
"rootDir": "./src",
"outDir": "./dist",

// only necessary for the example linting check, your project may not need
Expand Down
4 changes: 2 additions & 2 deletions examples/helia-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"@playwright/test": "^1.31.2",
"@types/react": "^19.0.1",
"@types/react-dom": "^19.0.1",
"@vitejs/plugin-react": "^4.0.0",
"@vitejs/plugin-react": "^6.0.1",
"test-ipfs-example": "^1.3.3",
"vite": "^6.0.9"
"vite": "^8.0.8"
}
}
4 changes: 2 additions & 2 deletions examples/helia-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
"vue": "^3.2.47"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.0.3",
"@vitejs/plugin-vue": "^6.0.6",
"rimraf": "^6.0.1",
"test-ipfs-example": "^1.3.3",
"vite": "^6.0.9"
"vite": "^8.0.8"
}
}
6 changes: 3 additions & 3 deletions examples/helia-webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"@babel/preset-env": "^7.13.12",
"@babel/preset-react": "^7.12.13",
"@playwright/test": "^1.12.3",
"babel-loader": "^9.1.2",
"copy-webpack-plugin": "^12.0.2",
"babel-loader": "^10.1.1",
"copy-webpack-plugin": "^14.0.0",
"css-loader": "^7.1.2",
"html-webpack-plugin": "^5.3.2",
"node-polyfill-webpack-plugin": "^4.0.0",
Expand All @@ -38,7 +38,7 @@
"style-loader": "^4.0.0",
"test-ipfs-example": "^1.3.3",
"webpack": "^5.45.1",
"webpack-cli": "^6.0.1",
"webpack-cli": "^7.0.2",
"webpack-dev-server": "^5.0.3",
"webpack-merge": "^6.0.1"
}
Expand Down
Loading