npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@heroku/functions-core

v0.7.2

Published

This is a shared library for interacting with Salesforce Functions from the following:

Downloads

14,503

Maintainers

simonebonettisfitasimonebonettisfitakamakshinagarkamakshinagarafraidknotafraidknotvish_herokuvish_herokusarahoh2468sarahoh2468sghaffarsghaffardkabanov1dkabanov1sbosio_sfsbosio_sfangelcampbellangelcampbell7ftz7ftzsfalansfalanhillzbot2000hillzbot2000kdreyerorenkdreyerorenrcrossrcrosslsorstokkelsorstokkesudarshanhiraysudarshanhirayalex_herokualex_herokurajashri-gurusamyrajashri-gurusamymandeepsfmandeepsfmingzhi-liu1258mingzhi-liu1258beanieboibeanieboidougmcinnes-sfdcdougmcinnes-sfdcbeckychenbeckychendasofieidasofieixx-sfdc-npmxx-sfdc-npmkpremkumarkpremkumarstessema-sfcstessema-sfcchap-herokuchap-herokudhammer25dhammer25ndavidson-sfndavidson-sfumarsfdcumarsfdcamandadolansfamandadolansfcdwort-sfdccdwort-sfdcapoorvasrivapoorvasrivmichellejhlimmichellejhlimjhili!16jhili!16apadalaapadalacmcclung-npm-salesforce.comcmcclung-npm-salesforce.comrstiltonsfrstiltonsftlowrimoretlowrimorerchandarchandaabhinavkoulabhinavkouldaniel.brightdaniel.brightjonnymacjonnymacjustinwilaby-sfjustinwilaby-sfcv88cv88aaronromeosfdcaaronromeosfdctenharmsel_sftenharmsel_sfekozilforceekozilforcecoreypurcell_salesforcecoreypurcell_salesforcejmonrealjmonrealsconklinsconklinsuppadasuppadagnettergnettertkoh-sfdctkoh-sfdcjasoncummings-herokujasoncummings-herokudiana.doherty.sfdcdiana.doherty.sfdcjoeybrown90sfjoeybrown90sfrsoerensenrsoerensenademusoyoademusoyolsangalang2023lsangalang2023ccaseyccaseyryanbrainardryanbrainardmarcelsfdcmarcelsfdcnrisaronrisarochetankd10chetankd10kscareykscareybemory-herokubemory-herokurevativelagadarevativelagadabrock-salesforcebrock-salesforcejmorrell-sfdcjmorrell-sfdcbencdentonbencdentonrafaydinrafaydindhagberg-sfdhagberg-sfelzoonaelzoonacmarcojoscmarcojosadirasanamadirasanamkbaird-sfkbaird-sfbhawnaherokubhawnaherokujondaniel-sfdcjondaniel-sfdcgkomminenigkomminenip.shreyap.shreyasai_harshitha_neelasai_harshitha_neelaktsforcektsforcehkiihkiiheroku-front-endheroku-front-endvammundravammundrathe7okathe7okavlazukavlazukagrismar17grismar17lucaszhoulucaszhoumarsmarsashher.khanashher.khannlanattanlanattapranamsharmapranamsharmanrenkenrenkerichatiwaririchatiwaripsalimpsalimwchrisjohnsonwchrisjohnsonagatpareekagatpareekswapnilghoseswapnilghosemgates-salesforcemgates-salesforceryoneyamaryoneyamasripad.kulkarnisripad.kulkarnianujpandey001anujpandey001dboston528dboston528adirksmeieradirksmeierchristopher.josechristopher.josecbaxtersfcbaxtersfmttrmttrtetsuya_tetsuya_daebumleedaebumleemsaminenimsaminenisrishtigautamsrishtigautambsperlingsfbsperlingsfpbommapbommalalitreddylalitreddyzli-sfzli-sfsbaner18sbaner18joanneyeungjoanneyeungpaguilarpaguilarbleongbleongmontes_herokumontes_herokupfuentepfuentesaikrishna0202saikrishna0202jwadsworthsfjwadsworthsfjheikesjheikesmimenmimendaigo-herokudaigo-herokumpeckmpeckjmccartiejmccartiejordaneekeyjordaneekeylmckenzielmckenziev.anandv.anandbarma.jahnavibarma.jahnaviarajaarajasarassassinsarassassinreidmixreidmixmbuschherokumbuschherokuk.plentyk.plentyeblackeblacksheax0rsheax0rk80bowmank80bowmanrdagg-herordagg-herogrundy.ggrundy.grobinson.mrobinson.mtcareysmith-sfdctcareysmith-sfdcptemporiniptemporinipaulaprado18paulaprado18harish.457harish.457jsullivandigsjsullivandigsssherbondy77ssherbondy77marcusblankenshipmarcusblankenshipntonollierntonollierelearyelearysalesforce-releasessalesforce-releases

Keywords

Readme

@heroku/functions-core

This is a shared library for interacting with Salesforce Functions from the following:

| Used In | Project | Documentation | |--------------------|-----------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------| | Salesforce CLI | @salesforce/plugin-functions | https://developer.salesforce.com/tools/sfdxcli | | Visual Studio Code | salesforcedx-vscode-core | https://marketplace.visualstudio.com/items?itemName=salesforce.salesforcedx-vscode-core |

Currently, this library exposes:

  • generateProject
  • generateFunction
  • a custom error class (FunctionsError).
  • LocalRun a class for running functions on the local host.
  • runFunction for sending data to a running function.

Build

$ yarn build

Run Validations

$ yarn test
$ yarn lint

Publishing

  1. Open a PR to bump the version field in package.json
  2. Merge the PR once the Languages Team approves
  3. Run npm publish to publish the library (this step must be performed using npm and not yarn)
  4. Run git tag -a v{VERSION} -m "Released v{VERSION}" && git push --tags to tag the release

    Note: All occurrences of{VERSION} in the command above should be replaced with the value of version set in package.json

Next Steps

For changes made to this library to make it into the Salesforce CLI and Visual Studio Code plugins it is necessary to create PRs against those projects. Steps for each related project are detailed below.

@salesforce/plugin-functions

  1. Git clone the Functions CLI plugin project at https://github.com/salesforcecli/plugin-functions
  2. Update this project's package.json with the latest version for @heroku/functions-core

    Note: Due to path length constraints for Windows machines the @heroku/functions-core package is aliased as @hk/functions-core

  3. Regenerate the yarn.lock by running yarn install
  4. Create a PR for these changes with fix: in the title and be sure to include in the description a reference to a work item using @GUS-W-12345678@

    Note: The Languages Team has permission to merge and approve PRs which only bump this dependency

  5. Once the PR is merged a bot service should:
    • bump the version
    • auto-publish the release to npm
    • tag the release in GitHub
  6. Verify the bot has performed the tasks above before moving on
  7. Git clone the Salesforce CLI project at https://github.com/salesforcecli/cli
  8. Update this project's package.json with the latest version of @salesforce/plugin-functions

    Note: Due to path length constraints for Windows machines the @salesforce/plugin-functions package is aliased as @sf/functions

  9. Regenerate the yarn.lock by running yarn install
  10. Create a PR with the title chore: bump plugin-function from {OLD_VERSION} to {NEW_VERSION}
  11. The PR must be approved by CLI team before merging

salesforcedx-vscode-core

  1. Git clone the VSCode plugin project at https://github.com/forcedotcom/salesforcedx-vscode
  2. Update this project's package.json with the latest version of @heroku/functions-core
  3. Regenerate the yarn.lock by running yarn install from the project root
  4. Create a PR with the title chore: bump functions-core from {OLD_VERSION} to {NEW_VERSION}
  5. Wait for the PR to be approved and merged