Skip to content

Setup NPM publishing #202

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

Merged
merged 3 commits into from
Mar 14, 2024
Merged

Setup NPM publishing #202

merged 3 commits into from
Mar 14, 2024

Conversation

Siegrift
Copy link
Collaborator

Closes #176

Rationale

Inspired by the publishing in https://github.com/api3dao/commons. I am using the old https://www.npmjs.com/package/@api3/airseeker NPM package name.

I tested this using Verdaccio locally. The following is exported:

{
  abs: [Getter],
  sleep: [Getter],
  deriveBeaconId: [Getter],
  encodeDapiName: [Getter],
  decodeDapiName: [Getter],
  deriveWalletPathFromSponsorAddress: [Getter],
  deriveSponsorAddressHashForManagedFeed: [Getter],
  deriveSponsorAddressHashForSelfFundedFeed: [Getter],
  deriveSponsorWalletFromSponsorAddressHash: [Getter],
  deriveSponsorWallet: [Getter],
  multiplyBigNumber: [Getter],
  decodeBeaconValue: [Getter],
  evmAddressSchema: [Getter],
  evmIdSchema: [Getter],
  providerSchema: [Getter],
  optionalContractsSchema: [Getter],
  gasSettingsSchema: [Getter],
  optionalChainSchema: [Getter],
  chainsSchema: [Getter],
  deviationThresholdCoefficientSchema: [Getter],
  walletDerivationTypeSchema: [Getter],
  walletDerivationSchemeSchema: [Getter],
  configSchema: [Getter]
}

@Siegrift Siegrift requested a review from aquarat March 11, 2024 19:17
@Siegrift Siegrift self-assigned this Mar 11, 2024
@Siegrift Siegrift requested a review from bdrhn9 March 11, 2024 19:17
Copy link
Contributor

@bdrhn9 bdrhn9 left a comment

Choose a reason for hiding this comment

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

Published functions works for airseeker-admin. Thank you 🙏🏼

@Siegrift Siegrift force-pushed the use-typechain-from-package branch from 1aac669 to c2ca85f Compare March 14, 2024 07:13
Base automatically changed from use-typechain-from-package to main March 14, 2024 07:18
@Siegrift Siegrift merged commit 4315b2e into main Mar 14, 2024
@Siegrift Siegrift deleted the publish-npm branch March 14, 2024 07:24
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.

Publish the package on NPM
2 participants