Skip to content

Commit 26a756c

Browse files
authored
Merge pull request #20 from firefliesai/chore-sc-70927-improve-readme
chore: improve README and bump to 1.0.1
2 parents 3dcbccd + 76b3776 commit 26a756c

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ All notable changes to Schema Forge will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.0.1] - 2025-03-25
9+
10+
1. Improve README
11+
812
## [1.0.0] - 2025-03-22
913

1014
### 🎉 First Official Release
@@ -44,4 +48,4 @@ Schema Forge is now ready for production use! This release provides a complete T
4448
- First stable release with a complete feature set
4549
- Documentation with comprehensive examples
4650
- Full test coverage for all supported features and LLM providers
47-
- CI/CD pipeline for quality assurance
51+
- CI/CD pipeline for quality assurance

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Schema Forge
22

3-
[![npm version](https://img.shields.io/npm/v/schema-forge.svg)](https://www.npmjs.com/package/@firefliesai/schema-forge)
3+
[![npm version](https://img.shields.io/npm/v/@firefliesai/schema-forge.svg)](https://www.npmjs.com/package/@firefliesai/schema-forge)
44
[![License: Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
55

66
Schema Forge is a powerful TypeScript library that transforms your TypeScript classes into JSON Schema definitions, with special support for LLM (Large Language Model) function calling formats including OpenAI, Anthropic Claude, and Google Gemini. It also provides direct converters to transform your existing JSON Schemas into LLM-compatible formats without requiring TypeScript classes.
@@ -123,13 +123,10 @@ import 'reflect-metadata';
123123

124124
// Option 1: Import individual exports (most common)
125125
import { ToolMeta, classToJsonSchema } from '@firefliesai/schema-forge';
126-
// @ToolMeta({ name: 'example' })
127-
// classToJsonSchema(UserClass);
128126

129127
// Option 2: Import Schema object (alternative)
128+
// Schema object contains all exports (ToolMeta, ToolProp, classToJsonSchema, etc.)
130129
import { Schema } from '@firefliesai/schema-forge';
131-
// @Schema.ToolMeta({ name: 'example' })
132-
// Schema.classToJsonSchema(UserClass);
133130
```
134131

135132
### TypeScript Configuration

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@firefliesai/schema-forge",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"main": "dist/lib/index.js",
55
"types": "dist/lib/index.d.ts",
66
"exports": {

0 commit comments

Comments
 (0)