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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@a-little-world/little-world-design-system-native

v0.6.0

Published

React Native components for the Little World Design System.

Readme

@a-little-world/little-world-design-system-native

React Native components for the Little World Design System.

Installation

npm install @a-little-world/little-world-design-system-native

Usage

import { Button, Text } from '@a-little-world/little-world-design-system-native';

export default function App() {
  return (
    <Button variant="primary">
      <Text>Hello World</Text>
    </Button>
  );
}

Local Development & Testing

The native package includes a test app for local development and testing of components.

⚠️ Important: Build from Root

Always build and publish from the root of the monorepo, never from individual package directories.

Correct (from root):

pnpm build:native
pnpm --filter=@a-little-world/little-world-design-system-native publish

Incorrect (from package directory):

cd packages/native
npm run build
npm publish  # This will break workspace dependencies!

Prerequisites

  • Expo CLI installed globally
  • Expo Go app installed on your mobile device
  • iOS Simulator (for iOS testing) or Android Emulator (for Android testing)

Quick Start

From the root of the monorepo:

# Build and setup test app (builds core + native, creates tarballs, installs in testApp)
pnpm native:setup

# Start Expo development server
pnpm native:start

# Or run Storybook for native components
pnpm storybook:native

What the setup script does:

  1. Builds core package - Compiles design tokens and utilities
  2. Builds native package - Compiles React Native components
  3. Creates tarballs - Packages both libraries for local installation
  4. Installs in testApp - Installs the local packages in the Expo test app

Development Workflow

  1. Make changes to core or native packages
  2. Run setup - pnpm native:setup (rebuilds and reinstalls)
  3. Start app - pnpm native:start (starts Expo dev server)
  4. Test on device - Scan QR code with Expo Go app
  5. Hot reload - Changes will automatically reload in the app

Manual Setup (Alternative)

If you prefer to work directly in the testApp directory:

cd packages/native/testApp
npm install
npm start  # Start Expo app
npm run storybook  # Start Storybook

Troubleshooting

  • Clear cache: Use npx expo start -c to clear Expo cache
  • Reset testApp: Delete packages/native/testApp/node_modules and run setup again
  • Version conflicts: The setup script uses wildcards to automatically find the latest tarball versions

Storybook

The native package includes Storybook for component development and testing:

# From root
pnpm storybook:native

# Or from testApp directory
cd packages/native/testApp
npm run storybook

Building

# Build the native package
pnpm build:native

# Or from the native package directory
cd packages/native
npm run build

Publishing

Automated Releases (Recommended)

Releases should ideally be automated and handled via merging into the main branch of the repo.

See the Versioning and Releases section in the root README for detailed information about the automated release process using Changesets.

The automated workflow will:

  • Detect version changes in package.json
  • Publish to GitHub Packages registry
  • Create GitHub releases with changelog information
  • Handle all publishing steps automatically

Manual Publishing (Fallback)

If you need to publish manually (not recommended):

# Ensure you're authenticated to GitHub Packages
npm login --registry=https://npm.pkg.github.com

# Build the package
pnpm build:native

# Publish from the native package directory
cd packages/native
npm publish --access restricted

Note: Manual publishing bypasses the automated changelog generation and release management. Use the automated process whenever possible.

Dependencies

This package depends on:

  • @a-little-world/little-world-design-system-core - Core design tokens and utilities
  • react-native - React Native framework
  • styled-components - Styling library