mirror of
https://github.com/bourquep/mysa2mqtt.git
synced 2025-10-21 15:08:07 +00:00

* Renamed environment variables * Moved MqttSettings to main.tsx * Using Commander for CLI arguments * PinoLogger * Option for json log format * Updated mysa-js-sdk to latest version * Moved options to their own module * Extracted session file management to the session module * Added deviceId meta to thermostat instance logger * Display version from package.json; added copyright * Create README.md * Build with tsup * Update .gitignore * Remove prepublishOnly npm script * Distributed CLI executable is now working * Update README.md * Dockerfile * Minify the build output * Update README.md * Create initial Github workflow * Create release.config.mjs * Read package version at run-time, not build-time * Update README.md * Create CONTRIBUTING.md * WIP: docker CI job * Trying multiple tags * Enable docker build cache * Testing the docker build cache * Dockerfile: set npm version in final stage for better caching * Testing docker build cache * Moved VERSION arg to the final build stage * Finalized the `docker` build job * Added copyright header to all source files * Specify radix when parsing integer options
39 lines
1.2 KiB
JavaScript
39 lines
1.2 KiB
JavaScript
/** @type {import('semantic-release').GlobalConfig} */
|
|
const semanticReleaseConfig = {
|
|
branches: ['main'],
|
|
plugins: [
|
|
[
|
|
'@semantic-release/commit-analyzer',
|
|
{
|
|
preset: 'conventionalcommits',
|
|
releaseRules: [{ type: 'chore', scope: 'deps', release: 'patch' }]
|
|
}
|
|
],
|
|
[
|
|
'@semantic-release/release-notes-generator',
|
|
{
|
|
preset: 'conventionalcommits',
|
|
presetConfig: {
|
|
types: [
|
|
{ type: 'feat', section: '✨ Features' },
|
|
{ type: 'fix', section: '🐛 Bug Fixes' },
|
|
{ type: 'docs', section: '📚 Documentation' },
|
|
{ type: 'test', section: '🧪 Tests' },
|
|
{ type: 'perf', section: '⚡️ Performance Improvements' },
|
|
{ type: 'refactor', section: '♻️ Code Refactoring' },
|
|
{ type: 'style', section: '💄 Style' },
|
|
{ type: 'chore', section: '🔧 Maintenance' },
|
|
{ type: 'build', section: '📦 Build System' },
|
|
{ type: 'ci', section: '👷 Continuous Integration' },
|
|
{ type: 'revert', section: '⏪ Reverts' }
|
|
]
|
|
}
|
|
}
|
|
],
|
|
'@semantic-release/npm',
|
|
'@semantic-release/github'
|
|
]
|
|
};
|
|
|
|
export default semanticReleaseConfig;
|