Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ABI generation for NPM #47

Merged
merged 26 commits into from
Feb 12, 2025
Merged

ABI generation for NPM #47

merged 26 commits into from
Feb 12, 2025

Conversation

brickpop
Copy link

@brickpop brickpop commented Feb 6, 2025

Adding an artifacts package for NPM.

  • Automatically detects the source contracts
  • Generates src/abi.ts importing the newly created JSON ABI files
  • 4Kb compressed
$ npm publish --dry-run
npm notice
npm notice 📦  @aragon/[email protected]
npm notice Tarball Contents
npm notice 1.1kB README.md
npm notice 358B dist/abi.d.ts
npm notice 672B dist/abi.js
npm notice 3.0kB dist/abi/IMultisig.json
npm notice 1.9kB dist/abi/ListedCheckCondition.json
npm notice 35.0kB dist/abi/Multisig.json
npm notice 9.4kB dist/abi/MultisigSetup.json
npm notice 101B dist/addresses.json
npm notice 92B dist/index.d.ts
npm notice 904B dist/index.js
npm notice 550B package.json
npm notice Tarball Details
npm notice name: @aragon/multisig-plugin-artifacts
npm notice version: 1.3.0
npm notice filename: aragon-multisig-plugin-artifacts-1.3.0.tgz
npm notice package size: 4.3 kB
npm notice unpacked size: 53.0 kB
npm notice shasum: ab67043db98b4fe0cbc72bc9ad2a2e243d5ecec5
npm notice integrity: sha512-63QJAJofwgQtd[...]bH4Y0m1yxJczg==
npm notice total files: 11
npm notice
npm notice Publishing to https://registry.npmjs.org/ with tag latest and public access (dry-run)
+ @aragon/[email protected]

Copy link

@Rekard0 Rekard0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Rekard0
Rekard0 previously approved these changes Feb 12, 2025
clauBv23
clauBv23 previously approved these changes Feb 12, 2025
@brickpop brickpop dismissed stale reviews from clauBv23 and Rekard0 via bb2da5b February 12, 2025 17:22
@Rekard0 Rekard0 merged commit 1142edb into main Feb 12, 2025
6 of 7 checks passed
@Rekard0 Rekard0 deleted the f/npm-artifacts branch February 12, 2025 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants