1.0.0 • Published 4 years ago

@romuleald/checkbetapackages v1.0.0

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

npm publisher

About

Provide 1 binary checkbetapackages: Will check your root package.json if it contains beta package (with - in version)

Install

Node.js

Node.js v10 or later required.

Npm

npm i @copfrontend/checkbetapackages -D

Dependencies

Independent 💥

Usage

#####Since it's binaries, so you'll only need to configure in your package.json:

  "scripts": {
    "checkbetapackages": "checkbetapackages",
  },
  "checkbetapackages": [
    "babel"
  ],

The checkbetapackages is an array of packages that won't be checked, in this example babel won't be checked.

####In your CI, use this YAML

npm-exists
steps:
- task: Npm@1
  displayName: 'npm run checkbetapackages verify there''s no beta package'
  inputs:
    command: custom
    verbose: false
    customCommand: 'run checkbetapackages'
    customEndpoint: 'AXA France Nexus npm'

example sample

Contributing

We welcome all contributions. Our contribution guidelines can be found in the CONTRIBUTING.md.

1.0.0

4 years ago