Skip to content

Commit 82cbceb

Browse files
authored
Merge pull request #3 from PoCInnovation/asyncflow/init
Asyncflow/init
2 parents ebf4667 + 837b6a5 commit 82cbceb

26 files changed

Lines changed: 3012 additions & 1618 deletions

.github/getting-started.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,12 @@ For each of the following branches, add the required protections.
1818

1919
```markdown
2020
- [x] Require a pull request before merging
21+
2122
- [x] Require approvals
2223
Required number of approvals before merging: 1
2324

2425
- [x] Require status checks to pass before merging
26+
2527
- [x] Require branches to be up to date before merging
2628

2729
- [x] Require conversation resolution before merging
@@ -36,6 +38,7 @@ This template provides the must-have documents.
3638
The README.md is the showcase of your project. It always must be clean and consistent. Otherwise, no one will care of your project.
3739

3840
Fill every sections of the [README.md](/README.md).
41+
3942
> If you add pictures, put them in the [assets](./assets/) folder.
4043
4144
#### CONTRIBUTING.md
@@ -49,6 +52,7 @@ Fill every sections of the [CONTRIBUTING.md](/CONTRIBUTING.md).
4952
The LICENSE protects your code and contributors.
5053

5154
This template provides an [Apache Licence 2.0](https://www.apache.org/licenses/LICENSE-2.0).
55+
5256
> If you want another one, check this [guide](https://choosealicense.com).
5357
5458
If your project doesn't belong to [PoC Innovation](https://github.com/PoCInnovation), make sure to update the copyrights of the [LICENCE](/LICENSE).
@@ -66,6 +70,7 @@ This template provides the must-have templates.
6670
An issue is a tool to track and focus tasks.
6771

6872
This template provides two issues templates :
73+
6974
- `Bug Report`
7075
- `Feature Request`
7176

@@ -119,6 +124,7 @@ This template provides some GitHub actions.
119124
A release is tool with changelogs that present a full history of a project.
120125

121126
This template provides an [action](./workflows/release-drafter.yml) that drafts [next releases notes](./release-drafter.yml) as pull requests are merged into the main branch. You don't need to update it.
127+
122128
> Check this [action's documentation](https://github.com/release-drafter/release-drafter) to understand how it works
123129
124130
### Settings
@@ -138,18 +144,19 @@ A task is associated as an issue.
138144

139145
The workflow to follow is:
140146

141-
1) Create a milestone
142-
2) Create all the needed issues linked to this milestone
143-
3) Manage the pull requests linked with these issues using the GitHib project
144-
4) Resolve these issues
145-
5) Publish a release
146-
6) Close the milestone
147+
1. Create a milestone
148+
2. Create all the needed issues linked to this milestone
149+
3. Manage the pull requests linked with these issues using the GitHib project
150+
4. Resolve these issues
151+
5. Publish a release
152+
6. Close the milestone
147153

148154
### Milestones
149155

150156
Each milestones must use the [milestone template](./milestone_template.md).
151157

152158
There are two parts :
159+
153160
- Overall
154161
> **⚠️ It's checklist must be completed before starting this sprint ⚠️**
155162
- Final Report

.github/pull_request_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ Please complete this section if any breaking changes have been made, otherwise d
2828

2929
# Additional comments
3030

31-
Please post additional comments in this section if you have them, otherwise delete it.
31+
Please post additional comments in this section if you have them, otherwise delete it.

.github/release-drafter.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,37 @@
1-
name-template: 'v$RESOLVED_VERSION 🌈'
2-
tag-template: 'v$RESOLVED_VERSION'
1+
name-template: "v$RESOLVED_VERSION 🌈"
2+
tag-template: "v$RESOLVED_VERSION"
33
categories:
4-
- title: '🚀 Features'
4+
- title: "🚀 Features"
55
collapse-after: 5
66
labels:
7-
- 'feature'
8-
- 'enhancement'
9-
- title: '🐛 Bug Fixes'
7+
- "feature"
8+
- "enhancement"
9+
- title: "🐛 Bug Fixes"
1010
collapse-after: 5
1111
labels:
12-
- 'fix'
13-
- 'bugfix'
14-
- 'bug'
15-
- title: '🧰 Maintenance'
12+
- "fix"
13+
- "bugfix"
14+
- "bug"
15+
- title: "🧰 Maintenance"
1616
collapse-after: 5
1717
labels:
18-
- 'chore'
19-
- 'dependencies'
20-
- title: '📄 Documentation'
18+
- "chore"
19+
- "dependencies"
20+
- title: "📄 Documentation"
2121
collapse-after: 5
22-
label: 'documentation'
23-
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
22+
label: "documentation"
23+
change-template: "- $TITLE @$AUTHOR (#$NUMBER)"
2424
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
2525
version-resolver:
2626
major:
2727
labels:
28-
- 'major'
28+
- "major"
2929
minor:
3030
labels:
31-
- 'minor'
31+
- "minor"
3232
patch:
3333
labels:
34-
- 'patch'
34+
- "patch"
3535
default: patch
3636
template: |
3737
## Changes

.github/workflows/release-drafter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ jobs:
2424
# config-name: my-config.yml
2525
# disable-autolabeler: true
2626
env:
27-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

CONTRIBUTING.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -84,17 +84,20 @@ Please read first this article : [How to Write a Git Commit Message](https://chr
8484
Then, follow these guidelines:
8585

8686
- **Group Commits:** Each commit should represent a meaningful change. Instead, these commits should be squashed together into a single "Add Feature" commit.
87-
> For instance, a PR should not look like :
88-
> 1) Add Feature X
89-
> 2) Fix Typo
90-
> 3) Changes to features X
91-
> 5) Bugfix for feature X
92-
> 6) Fix Linter 7)
93-
> 7) ...
87+
88+
> For instance, a PR should not look like :
89+
>
90+
> 1. Add Feature X
91+
> 2. Fix Typo
92+
> 3. Changes to features X
93+
> 4. Bugfix for feature X
94+
> 5. Fix Linter 7)
95+
> 6. ...
9496
9597
- Each commit should **work on its own**: it must compile, pass the linter and so on.
96-
> This makes life much easier when using `git log`, `git blame`, `git bisect`, etc...\
97-
> For instance, when doing a `git blame` on a file to figure out why a change was introduced, it's pretty meaningless to see a _Fix linter_ commit message. "Add Feature X" is much more meaningful.
98+
99+
> This makes life much easier when using `git log`, `git blame`, `git bisect`, etc...\
100+
> For instance, when doing a `git blame` on a file to figure out why a change was introduced, it's pretty meaningless to see a _Fix linter_ commit message. "Add Feature X" is much more meaningful.
98101
99102
- Use `git rebase -i main` to group commits together and rewrite their commit message
100103

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,27 +28,29 @@ It works.
2828

2929
[Explain how to install all of the project's dependencies]
3030
AsyncFlow presents itself as a node package (supposedly).
31+
3132
```bash
3233
npm install asyncflow
3334
```
3435

3536
### Quickstart
3637

3738
Boilerplate:
39+
3840
```ts
3941
import { AsyncFlow } from "asyncflow/sdk";
4042
```
4143

4244
### Usage
4345

4446
Boilerplate:
47+
4548
```ts
4649
import { AsyncFlow } from "asyncflow/sdk";
4750

48-
AsyncFlow("mail")
51+
AsyncFlow("mail");
4952
```
5053

51-
5254
## Get involved
5355

5456
You're invited to join this project ! Check out the [contributing guide](./CONTRIBUTING.md).

0 commit comments

Comments
 (0)