From 1082341c806e0f48366d967ae3017513c1545453 Mon Sep 17 00:00:00 2001 From: nitayneeman Date: Fri, 7 Feb 2020 08:41:30 +0200 Subject: [PATCH 1/9] test: rename specs --- src/test/suite/extension.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/suite/extension.test.ts b/src/test/suite/extension.test.ts index 7e1588e..25da345 100644 --- a/src/test/suite/extension.test.ts +++ b/src/test/suite/extension.test.ts @@ -9,7 +9,7 @@ suite("Extension Test Suite", () => { suiteTeardown(() => clearDirectory(directoryPath)); - test('should commit with "chore" type', async () => { + test('should commit with "build" type', async () => { const sampleSubject = "add new file"; const expectedMessage = `build: ${sampleSubject}`; @@ -29,7 +29,7 @@ suite("Extension Test Suite", () => { assert.equal(message.includes(expectedMessage), true); }); - test('should commit with a scope and "chore" type', async () => { + test('should commit with a scope and "build" type', async () => { const sampleScope = "scope"; const sampleSubject = "add new file"; const expectedMessage = `build(${sampleScope}): ${sampleSubject}`; From eb68d3dfe5bbf4c6b7e3f25ba90ac3b6ca532a23 Mon Sep 17 00:00:00 2001 From: Egor Avakumov Date: Sun, 12 Jul 2020 01:12:16 +0700 Subject: [PATCH 2/9] docs(README): describe the conventions origin (#15) --- package.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package.json b/package.json index 8b9dc2b..6fc2695 100644 --- a/package.json +++ b/package.json @@ -103,6 +103,10 @@ { "type": "test", "description": "Development changes related to tests" + }, + { + "type": "chore", + "description": "Development changes related to scripts" } ], "items": { From 2425e844c7246e708ff7059fc6523fe35d39ca7e Mon Sep 17 00:00:00 2001 From: Nitay Neeman Date: Sat, 11 Jul 2020 21:13:43 +0300 Subject: [PATCH 3/9] Revert "docs(README): describe the conventions origin (#15)" (#17) This reverts commit eb68d3dfe5bbf4c6b7e3f25ba90ac3b6ca532a23. --- package.json | 4 ---- 1 file changed, 4 deletions(-) diff --git a/package.json b/package.json index 6fc2695..8b9dc2b 100644 --- a/package.json +++ b/package.json @@ -103,10 +103,6 @@ { "type": "test", "description": "Development changes related to tests" - }, - { - "type": "chore", - "description": "Development changes related to scripts" } ], "items": { From 11555e978ba4e2097f66fe497d27fcc0f2e78db3 Mon Sep 17 00:00:00 2001 From: Egor Avakumov Date: Sun, 12 Jul 2020 01:15:01 +0700 Subject: [PATCH 4/9] docs: add a link to angular conventions (#16) --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 8c691c5..b548524 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,8 @@ This Visual Studio Code extension enables to commit simply by the semantic messa Preview

+Notice that the default types are aligned with the Angular commit message [conventions](https://github.com/angular/angular/blob/master/CONTRIBUTING.md#type). +
## 👨🏻‍🏫 How to Use From 67600ba53123be2c7c45a0f14b7698fb5c565b89 Mon Sep 17 00:00:00 2001 From: michaelcurrin Date: Sun, 9 Aug 2020 14:12:25 +0200 Subject: [PATCH 5/9] Improve integration tests (#19) * fix: Update path to be relative to repo root and not the test dir * fix: Prevent error logged when dir exists --- scripts/pretest.sh | 4 ++-- src/test/runTest.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/pretest.sh b/scripts/pretest.sh index fd07655..ce176ac 100755 --- a/scripts/pretest.sh +++ b/scripts/pretest.sh @@ -1,5 +1,5 @@ -mkdir test-temp +mkdir -p test-temp cd test-temp -git init --quiet \ No newline at end of file +git init --quiet diff --git a/src/test/runTest.ts b/src/test/runTest.ts index b317851..01bfac7 100644 --- a/src/test/runTest.ts +++ b/src/test/runTest.ts @@ -5,7 +5,7 @@ async function main() { try { const extensionDevelopmentPath = path.resolve(__dirname, '../../'); const extensionTestsPath = path.resolve(__dirname, './suite/index'); - const testWorkspace = path.resolve(__dirname, './test-temp'); + const testWorkspace = path.resolve(__dirname, '../../test-temp'); await runTests({ extensionDevelopmentPath, From 19bad81abb87fed1c6c43f6805312d3c37f9d63c Mon Sep 17 00:00:00 2001 From: michaelcurrin Date: Sat, 29 Aug 2020 14:58:03 +0200 Subject: [PATCH 6/9] build: refactor pretest command (#20) * test: Use git init in NPM pretest * test: Delete unused pretest script --- package.json | 2 +- scripts/pretest.sh | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) delete mode 100755 scripts/pretest.sh diff --git a/package.json b/package.json index 8b9dc2b..2df1e2b 100644 --- a/package.json +++ b/package.json @@ -154,7 +154,7 @@ "vscode:prepublish": "npm run compile", "compile": "tsc -p ./", "watch": "tsc -watch -p ./", - "pretest": "npm run compile && ./scripts/pretest.sh", + "pretest": "npm run compile && git init test-temp --quiet", "test": "node ./out/test/runTest.js" }, "devDependencies": { diff --git a/scripts/pretest.sh b/scripts/pretest.sh deleted file mode 100755 index ce176ac..0000000 --- a/scripts/pretest.sh +++ /dev/null @@ -1,5 +0,0 @@ -mkdir -p test-temp - -cd test-temp - -git init --quiet From ce54a98bf301ffabed6c3d7642e259a7466fa89e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 29 Apr 2021 10:53:30 +0300 Subject: [PATCH 7/9] build(deps): bump y18n from 4.0.0 to 4.0.1 (#23) Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1. - [Release notes](https://github.com/yargs/y18n/releases) - [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md) - [Commits](https://github.com/yargs/y18n/commits) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 633a939..a1b6821 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "git-semantic-commit", - "version": "1.1.0", + "version": "2.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -986,9 +986,9 @@ "dev": true }, "y18n": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz", - "integrity": "sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.1.tgz", + "integrity": "sha512-wNcy4NvjMYL8gogWWYAO7ZFWFfHcbdbE57tZO8e4cbpj8tfUcwrwqSl3ad8HxpYWCdXcJUCeKKZS62Av1affwQ==", "dev": true }, "yargs": { From 39b7db441b5ea43d7ccbd4a84e352e48dee7a1c7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 29 Apr 2021 10:53:36 +0300 Subject: [PATCH 8/9] build(deps): bump lodash from 4.17.15 to 4.17.19 (#18) Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index a1b6821..fab240a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -561,9 +561,9 @@ } }, "lodash": { - "version": "4.17.15", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", - "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==", + "version": "4.17.19", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.19.tgz", + "integrity": "sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ==", "dev": true }, "log-symbols": { From b519016ef24a86dd0d62ca369507e6e1ffd99c09 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 29 Apr 2021 10:54:01 +0300 Subject: [PATCH 9/9] build(deps): bump https-proxy-agent from 2.2.2 to 2.2.4 (#14) Bumps [https-proxy-agent](https://github.com/TooTallNate/node-https-proxy-agent) from 2.2.2 to 2.2.4. - [Release notes](https://github.com/TooTallNate/node-https-proxy-agent/releases) - [Commits](https://github.com/TooTallNate/node-https-proxy-agent/compare/2.2.2...2.2.4) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index fab240a..f994d49 100644 --- a/package-lock.json +++ b/package-lock.json @@ -452,9 +452,9 @@ } }, "https-proxy-agent": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-2.2.2.tgz", - "integrity": "sha512-c8Ndjc9Bkpfx/vCJueCPy0jlP4ccCCSNDp8xwCZzPjKJUm+B+u9WX2x98Qx4n1PiMNTWo3D7KK5ifNV/yJyRzg==", + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-2.2.4.tgz", + "integrity": "sha512-OmvfoQ53WLjtA9HeYP9RNrWMJzzAz1JGaSFr1nijg0PVR1JaD/xbJq1mdEIIlxGpXp9eSe/O2LgU9DJmTPd0Eg==", "dev": true, "requires": { "agent-base": "^4.3.0",