1.1.2 • Published 2 years ago

@ccrpd/release-script v1.1.2

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Release Script

Installation

Install the package in your Vue application

yarn add @ccrpd/release-script

And then add the following to a configuration file in the root of your project. The file must be named release.config.js.

module.exports = {
  filepaths: {
    dev: '<path>',
    staging: '<path>',
    prod: '<path>'
  },
  defaultFilePath: '<path>',
  autoBuild: false,
  validateTagsFlag: true
}

Note: The <path> value should be an absolute path to the publishing directory. Example: //vsr7797/WebSites/OrbitTechnology.com/manage360-dev/

Optional: I would recommend adding a scipt to you projects package.json to make it easier to use.

{
  "scripts": { 
    "release": "node node_modules/@ccrpd/release-script"
  }
}

How to Use

If you have added the release script to you package.json, you can now run the following command with npm/yarn.

yarn release <tags> <options>

Note: <tags> and <options> are optional. If no <tags> are provided then it will publish to the defaultFilePath provided in the config file.

If you want to publish to multiple paths at the same time, you can pass in multiple <tags>.

yarn release dev staging

Option Arguments

-b : If provided, will build the project before publishing. You can also set autoBuild to true in the configuration file if you always want to build.

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.33

2 years ago

1.0.32

2 years ago

1.0.31

2 years ago

1.0.30

2 years ago

1.0.29

2 years ago

1.0.28

2 years ago

1.0.27

2 years ago

1.0.26

2 years ago

1.0.25

2 years ago

1.0.24

2 years ago

1.0.23

2 years ago

1.0.22

2 years ago

1.0.21

2 years ago

1.0.20

2 years ago

1.0.19

2 years ago

1.0.18

2 years ago

1.0.17

2 years ago

1.0.16

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago