@forestadmin/devops
Advanced tools
Comparing version 1.0.0 to 1.0.1
# Change Log | ||
## [Unreleased] | ||
### Fixed | ||
- Technical - Fix release script to set the `withVersion` mode. | ||
## RELEASE 1.0.1 - 2019-09-12 | ||
### Added | ||
- Technical - Add a `publish` command to publish the package on NPM. | ||
- Technical - Add a release script. | ||
### Fixed | ||
- Technical - Fix a test. | ||
- Release Notes - Fix the default Slack channel. | ||
## RELEASE 1.0.0 - 2019-09-12 | ||
@@ -6,0 +17,0 @@ ### Added |
{ | ||
"name": "@forestadmin/devops", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Forest Admin internal DevOps toolbox", | ||
@@ -15,2 +15,3 @@ "main": "index.js", | ||
"readme:update-coverage": "yarn test:coverage && yarn coverage:report:lcov && node ./scripts/badge-coverage-updater.js", | ||
"release": "node ./scripts/release.js", | ||
"publish": "npm publish --access public" | ||
@@ -44,2 +45,3 @@ }, | ||
"chai-as-promised": "7.1.1", | ||
"dotenv": "8.1.0", | ||
"eslint": "6.3.0", | ||
@@ -46,0 +48,0 @@ "eslint-config-airbnb-base": "14.0.0", |
@@ -21,3 +21,3 @@ const { WebClient } = require('@slack/client'); | ||
const channel = options.channel || 'CMLBBF6Q3'; | ||
const channel = options.channel || 'G501BDD5W'; | ||
const withVersion = options.withVersion || false; | ||
@@ -24,0 +24,0 @@ |
@@ -10,2 +10,3 @@ const mockFs = require('mock-fs'); | ||
WronglyFormattedChangelogError, | ||
ChangelogMissingError, | ||
} = require('../../utils/errors'); | ||
@@ -56,5 +57,12 @@ let ReleaseNoteCreator = require('../../services/release-note-creator'); | ||
describe('with no CHANGELOG.md', () => { | ||
before(() => { | ||
mockFs({}); | ||
}); | ||
after(() => { | ||
mockFs.restore(); | ||
}); | ||
it('should throw an error', () => { | ||
expect(() => new ReleaseNoteCreator('fake', '😁').perform()) | ||
.to.throw(WronglyFormattedChangelogError); | ||
expect(() => new ReleaseNoteCreator('fake', '😁').perform()).to.throw(ChangelogMissingError); | ||
}); | ||
@@ -61,0 +69,0 @@ }); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
181052
19
2092
11
6