From 69256e744ddb139922f8db9921e809d8868c61ef Mon Sep 17 00:00:00 2001 From: francisu Date: Wed, 4 Nov 2020 05:28:19 -0800 Subject: [PATCH] chore: changelog, cleanup npm package, remove deployment from build --- .gitignore | 3 +-- .npmignore | 24 ++++++++++-------------- .travis.yml | 20 -------------------- CHANGELOG.md | 14 ++++++++++++++ package.json | 9 ++++----- scripts/create_npmrc_file.sh | 10 ---------- scripts/publish.sh | 7 ------- 7 files changed, 29 insertions(+), 58 deletions(-) delete mode 100755 scripts/create_npmrc_file.sh delete mode 100755 scripts/publish.sh diff --git a/.gitignore b/.gitignore index 10ffa11..8c479d5 100644 --- a/.gitignore +++ b/.gitignore @@ -31,6 +31,5 @@ node_modules .idea .nyc_output +mocha-multi-reporters*.tgz -yarn.lock -package-lock.json diff --git a/.npmignore b/.npmignore index b5325ec..ab99a8a 100644 --- a/.npmignore +++ b/.npmignore @@ -1,6 +1,9 @@ node_modules scripts +.editorconfig +.idea + .github artifacts tests @@ -9,24 +12,17 @@ tests .gitignore .travis.yml yarn.lock +yarn-error.log xunit.xml commitlint.config.js .nyc_output/ coverage -mocha-multi-reporters.tar.gz node_modules scripts -.github -artifacts -tests -.coveralls.yml -.eslint* -.gitignore -.travis.yml -yarn.lock -xunit.xml -commitlint.config.js -.nyc_output/ -coverage -mocha-multi-reporters.tar.gz +mocha-multi-reporters*.tgz + + +renovate.json +config.json +.ncurc.js diff --git a/.travis.yml b/.travis.yml index 52df368..630aef8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,23 +17,3 @@ install: yarn install --ignore-engines script: ./scripts/build.sh after_success: - cat artifacts/coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js -before_deploy: -- npm prune --production -- tar -czvf mocha-multi-reporters.tar.gz package.json index.js lib/* config.json LICENSE README.md CHANGELOG.md -- npm run deploy:prepare -deploy: - - provider: releases - api_key: - secure: os3PhiyAVCtZw0rrFIl06LZVVCaifosZrMnjJxRcnjEjdqpybsQUdjWxj3JMIIC0sjrQmk4NvMCbgw23zP4BemsGcPelzeFH/fx6nu9nSBYNx9Bq2cNBP4+wvFgdTLyphzk5z24UZ3MlJWpb7xXR6mn76k5knvH5WS67hdZ8EWMaQOPWiQq57sSI/hautBeQpwdU0+vzXdf6gWDK7bCuGAYMvjLRa6JIU242GuzS1vPrdjatfXEJmot6PtBLt042T2v56ijw1eAHc3Z9AxN0t8FySZd7up/YsQcQvOXrWShmp2yt1nO19WGozEO1t0XDub19Rx7jNwOv7LLKPJbD9gkjZ/LlTxZuWjj8KJxWt45Hn+GWEueyqsDdRSH2ZuPDFpRza4V2E5SjuP8FO0+uQlb2qnSFH/psWwK/dikjvbqaAE6vZbel0xKzxg54n1NIni/olpWh/iiUB3I9o0w/UM/yXN8rh4CaYwyW8dOAql3dBhW42r+guFjXb6YfPq+zEbYhNjBLFk9hEV92qpCJ4xH+noNmszrO5Ybgp+AQDtxqIfsKX+841T1Ca401xPpYuPHGRe9Bmz96P/HmFOE8iXzQPwZMridZkTocwfoZjUxsFkxz3JJJ+vNwh7M7OmYqoTLSCUyX8RPqItPUmmBGnw0gYtGBQtgt3kHGlbOTR3c= - file: mocha-multi-reporters.tar.gz - skip_cleanup: true - on: - repo: stanleyhlng/mocha-multi-reporters - branch: automatedRelease - node: "10" - - provider: script - skip_cleanup: true - script: ./scripts/publish.sh - on: - branch: automatedRelease - node: "12" diff --git a/CHANGELOG.md b/CHANGELOG.md index 1addf3c..9d962b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,20 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## [1.4.1](https://github.com/stanlyhlng/mocha-multi-reporters/compare/v1.1.7...v1.4.1) (2020-11-04) + +### Features + +First release after a long time of no maintenance, brings this package current with the [cypress-multi-reporters](https://www.npmjs.com/package/cypress-multi-reporters) changes over +the last couple of years. + +* Bring dependencies to current, including Mocha 8.2.0 +* [#72](https://github.com/stanleyhlng/mocha-multi-reporters/pull/72) Upgrade to pick up YOU54F changes from cypress-multi-reporter +* [#69](https://github.com/stanleyhlng/mocha-multi-reporters/pull/69) Finding reporter file using current directory does not work with yarn 2 +* [#61](https://github.com/stanleyhlng/mocha-multi-reporters/pull/61) Check reporter +* npm package cleanup + + ## [1.4.0](https://github.com/you54f/cypress-multi-reporters/compare/v1.3.0...v1.4.0) (2020-05-12) diff --git a/package.json b/package.json index 7f66e92..b62d86d 100644 --- a/package.json +++ b/package.json @@ -12,9 +12,7 @@ "scripts": { "devtest": "nyc mocha --require chai/register-expect --no-coverage --timeout 5000 tests/**/*.test.js*", "lint": "eslint .", - "test": "nyc mocha --require chai/register-expect --timeout 5000 tests/**/*.test.js*", - "deploy:prepare": "./scripts/create_npmrc_file.sh", - "release": "standard-version --release-as 1.4.1" + "test": "nyc mocha --require chai/register-expect --timeout 5000 tests/**/*.test.js*" }, "author": "Stanley Ng $NPMRC_FILE -echo "//registry.npmjs.org/:_authToken=${NPM_KEY}" >> $NPMRC_FILE -echo "//registry.npmjs.org/:username=stanleyhlng" >> $NPMRC_FILE -echo "//registry.npmjs.org/:email=yousafn@gmail.com" >> $NPMRC_FILE -echo "//registry.npmjs.org/:always-auth=true" >> $NPMRC_FILE - -set -x diff --git a/scripts/publish.sh b/scripts/publish.sh deleted file mode 100755 index bc8871c..0000000 --- a/scripts/publish.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash -e - -VERSION=$(grep '\"version\"' package.json | grep -E -o "([0-9\.]+(-[a-z\.0-9]+)?)") -echo "--> Releasing version ${VERSION}" -echo " Publishing mocha-multi-reporters@${VERSION}..." -npm publish --tag latest -echo " done!"