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
4 changes: 0 additions & 4 deletions .github/workflows/actionlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,8 @@ name: Lint GitHub Actions
on:
push:
branches: [main]
paths:
- ".github/workflows/**"
pull_request:
branches: [main]
paths:
- ".github/workflows/**"
workflow_dispatch:

permissions:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"homepage": "https://github.com/theqrl/web3.js#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/theqrl/web3.js.git"
"url": "https://github.com/theQRL/web3.js"
},
"bugs": {
"url": "https://github.com/theqrl/web3.js/issues"
Expand Down
4 changes: 2 additions & 2 deletions packages/abi/.release-touch
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
2026-05-04T15:09:44.353Z
ade200518f7c69a958c61f433caab004
2026-05-04T16:21:31.460Z
98097f04c8462f7c814e1ff607d4a70a
2 changes: 1 addition & 1 deletion packages/abi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/theqrl/web3.js.git",
"url": "https://github.com/theQRL/web3.js",
"directory": "packages/abi"
},
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions packages/web3-core/.release-touch
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
2026-05-04T15:09:44.353Z
ade200518f7c69a958c61f433caab004
2026-05-04T16:21:31.460Z
98097f04c8462f7c814e1ff607d4a70a
2 changes: 1 addition & 1 deletion packages/web3-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/theqrl/web3.js.git",
"url": "https://github.com/theQRL/web3.js",
"directory": "packages/web3-core"
},
"author": "The QRL Contributors",
Expand Down
4 changes: 2 additions & 2 deletions packages/web3-errors/.release-touch
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
2026-05-04T15:09:44.353Z
ade200518f7c69a958c61f433caab004
2026-05-04T16:21:31.460Z
98097f04c8462f7c814e1ff607d4a70a
2 changes: 1 addition & 1 deletion packages/web3-errors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/theqrl/web3.js.git",
"url": "https://github.com/theQRL/web3.js",
"directory": "packages/web3-errors"
},
"author": "The QRL Contributors",
Expand Down
4 changes: 2 additions & 2 deletions packages/web3-net/.release-touch
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
2026-05-04T15:09:44.353Z
ade200518f7c69a958c61f433caab004
2026-05-04T16:21:31.460Z
98097f04c8462f7c814e1ff607d4a70a
2 changes: 1 addition & 1 deletion packages/web3-net/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/theqrl/web3.js.git",
"url": "https://github.com/theQRL/web3.js",
"directory": "packages/web3-net"
},
"author": "The QRL Contributors",
Expand Down
4 changes: 2 additions & 2 deletions packages/web3-providers-http/.release-touch
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
2026-05-04T15:09:44.353Z
ade200518f7c69a958c61f433caab004
2026-05-04T16:21:31.460Z
98097f04c8462f7c814e1ff607d4a70a
2 changes: 1 addition & 1 deletion packages/web3-providers-http/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/theqrl/web3.js.git",
"url": "https://github.com/theQRL/web3.js",
"directory": "packages/web3-providers-http"
},
"author": "The QRL Contributors",
Expand Down
4 changes: 2 additions & 2 deletions packages/web3-providers-ipc/.release-touch
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
2026-05-04T15:09:44.353Z
ade200518f7c69a958c61f433caab004
2026-05-04T16:21:31.460Z
98097f04c8462f7c814e1ff607d4a70a
2 changes: 1 addition & 1 deletion packages/web3-providers-ipc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/theqrl/web3.js.git",
"url": "https://github.com/theQRL/web3.js",
"directory": "packages/web3-providers-ipc"
},
"author": "The QRL Contributors",
Expand Down
4 changes: 2 additions & 2 deletions packages/web3-providers-ws/.release-touch
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
2026-05-04T15:09:44.353Z
ade200518f7c69a958c61f433caab004
2026-05-04T16:21:31.460Z
98097f04c8462f7c814e1ff607d4a70a
2 changes: 1 addition & 1 deletion packages/web3-providers-ws/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/theqrl/web3.js.git",
"url": "https://github.com/theQRL/web3.js",
"directory": "packages/web3-providers-ws"
},
"author": "The QRL Contributors",
Expand Down
4 changes: 2 additions & 2 deletions packages/web3-qrl-abi/.release-touch
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
2026-05-04T15:09:44.353Z
ade200518f7c69a958c61f433caab004
2026-05-04T16:21:31.460Z
98097f04c8462f7c814e1ff607d4a70a
2 changes: 1 addition & 1 deletion packages/web3-qrl-abi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/theqrl/web3.js.git",
"url": "https://github.com/theQRL/web3.js",
"directory": "packages/web3-qrl-abi"
},
"author": "The QRL Contributors",
Expand Down
4 changes: 2 additions & 2 deletions packages/web3-qrl-accounts/.release-touch
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
2026-05-04T15:09:44.353Z
ade200518f7c69a958c61f433caab004
2026-05-04T16:21:31.460Z
98097f04c8462f7c814e1ff607d4a70a
2 changes: 1 addition & 1 deletion packages/web3-qrl-accounts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/theqrl/web3.js.git",
"url": "https://github.com/theQRL/web3.js",
"directory": "packages/web3-qrl-accounts"
},
"author": "The QRL Contributors",
Expand Down
4 changes: 2 additions & 2 deletions packages/web3-qrl-contract/.release-touch
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
2026-05-04T15:09:44.353Z
ade200518f7c69a958c61f433caab004
2026-05-04T16:21:31.460Z
98097f04c8462f7c814e1ff607d4a70a
2 changes: 1 addition & 1 deletion packages/web3-qrl-contract/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/theqrl/web3.js.git",
"url": "https://github.com/theQRL/web3.js",
"directory": "packages/web3-qrl-contract"
},
"author": "The QRL Contributors",
Expand Down
4 changes: 2 additions & 2 deletions packages/web3-qrl-iban/.release-touch
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
2026-05-04T15:09:44.353Z
ade200518f7c69a958c61f433caab004
2026-05-04T16:21:31.460Z
98097f04c8462f7c814e1ff607d4a70a
2 changes: 1 addition & 1 deletion packages/web3-qrl-iban/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/theqrl/web3.js.git",
"url": "https://github.com/theQRL/web3.js",
"directory": "packages/web3-qrl-iban"
},
"author": "The QRL Contributors",
Expand Down
4 changes: 2 additions & 2 deletions packages/web3-qrl-qrns/.release-touch
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
2026-05-04T15:09:44.353Z
ade200518f7c69a958c61f433caab004
2026-05-04T16:21:31.460Z
98097f04c8462f7c814e1ff607d4a70a
2 changes: 1 addition & 1 deletion packages/web3-qrl-qrns/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/theqrl/web3.js.git",
"url": "https://github.com/theQRL/web3.js",
"directory": "packages/web3-qrl-qrns"
},
"author": "The QRL Contributors",
Expand Down
4 changes: 2 additions & 2 deletions packages/web3-qrl/.release-touch
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
2026-05-04T15:09:44.353Z
ade200518f7c69a958c61f433caab004
2026-05-04T16:21:31.460Z
98097f04c8462f7c814e1ff607d4a70a
2 changes: 1 addition & 1 deletion packages/web3-qrl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/theqrl/web3.js.git",
"url": "https://github.com/theQRL/web3.js",
"directory": "packages/web3-qrl"
},
"author": "The QRL Contributors",
Expand Down
4 changes: 2 additions & 2 deletions packages/web3-rpc-methods/.release-touch
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
2026-05-04T15:09:44.353Z
ade200518f7c69a958c61f433caab004
2026-05-04T16:21:31.460Z
98097f04c8462f7c814e1ff607d4a70a
2 changes: 1 addition & 1 deletion packages/web3-rpc-methods/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/theqrl/web3.js.git",
"url": "https://github.com/theQRL/web3.js",
"directory": "packages/web3-rpc-methods"
},
"author": "The QRL Contributors",
Expand Down
4 changes: 2 additions & 2 deletions packages/web3-types/.release-touch
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
2026-05-04T15:09:44.353Z
ade200518f7c69a958c61f433caab004
2026-05-04T16:21:31.460Z
98097f04c8462f7c814e1ff607d4a70a
2 changes: 1 addition & 1 deletion packages/web3-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/theqrl/web3.js.git",
"url": "https://github.com/theQRL/web3.js",
"directory": "packages/web3-types"
},
"author": "The QRL Contributors",
Expand Down
4 changes: 2 additions & 2 deletions packages/web3-utils/.release-touch
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
2026-05-04T15:09:44.353Z
ade200518f7c69a958c61f433caab004
2026-05-04T16:21:31.460Z
98097f04c8462f7c814e1ff607d4a70a
2 changes: 1 addition & 1 deletion packages/web3-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/theqrl/web3.js.git",
"url": "https://github.com/theQRL/web3.js",
"directory": "packages/web3-utils"
},
"author": "The QRL Contributors",
Expand Down
4 changes: 2 additions & 2 deletions packages/web3-validator/.release-touch
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
2026-05-04T15:09:44.353Z
ade200518f7c69a958c61f433caab004
2026-05-04T16:21:31.460Z
98097f04c8462f7c814e1ff607d4a70a
2 changes: 1 addition & 1 deletion packages/web3-validator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"browser": "./dist/web3-validator.min.js",
"repository": {
"type": "git",
"url": "git+https://github.com/theqrl/web3.js.git",
"url": "https://github.com/theQRL/web3.js",
"directory": "packages/web3-validator"
},
"author": "The QRL Contributors",
Expand Down
4 changes: 2 additions & 2 deletions packages/web3/.release-touch
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
2026-05-04T15:09:44.353Z
ade200518f7c69a958c61f433caab004
2026-05-04T16:21:31.460Z
98097f04c8462f7c814e1ff607d4a70a
2 changes: 1 addition & 1 deletion packages/web3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/theqrl/web3.js.git",
"url": "https://github.com/theQRL/web3.js",
"directory": "packages/web3"
},
"engines": {
Expand Down
12 changes: 10 additions & 2 deletions scripts/release/inspect-packages.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ const forbiddenPatterns = [
[/ copy\./, 'copy file'],
];

const provenanceRepositoryUrl = 'https://github.com/theQRL/web3.js';

const packDryRun = packagePath => {
const output = execFileSync('npm', ['pack', '--dry-run', '--json'], {
cwd: packagePath,
Expand Down Expand Up @@ -73,6 +75,12 @@ for (const pkg of publishablePackages()) {
errors.push(`${pkg.name}: package.json must not contain a committed gitHead`);
}

if (manifest.repository?.url !== provenanceRepositoryUrl) {
errors.push(
`${pkg.name}: repository.url must be ${provenanceRepositoryUrl} for npm provenance verification`,
);
}

if (entrypoints.length === 0) {
errors.push(`${pkg.name}: no package entrypoint declared`);
}
Expand All @@ -99,12 +107,12 @@ for (const pkg of publishablePackages()) {
summaries.push(`${pkg.name}: ${files.size} files, ${pack.unpackedSize} unpacked bytes`);
}

for (const summary of summaries) console.log(summary);
for (const summary of summaries) console.info(summary);

if (errors.length > 0) {
console.error('\nPackage inspection failed:');
for (const error of errors) console.error(`- ${error}`);
process.exit(1);
}

console.log(`Inspected ${summaries.length} publishable package dry-runs`);
console.info(`Inspected ${summaries.length} publishable package dry-runs`);
2 changes: 1 addition & 1 deletion tools/eslint-config-base-web3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"homepage": "https://github.com/theqrl/web3.js#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/theqrl/web3.js.git"
"url": "https://github.com/theQRL/web3.js"
},
"bugs": {
"url": "https://github.com/theqrl/web3.js/issues"
Expand Down
4 changes: 2 additions & 2 deletions tools/web3-packagetemplate/.release-touch
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
2026-05-04T15:09:44.353Z
ade200518f7c69a958c61f433caab004
2026-05-04T16:21:31.460Z
98097f04c8462f7c814e1ff607d4a70a
2 changes: 1 addition & 1 deletion tools/web3-packagetemplate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/theqrl/web3.js.git",
"url": "https://github.com/theQRL/web3.js",
"directory": "tools/web3-packagetemplate"
},
"author": "The QRL Contributors",
Expand Down
4 changes: 2 additions & 2 deletions tools/web3-plugin-example/.release-touch
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
2026-05-04T15:09:44.353Z
ade200518f7c69a958c61f433caab004
2026-05-04T16:21:31.460Z
98097f04c8462f7c814e1ff607d4a70a
2 changes: 1 addition & 1 deletion tools/web3-plugin-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"types": "./lib/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/theqrl/web3.js.git",
"url": "https://github.com/theQRL/web3.js",
"directory": "tools/web3-plugin-example"
},
"engines": {
Expand Down
Loading