From 50b08b91ed449084693530eedb954c81d203f9c7 Mon Sep 17 00:00:00 2001 From: Callum Loh Date: Tue, 23 Aug 2022 14:17:52 +0100 Subject: [PATCH] fix: Commit for first release --- CHANGELOG.md | 0 package-lock.json | 40 ++++++++++++++++++++++++++++++++++++++++ package.json | 17 ++++++++++------- 3 files changed, 50 insertions(+), 7 deletions(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..e69de29 diff --git a/package-lock.json b/package-lock.json index af8d906..800f72e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,7 +15,9 @@ "@cloudflare/workers-types": "^3.1.1", "@semantic-release/changelog": "^6.0.1", "@semantic-release/commit-analyzer": "^9.0.2", + "@semantic-release/git": "^10.0.1", "@semantic-release/github": "^8.0.5", + "@semantic-release/npm": "^9.0.1", "@semantic-release/release-notes-generator": "^10.0.3", "@types/jest": "^27.0.2", "@typescript-eslint/eslint-plugin": "^5.10.0", @@ -1724,6 +1726,28 @@ "node": ">=14.17" } }, + "node_modules/@semantic-release/git": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/@semantic-release/git/-/git-10.0.1.tgz", + "integrity": "sha512-eWrx5KguUcU2wUPaO6sfvZI0wPafUKAMNC18aXY4EnNcrZL86dEmpNVnC9uMpGZkmZJ9EfCVJBQx4pV4EMGT1w==", + "dev": true, + "dependencies": { + "@semantic-release/error": "^3.0.0", + "aggregate-error": "^3.0.0", + "debug": "^4.0.0", + "dir-glob": "^3.0.0", + "execa": "^5.0.0", + "lodash": "^4.17.4", + "micromatch": "^4.0.0", + "p-reduce": "^2.0.0" + }, + "engines": { + "node": ">=14.17" + }, + "peerDependencies": { + "semantic-release": ">=18.0.0" + } + }, "node_modules/@semantic-release/github": { "version": "8.0.5", "resolved": "https://registry.npmjs.org/@semantic-release/github/-/github-8.0.5.tgz", @@ -12798,6 +12822,22 @@ "integrity": "sha512-5hiM4Un+tpl4cKw3lV4UgzJj+SmfNIDCLLw0TepzQxz9ZGV5ixnqkzIVF+3tp0ZHgcMKE+VNGHJjEeyFG2dcSw==", "dev": true }, + "@semantic-release/git": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/@semantic-release/git/-/git-10.0.1.tgz", + "integrity": "sha512-eWrx5KguUcU2wUPaO6sfvZI0wPafUKAMNC18aXY4EnNcrZL86dEmpNVnC9uMpGZkmZJ9EfCVJBQx4pV4EMGT1w==", + "dev": true, + "requires": { + "@semantic-release/error": "^3.0.0", + "aggregate-error": "^3.0.0", + "debug": "^4.0.0", + "dir-glob": "^3.0.0", + "execa": "^5.0.0", + "lodash": "^4.17.4", + "micromatch": "^4.0.0", + "p-reduce": "^2.0.0" + } + }, "@semantic-release/github": { "version": "8.0.5", "resolved": "https://registry.npmjs.org/@semantic-release/github/-/github-8.0.5.tgz", diff --git a/package.json b/package.json index 3af3265..ed3840c 100644 --- a/package.json +++ b/package.json @@ -22,18 +22,19 @@ "main" ], "plugins": [ - "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator", "@semantic-release/changelog", + "@semantic-release/github", + "@semantic-release/npm", [ - "@semantic-release/github", + "@semantic-release/git", { "assets": [ - { - "path": "dist", - "label": "Build Files" - } - ] + "package.json", + "package-lock.json", + "CHANGELOG.md" + ], + "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" } ] ] @@ -77,7 +78,9 @@ "@cloudflare/workers-types": "^3.1.1", "@semantic-release/changelog": "^6.0.1", "@semantic-release/commit-analyzer": "^9.0.2", + "@semantic-release/git": "^10.0.1", "@semantic-release/github": "^8.0.5", + "@semantic-release/npm": "^9.0.1", "@semantic-release/release-notes-generator": "^10.0.3", "@types/jest": "^27.0.2", "@typescript-eslint/eslint-plugin": "^5.10.0",