convert-csv-to-json 2.26.0 → 2.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/SECURITY.md +2 -0
- package/package.json +1 -1
- package/semantic-versioning.sh +4 -4
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# CSVtoJSON
|
|
2
|
-
[](https://github.com/iuccio/csvToJson/actions/workflows/ci-cd.yml)
|
|
3
3
|

|
|
4
4
|
[](https://snyk.io/test/github/iuccio/csvToJson)
|
|
5
5
|
[](https://codeclimate.com/github/iuccio/csvToJson)
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
+ [Encoding](#encoding)
|
|
33
33
|
* [Chaining Pattern](#chaining-pattern)
|
|
34
34
|
- [Development](#development)
|
|
35
|
-
- [CI
|
|
35
|
+
- [CI CD](#ci-cd-github-action)
|
|
36
36
|
- [License](#license)
|
|
37
37
|
- [Buy me a Coffee](#buy-me-a-coffee)
|
|
38
38
|
|
|
@@ -309,7 +309,7 @@ csvToJson.fieldDelimiter(',')
|
|
|
309
309
|
npm run test-debug
|
|
310
310
|
~~~
|
|
311
311
|
|
|
312
|
-
## CI
|
|
312
|
+
## CI CD github action
|
|
313
313
|
Pushing on the master branch, depending on the git message, an new version will always be released.
|
|
314
314
|
If the commit message contains the keyword:
|
|
315
315
|
* **[MAJOR]**: new major relase, e.g. v1.0.0 -> v2.0.0
|
package/SECURITY.md
CHANGED
|
@@ -14,6 +14,7 @@ A generated Github Depedabot PR is normally quickly merged and a new version is
|
|
|
14
14
|
|
|
15
15
|
| Version | Supported |
|
|
16
16
|
| ------- | ------------------ |
|
|
17
|
+
| 2.29.0 | :white_check_mark: |
|
|
17
18
|
| 2.2.0 | :white_check_mark: |
|
|
18
19
|
| 2.0.0 | :white_check_mark: |
|
|
19
20
|
| 1.4.0 | :white_check_mark: |
|
|
@@ -24,6 +25,7 @@ A generated Github Depedabot PR is normally quickly merged and a new version is
|
|
|
24
25
|
|
|
25
26
|
| Version | Supported |
|
|
26
27
|
| ------- | ------------------ |
|
|
28
|
+
| 2.29.0 | :white_check_mark: |
|
|
27
29
|
| 2.2.0 | :white_check_mark: |
|
|
28
30
|
| 2.0.0 | :white_check_mark: |
|
|
29
31
|
| 1.4.0 | :white_check_mark: |
|
package/package.json
CHANGED
package/semantic-versioning.sh
CHANGED
|
@@ -15,7 +15,7 @@ fi
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
npm_release(){
|
|
18
|
-
|
|
18
|
+
RELEASE_COMMIT_MSG="new release [skip ci]"
|
|
19
19
|
PATCH_MSG="[PATCH]";
|
|
20
20
|
MAJOR_MSG="[MAJOR]";
|
|
21
21
|
echo "Parsing git message...";
|
|
@@ -23,13 +23,13 @@ npm_release(){
|
|
|
23
23
|
echo "Last commit message: ${COMMIT_MSG}";
|
|
24
24
|
if [[ $COMMIT_MSG == *"$PATCH_MSG"* ]]; then
|
|
25
25
|
echo "Executing new PATCH release..."
|
|
26
|
-
npm version patch --force -m "$
|
|
26
|
+
npm version patch --force -m "{$RELEASE_COMMIT_MSG";
|
|
27
27
|
elif [[ $COMMIT_MSG == *"$MAJOR_MSG"* ]]; then
|
|
28
28
|
echo "Executing new MAJOR release..."
|
|
29
|
-
npm version major --force -m "$
|
|
29
|
+
npm version major --force -m "${RELEASE_COMMIT_MSG}";
|
|
30
30
|
else
|
|
31
31
|
echo "Executing new MINOR release...";
|
|
32
|
-
npm version minor --force -m "$
|
|
32
|
+
npm version minor --force -m "${RELEASE_COMMIT_MSG}";
|
|
33
33
|
fi
|
|
34
34
|
echo "Publish new version..."
|
|
35
35
|
npm publish;
|