beavuck-time 2.4.12 → 2.5.1
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/CONTRIBUTING.md +23 -41
- package/openapi/swagger.json +1 -1
- package/package.json +5 -5
package/CONTRIBUTING.md
CHANGED
|
@@ -1,57 +1,39 @@
|
|
|
1
1
|
# ⏲️ Beavuck Time
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Thanks for contributing!
|
|
4
4
|
|
|
5
|
-
## 🈸
|
|
5
|
+
## 🈸 Issues
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
help you as quickly as possible.
|
|
7
|
+
Use the templates when opening issues:
|
|
9
8
|
|
|
10
|
-
|
|
9
|
+
- 🐞 [Bug report](https://gitlab.com/beavuck-services/time/-/issues/new?issuable_template=bug)
|
|
10
|
+
- 💡 [Enhancement request](https://gitlab.com/beavuck-services/time/-/issues/new?issuable_template=enhancement)
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
## 🔀 Merge requests
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
If you hate TDD, this might not be the project for you.
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
### Commit style
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
**Format:** `emoji Action that you did`
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
**Example:** `✏️ Fix typo in README`
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
Rules:
|
|
23
|
+
- Short, imperative tense
|
|
24
|
+
- Start with relevant emoji
|
|
25
|
+
- Capitalize first word
|
|
26
|
+
- No period at the end
|
|
23
27
|
|
|
24
|
-
|
|
28
|
+
### TDD workflow
|
|
25
29
|
|
|
26
|
-
|
|
30
|
+
1. **First commit:** Failing tests that demonstrate the bug/feature
|
|
31
|
+
2. **Second commit:** Code that makes tests pass
|
|
27
32
|
|
|
28
|
-
|
|
33
|
+
All pre-existing tests must still pass.
|
|
29
34
|
|
|
30
|
-
|
|
31
|
-
quickly as possible.
|
|
35
|
+
### Templates
|
|
32
36
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
- **Commits**:
|
|
38
|
-
- Your MR will need to be separated into digestible, _logical commits_, with a clear message for each. To fit
|
|
39
|
-
with this project's conventions, a _commit message's style_ should be short, in the imperative, start with a relevant emoji,
|
|
40
|
-
have its first word be capitalized, and not end with a period. For example: `✏️ Fix typo in README`.
|
|
41
|
-
- Your MR will need to follow TDD principles:
|
|
42
|
-
- _First, commit failing tests_ targeting the bug or enhancement in question.
|
|
43
|
-
- Then, commit the code that does the thing -- the previously failing tests should now pass. (The pre-existing tests
|
|
44
|
-
should also still pass, obviously.)
|
|
45
|
-
- **Title**: Should be treated like a very important commit message, since it will appear as a commit message on the
|
|
46
|
-
`main` branch. See sub-parts below for specific guidelines.
|
|
47
|
-
- **Template**: Choose the relevant template (see sub-parts below), then follow the instructions within said template.
|
|
48
|
-
|
|
49
|
-
### 🐛 Bug fixes
|
|
50
|
-
|
|
51
|
-
- **Title**: Should follow the convention `🐛 Fix #{{issue_number}}: {{very_short_description_in_the_imperative}}`
|
|
52
|
-
- **Description (Template)**: Please choose the `bug_fix` MR template when creating the MR.
|
|
53
|
-
|
|
54
|
-
### ✨ Enhancements, new features, etc.
|
|
55
|
-
|
|
56
|
-
- **Title**: `✨ Add #{{issue_number}}: {{very_short_description_in_the_imperative}}`
|
|
57
|
-
- **Description (Template)**: Please choose the `enhancement` MR template when creating the MR.
|
|
37
|
+
Pick the right template when creating your MR:
|
|
38
|
+
- `bug_fix` for fixes
|
|
39
|
+
- `enhancement` for new features
|
package/openapi/swagger.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "beavuck-time",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.5.1",
|
|
4
4
|
"description": "Get time in ISO format, in UTC timezone, from a simple, lightweight node server",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"time",
|
|
@@ -64,19 +64,19 @@
|
|
|
64
64
|
"@types/cors": "^2.8.19",
|
|
65
65
|
"@types/express": "^5.0.6",
|
|
66
66
|
"@types/jest": "^30.0.0",
|
|
67
|
-
"@types/node": "^25.0.
|
|
67
|
+
"@types/node": "^25.0.5",
|
|
68
68
|
"@types/supertest": "^6.0.3",
|
|
69
69
|
"eslint": "^9.39.2",
|
|
70
70
|
"globals": "^17.0.0",
|
|
71
71
|
"jest": "^30.2.0",
|
|
72
72
|
"nodemon": "^3.1.11",
|
|
73
|
-
"npm-check-updates": "^19.
|
|
73
|
+
"npm-check-updates": "^19.3.1",
|
|
74
74
|
"prettier": "3.7.4",
|
|
75
|
-
"supertest": "^7.
|
|
75
|
+
"supertest": "^7.2.2",
|
|
76
76
|
"ts-jest": "^29.4.6",
|
|
77
77
|
"ts-node": "^10.9.2",
|
|
78
78
|
"typescript": "^5.9.3",
|
|
79
|
-
"typescript-eslint": "^8.
|
|
79
|
+
"typescript-eslint": "^8.52.0"
|
|
80
80
|
},
|
|
81
81
|
"engines": {
|
|
82
82
|
"node": ">=18.20.8"
|