From a4b87e80d097a9492751a7f3a7fa40fd4940b2bf Mon Sep 17 00:00:00 2001 From: Adrian Mejia Date: Fri, 8 May 2020 15:47:37 -0400 Subject: [PATCH] :wrench: chore (ci): adjust semantic-release (#52) --- README.md | 25 ++++++++++++------------- package.json | 16 +++++++++++++++- 2 files changed, 27 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 3acbc60d..84f4b7dd 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,6 @@ _Note: If you prefer to consume the information more linearly then the [book for The topics are divided into four main categories as you can see below: -_(You can click on the triangle ⯈ to expand the topics)_ ### 📈 [Algorithms Analysis](book/part01-algorithms-analysis.asc) @@ -103,7 +102,7 @@ _(You can click on the triangle ⯈ to expand the topics)_
- Computer Science nuggets without all the mumbo-jumbo + Computer Science nuggets without all the mumbo-jumbo. (Click to expand) --- @@ -120,7 +119,7 @@ _(You can click on the triangle ⯈ to expand the topics)_
- Learn how to compare algorithms using Big O notation. + Learn how to compare algorithms using Big O notation. (Click to expand) --- @@ -142,7 +141,7 @@ they take different time to complete.
- 8 examples to explain with code how to calculate time complexity + 8 examples to explain with code how to calculate time complexity. (Click to expand) --- @@ -181,7 +180,7 @@ they take different time to complete.
- Understand the ins and outs of the most common data structures. + Understand the ins and outs of the most common data structures. (Click to expand) --- @@ -216,7 +215,7 @@ they take different time to complete.
- When to use an Array or Linked List. Know the tradeoffs. + When to use an Array or Linked List. Know the tradeoffs. (Click to expand) --- @@ -239,7 +238,7 @@ Use Linked Lists when:
- Build a List, Stack, and a Queue. + Build a List, Stack, and a Queue. (Click to expand) --- @@ -264,7 +263,7 @@ Use Linked Lists when:
- Understand one of the most versatile data structure of all: Maps + Understand one of the most versatile data structure of all: Hash Maps. (Click to expand) --- @@ -289,7 +288,7 @@ Also, [learn the difference between the different Maps implementations](book/con
- Know the properties of Graphs and Trees. + Know the properties of Graphs and Trees. (Click to expand) --- @@ -391,7 +390,7 @@ From unbalanced BST to balanced BST
- Never get stuck solving a problem with 7 simple steps + Never get stuck solving a problem with 7 simple steps. (Click to expand) --- @@ -414,7 +413,7 @@ Full details [here](book/part04-algorithmic-toolbox.asc)
- Master the most popular sorting algorithms (merge sort, quicksort, insertion sort, etc.) + Master the most popular sorting algorithms (merge sort, quicksort, etc.) (Click to expand) --- @@ -453,7 +452,7 @@ and then discuss efficient sorting algorithms O(n log n) such as:
- Learn different approaches to solve problems such as divide and conquer, dynamic programming, greedy algorithms, and backtracking. + Learn different approaches to solve problems such as divide and conquer, dynamic programming, greedy algorithms, and backtracking. (Click to expand) --- @@ -475,7 +474,7 @@ We are going to discuss the following techniques for solving algorithms problems ## FAQ
- How would I apply these to my day-to-day work? + How would I apply these to my day-to-day work? (Click to expand)

As a programmer, we have to solve problems every day. If you want to solve problems well, then it's good to know about a broad range of solutions. A lot of times, it's more efficient to learn existing resources than stumble upon the answer yourself. The more tools and practice you have, the better. This book helps you understand the tradeoffs among data structures and reason about algorithms performance.

diff --git a/package.json b/package.json index e1bf8e25..e785c8da 100644 --- a/package.json +++ b/package.json @@ -103,7 +103,21 @@ "tagFormat": "${version}", "branch": "master", "plugins": [ - "@semantic-release/commit-analyzer", + ["@semantic-release/commit-analyzer", { + "preset": "angular", + "releaseRules": [ + {"type": "fix", "release": "patch"}, + {"type": "feat", "release": "minor"}, + {"type": "break", "release": "major"}, + {"emoji": ":bug:", "release": "patch"}, + {"emoji": ":pencil:", "release": "patch"}, + {"emoji": ":sparkles:", "release": "minor"}, + {"emoji": ":boom:", "release": "major"} + ], + "parserOpts": { + "noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES"] + } + }], "@semantic-release/release-notes-generator", "@semantic-release/changelog", "@semantic-release/github",