Socket
Book a DemoInstallSign in
Socket

@untappd/consumer-shared

Package Overview
Dependencies
Maintainers
4
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@untappd/consumer-shared

Shared TypeScript types

0.0.44
latest
npmnpm
Version published
Weekly downloads
141
-5.37%
Maintainers
4
Weekly downloads
 
Created
Source

@untappd/consumer-shared

This is a library that we publish to npm that allows us to share types and other TypeScript code between this untappd-next repo and the React Native app.

It works by bundling all the TypeScript code defined in consumer-shared/index.ts, so if there is something you want to share with the app just make sure that it is exported from that file. Be wary and intentional with what you export because it will get published publicly.

Publishing

For starters, you'll need to be authenticated via npm (npm login) with an account that's a member of the @untappd organization.

From the consumer-shared directory:

  • Run npm install if you haven't yet
  • Run npm run release. This will bundle the TS and publish a new patch version on npm. You should commit the updated consumer-shared/package.json file so that our version number stays up to date.

On the React Native app, we have @untappd/consumer-shared defined as a dependency and that allows us to import things as needed, i.e. import { AlgoliaCatalogItem } from '@untappd/consumer-shared'

FAQs

Package last updated on 27 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.