Monorepo for @parallel-web npm packages.
@parallel-web/ai-sdk-tools- AI SDK tools for Parallel Web
This is a pnpm monorepo. Make sure you have pnpm installed:
npm install -g pnpmInstall dependencies:
pnpm install# Build all packages
pnpm build
# Run tests
pnpm test
# Run tests in CI mode (no watch)
pnpm test:ci
# Lint
pnpm lint
# Fix linting issues
pnpm lint:fix
# Format code
pnpm format
# Check formatting
pnpm format:check
# Type check
pnpm typecheck
# Clean build artifacts
pnpm cleanTo run a command in a specific package:
pnpm --filter @parallel-web/ai-sdk-tools build
pnpm --filter @parallel-web/ai-sdk-tools test- Create a new directory in
packages/ - Add a
package.jsonwith the package name@parallel-web/package-name - Set up TypeScript config extending from root
- Add build configuration (tsup)
- Implement your package
Packages are published to npm using automated GitHub Actions workflows.
Every push to main can be published to a canary release with version format x.y.z-canary.{shortSHA}.
- Published with the
canarynpm dist-tag - Does not modify
package.jsonin git - Includes full CI validation before publishing
Install canary version:
npm install @parallel-web/ai-sdk-tools@canaryStable releases are triggered manually via GitHub Actions:
- Go to Actions → Publish Stable Release → Run workflow
- Select version bump type:
patch: Bug fixes (1.2.3 → 1.2.4)minor: New features (1.2.3 → 1.3.0)major: Breaking changes (1.2.3 → 2.0.0)
- Workflow will:
- Run full test suite
- Bump version in
package.json - Generate changelog from conventional commits
- Create git tag and commit
- Publish to npm with
latesttag - Create GitHub release
Install stable version:
npm install @parallel-web/ai-sdk-toolsFor proper changelog generation, follow conventional commit format:
feat: add new feature→ triggers minor version bumpfix: resolve bug→ triggers patch version bumpfeat!: breaking changeorBREAKING CHANGE:→ triggers major version bump
Required GitHub repository secret:
- Name:
NPM_PARALLEL_DEVELOPERS_PASSWORD - Value: npm automation token from
developers@parallel.aiaccount - How to create:
- Log into npmjs.com with
developers@parallel.ai - Go to Account Settings → Access Tokens
- Generate New Token → Select Automation type
- Copy token and add to GitHub repository secrets
- Log into npmjs.com with
MIT