Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@freesail-community/weathercatalog

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@freesail-community/weathercatalog

All community built UI component catalogs for Freesail A2UI SDK

latest
npmnpm
Version
0.4.5
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Weather Catalog

Weather-specific UI components for displaying forecasts, conditions, and alerts

Getting Started

npm install
npm run build

Project Structure

src/
  weather-catalog.json      # Generated catalog (do not edit manually)
  index.ts                  # Catalog entry point
  includes/
    catalog.include.json    # Declare which packages to import from
    generated-includes.ts   # Auto-generated bridge (do not edit)
  components/
    components.json         # Component schemas
    components.tsx          # React implementations
  functions/
    functions.json          # Function schemas
    functions.ts            # Function implementations

Importing from a Catalog Package

To pull components and functions from an installed catalog package:

npx freesail import catalog --package @freesail/standard-catalog

Adding Components

  • Define the component schema in src/components/components.json.
  • Implement the React component in src/components/components.tsx.
  • Run npx freesail prepare catalog to regenerate the catalog.

Adding Functions

  • Define the function schema in src/functions/functions.json.
  • Implement the function in src/functions/functions.ts.
  • Run npx freesail prepare catalog to regenerate the catalog.

Build Pipeline

CommandDescription
npx freesail prepare catalogMerge schemas and generate weather-catalog.json
npx freesail validate catalogValidate implementations match the catalog schema
npx freesail import catalog --package <name>Import components/functions from a catalog package
npm run buildCompile TypeScript (runs prepare + validate automatically)
npm run devWatch mode for development
npm run cleanRemove build artifacts

Registering the Catalog

In your application entry point:

import { FreesailProvider } from '@freesail/react';
import { WeatherCatalog } from '@freesail-community/weathercatalog';

function App() {
  return (
    <FreesailProvider
      gateway="/api"
      catalogDefinitions={[WeatherCatalog]}
    >
      {/* your app */}
    </FreesailProvider>
  );
}

Keywords

freesail

FAQs

Package last updated on 27 Mar 2026

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