diff --git a/.releaserc b/.releaserc deleted file mode 100644 index 2c734e9..0000000 --- a/.releaserc +++ /dev/null @@ -1,4 +0,0 @@ -extends: - - '@codingame/semantic-release-config' -branches: - - main diff --git a/package-lock.json b/package-lock.json index 0bc90b7..742a0c4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -25,7 +25,7 @@ "devDependencies": { "@codingame/commitlint-config-codingame": "^1.0.3", "@codingame/eslint-config": "^1.1.2", - "@codingame/semantic-release-config": "^1.0.3", + "@codingame/semantic-release-rules": "^1.0.0", "@codingame/tsconfig": "^1.0.5", "@commitlint/cli": "^17.3.0", "@types/debounce": "^1.2.1", @@ -657,18 +657,11 @@ "typescript": "4.x" } }, - "node_modules/@codingame/semantic-release-config": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@codingame/semantic-release-config/-/semantic-release-config-1.0.3.tgz", - "integrity": "sha512-uI2iHwYeuuFwpcHxuBd17ko4vDo/qhULKidJMIA+DsghMwp19JD/6O3LetyGhGyqxDP9IWNiuum2MD3qkBR3Wg==", - "dev": true, - "dependencies": { - "@semantic-release/commit-analyzer": "9.0.2", - "@semantic-release/gitlab": "7.2.1", - "@semantic-release/npm": "9.0.1", - "@semantic-release/release-notes-generator": "10.0.3", - "semantic-release-monorepo": "7.0.5" - } + "node_modules/@codingame/semantic-release-rules": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@codingame/semantic-release-rules/-/semantic-release-rules-1.0.0.tgz", + "integrity": "sha512-qw5IJHQNzFylVP9myc8CL3SKhDw11vrakoZvtU7DHqs8qU24XYMyWOZjhY/sdlwgBOqwemZtZs4NfwwI2yzM8g==", + "dev": true }, "node_modules/@codingame/tsconfig": { "version": "1.0.5", @@ -3132,6 +3125,7 @@ "resolved": "https://registry.npmjs.org/cli-table3/-/cli-table3-0.6.3.tgz", "integrity": "sha512-w5Jac5SykAeZJKntOxJCrm63Eg5/4dhMWIcuTbo9rpE+brgaSZo0RuNJZeOyMgsUdhDeojvgyQLmjI+K50ZGyg==", "dev": true, + "peer": true, "dependencies": { "string-width": "^4.2.0" }, @@ -10519,6 +10513,7 @@ "resolved": "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz", "integrity": "sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==", "dev": true, + "peer": true, "engines": { "node": ">=6" } @@ -13660,18 +13655,11 @@ "dev": true, "requires": {} }, - "@codingame/semantic-release-config": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@codingame/semantic-release-config/-/semantic-release-config-1.0.3.tgz", - "integrity": "sha512-uI2iHwYeuuFwpcHxuBd17ko4vDo/qhULKidJMIA+DsghMwp19JD/6O3LetyGhGyqxDP9IWNiuum2MD3qkBR3Wg==", - "dev": true, - "requires": { - "@semantic-release/commit-analyzer": "9.0.2", - "@semantic-release/gitlab": "7.2.1", - "@semantic-release/npm": "9.0.1", - "@semantic-release/release-notes-generator": "10.0.3", - "semantic-release-monorepo": "7.0.5" - } + "@codingame/semantic-release-rules": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@codingame/semantic-release-rules/-/semantic-release-rules-1.0.0.tgz", + "integrity": "sha512-qw5IJHQNzFylVP9myc8CL3SKhDw11vrakoZvtU7DHqs8qU24XYMyWOZjhY/sdlwgBOqwemZtZs4NfwwI2yzM8g==", + "dev": true }, "@codingame/tsconfig": { "version": "1.0.5", @@ -15589,6 +15577,7 @@ "resolved": "https://registry.npmjs.org/cli-table3/-/cli-table3-0.6.3.tgz", "integrity": "sha512-w5Jac5SykAeZJKntOxJCrm63Eg5/4dhMWIcuTbo9rpE+brgaSZo0RuNJZeOyMgsUdhDeojvgyQLmjI+K50ZGyg==", "dev": true, + "peer": true, "requires": { "@colors/colors": "1.5.0", "string-width": "^4.2.0" @@ -21008,7 +20997,8 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz", "integrity": "sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==", - "dev": true + "dev": true, + "peer": true }, "p-reduce": { "version": "2.1.0", diff --git a/package.json b/package.json index b1dbc27..e1521c4 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "devDependencies": { "@codingame/commitlint-config-codingame": "^1.0.3", "@codingame/eslint-config": "^1.1.2", - "@codingame/semantic-release-config": "^1.0.3", + "@codingame/semantic-release-rules": "^1.0.0", "@codingame/tsconfig": "^1.0.5", "@commitlint/cli": "^17.3.0", "@types/debounce": "^1.2.1", diff --git a/release.config.js b/release.config.js new file mode 100644 index 0000000..f97da25 --- /dev/null +++ b/release.config.js @@ -0,0 +1,14 @@ +module.exports = { + branches: [ + 'main' + ], + plugins: [ + ['@semantic-release/commit-analyzer', { + preset: 'conventionalcommits', + releaseRules: '@codingame/semantic-release-rules' + }], + '@semantic-release/release-notes-generator', + '@semantic-release/npm', + '@semantic-release/github' + ] +} \ No newline at end of file