Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

@uploadcare/release-it

1.1.0 • Public • Published

Release-it for Uploadcare

This is a set of scripts used to release our open-source projects. It is based on release-it and gh-pages libraries.

NPM version GitHub release  Uploadcare stack on StackShare

Requirements

Expected project structure:

.
├── .release-it.json
├── demo (needed for deploy-demo)
│   └── index.html
├── dist
    ├── uploadcare-plugin.js
├── index.html (needed for deploy-demo)

Install

npm install @uploadcare/release-it --save-dev

Configuration

Create file named .release-it.json inside your project:

touch .release-it.json

Possible options:

{
  "archiveName": "uploadcare-plugin",
  "buildCommand": "npm run build",
  "githubRelease": true,
  "createArchives": true,
  "npmPublish": true,
  "deployRelease": true,
  "deployDemo": true,
  "dryRun": false,
  "demoSrc": ["index.html", "demo/**", "dist/**"],
  "releaseSrc": "./dist/",
}

Property archiveName is the name for tar and zip archives attached to the GitHub release. By default it is package name from package.json.

These options is passed down to the release-it so you can set some specific options for it.

Usage

To start deploy

./node_modules/.bin/release-it

Keywords

none

Install

npm i @uploadcare/release-it

DownloadsWeekly Downloads

1

Version

1.1.0

License

MIT

Unpacked Size

9.46 kB

Total Files

14

Last publish

Collaborators

  • avatar
  • avatar