@vexip-ui/scripts
TypeScript icon, indicating that this package has built-in type declarations

1.1.4 • Public • Published

@vexip-ui/scripts

This package provides common scripts for vexip-ui components, it is published as a package that can be used standalone.

Install

pnpm i -D @vexip-ui/scripts

Usage

Release

Refer to Vexip UI release script.

import { logger, release, run } from '@vexip-ui/scripts'

release({
  pkgDir: 'Absolute package directory path',
  // isDryRun: true,
  // preId: 'beta'
  // publish: true,
  runTest: () => run('pnpm', ['test']),
  runBuild: () => run('pnpm', ['build']),
  runChangelog: () => run('pnpm', ['changelog'])
}).catch(error => {
  logger.error(error)
  process.exit(1)
})

Publish

Refer to Vexip UI publish script.

import { logger, publish } from '@vexip-ui/scripts'

publish({
  pkgDir: 'Absolute package directory path'
  // isDryRun: false,
  // releaseTag: 'bete'
}).catch(error => {
  logger.error(error)
  process.exit(1)
})

/@vexip-ui/scripts/

    Package Sidebar

    Install

    npm i @vexip-ui/scripts

    Weekly Downloads

    5

    Version

    1.1.4

    License

    MIT

    Unpacked Size

    35.3 kB

    Total Files

    10

    Last publish

    Collaborators

    • qmhc