JSPM

@joycostudio/tempo

0.0.5
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 9
    • Score
      100M100P100Q55133F
    • License ISC

    A gsap tool to debug your animations

    Package Exports

    • @joycostudio/tempo

    Readme

    JOYCO Logo  JOYCO | Tempo

    Features Description
    ๐Ÿš€ Quick Setup Initialize your library with a single command using pnpm setup:template
    ๐Ÿ“ฆ Modern Build System Built with tsup for fast, modern builds supporting ESM and CJS
    ๐Ÿ”„ Automatic Releases Optional automated publishing and version management with changesets
    ๐Ÿ” PR Preview Optional package preview builds for every PR and commit with pkg.pr.new
    ๐ŸŽฏ TypeScript Ready Full TypeScript support with strict type checking
    ๐Ÿงน Code Quality ESLint and Prettier pre-configured for code quality
    โš›๏ธ React Support React support with proper peer dependencies React 19 + React Compiler ready
    ๐Ÿ”’ Type Safety Strict TypeScript configuration for better type safety

    โ—๏ธ MUST DO ON TEMPLATE FORK โ—๏ธ

    This template has sample data by default. So run the setup script as soon as you fork & clone.

    pnpm setup:template

    This will fill package information and install deps for you. Remember to commit.

    If you enable PR & commit package preview you need to install PKG.PR.NEW on the target repository.

    package.json defaults

    • author: joyco.studio
    • publishConfig.access: public
    • version: 0.0.0
    • license: ISC

    ๐Ÿ‘€ Good to know

    If you DON't need react as a peer dependency you NEED to delete it.

    # 1. Remove both the devDependencies and peerDependencies
    pnpm remove @types/react react

    Then manually remove the peerDependencies section from package.json and also check eslint.config.js, tsconfig.json.


    ๐Ÿค– Automatic Workflows

    This template comes with two GitHub Actions workflows (currently disabled for convenience):

    1. Release Workflow (.github/workflows/release.yml.disabled): Automates the release process using Changesets. When enabled, it will automatically create release pull requests and publish to npm when changes are pushed to the main branch.

    2. Publish Any Commit (.github/workflows/publish-any-commit.yml.disabled): A utility workflow that can build and publish packages for any commit or pull request.

    To enable these workflows, simply remove the .disabled extension from the workflow files in the .github/workflows/ directory. We recommend enabling them to automate your package's release process.


    ๐Ÿฆ‹ Version Management

    This library uses Changesets to manage versions and publish releases. Here's how to use it:

    Adding a changeset

    When you make changes that need to be released:

    pnpm changeset

    This will prompt you to:

    1. Select which packages you want to include in the changeset
    2. Choose whether it's a major/minor/patch bump
    3. Provide a summary of the changes

    Creating a release

    To create a new version and update the changelog:

    # 1. Create new versions of packages
    pnpm version:package
    
    # 2. Release (builds and publishes to npm)
    pnpm release

    Remember to commit all changes after creating a release.