0.6.0 • Published 9 months ago

@procore/hammer-lib-tsup v0.6.0

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
github
Last release
9 months ago

@procore/hammer-lib-tsup

The tsup implementation of the lib:* commands.

Quick Start

Run any of the lib:* commands from the hammer command. If this package is not already installed, or is out-of-date, you will be prompted to install/upgrade.

Alternatively, you can install it directly:

yarn add -D @procore/hammer-lib-tsup

Configuration

Custom configuration is done using the hammer configuration file. The customization key is libTsup, and the configuration that should be returned should be compatible with the tsup defineConfig format.

export default {
    // NOTE: originalConfig is an array of tsup Options objects:
    // one for modern configuration, and one for legacy configuration
    // Please make sure that any customization you do accounts for
    // both configuration elements.
    libTsup(originalConfig) {
        const customizedConfig =
        // ... mutations, transformations, etc.
        return customizedConfig;
    }
}

NOTE: The default configuration should handle nearly all packages. If you find that you are doing a lot of customization, or the same change in multiple projects, consider reviewing your configuration with the UI Foundations team.

Development

This project uses yarn, and supports the following commands:

  • build: builds and bundles the project.
  • clean: deletes the output directory and any built files.
  • format: runs prettier on the project.
  • format:check: uses prettier to validate code format.
  • lint:code: uses eslint to lint code.
  • lint:types: uses TypeScript to validate types.
  • test: runs the unit test suite.
  • test:ci: run the unit test suite, reporting coverage.
0.6.0

9 months ago

0.5.2

10 months ago

0.5.0

1 year ago

0.5.1

12 months ago

0.4.0

1 year ago

0.3.1

1 year ago

0.3.0

1 year ago

0.2.0

1 year ago

0.1.0

1 year ago