1.0.0 • Published 8 months ago
@ifzai/connect2dify v1.0.0
@ifzai/connect2dify
A TypeScript library for connecting to Dify APIs.
Installation
npm install @ifzai/connect2dify
# or
pnpm add @ifzai/connect2dify
# or
yarn add @ifzai/connect2difySetup
Install the dependencies:
pnpm installGet started
Build the library:
pnpm buildBuild the library in watch mode:
pnpm devCommit Convention
This project follows Conventional Commits specification. All commit messages must be formatted as:
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]Types
- feat: A new feature
- fix: A bug fix
- docs: Documentation only changes
- style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
- refactor: A code change that neither fixes a bug nor adds a feature
- perf: A code change that improves performance
- test: Adding missing tests or correcting existing tests
- build: Changes that affect the build system or external dependencies
- ci: Changes to our CI configuration files and scripts
- chore: Other changes that don't modify src or test files
- revert: Reverts a previous commit
Examples
feat: add user authentication
fix: resolve memory leak in data processing
docs: update API documentation
style: format code with prettier
refactor: extract utility functions
perf: optimize database queries
test: add unit tests for user service
build: update dependencies
ci: add automated testing workflow
chore: update .gitignoreGit Hooks
This project uses Husky to run git hooks:
- pre-commit: Runs code formatting and tests
- commit-msg: Validates commit message format
The hooks will automatically run when you commit. If they fail, the commit will be rejected.
1.0.0
8 months ago