Skip to content

Commit 8a6c869

Browse files
committed
🔀 Merge branch 'devel' into release
- 🔧 'clean' is made to be invoked after 'publish' - 🩹 'lib/index.ts' is added - 🔧 'lint' is made to be invoked before 'build' - 💚 'paths-ignore' section is added for GitHub CI - 📝 CONTRIBUTING.md is added - 📝 README.md is updated - contributions section is added - license section is added - 💚 Step to report code coverages is renamed Signed-off-by: kei-g <km.8k6ce+github@gmail.com>
2 parents e37163f + 3698ee2 commit 8a6c869

File tree

7 files changed

+129
-4
lines changed

7 files changed

+129
-4
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
if: ${{ always() }}
5858
uses: actions/upload-artifact@v2
5959
with:
60-
name: code-coverage-report-${{ matrix.node }}
60+
name: code-coverage-report-${{ github.event.repository.name }}-${{ matrix.node }}
6161
path: coverage
6262
example:
6363
continue-on-error: true
@@ -112,3 +112,10 @@ on:
112112
- devel
113113
- main
114114
- release
115+
paths-ignore:
116+
- '**.md'
117+
- '.editorconfig'
118+
- '.gitignore'
119+
- '.npmignore'
120+
- '.travis.yml'
121+
- 'LICENSE'

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# ChangeLogs
22

3+
## Version 1.0.10
4+
5+
- :wrench: 'clean' is made to be invoked after 'publish'
6+
- :adhesive_bandage: 'lib/index.ts' is added
7+
- :wrench: 'lint' is made to be invoked before 'build'
8+
- :green_heart: 'paths-ignore' section is added for GitHub CI
9+
- :memo: CONTRIBUTING.md is added
10+
- :memo: README.md is updated
11+
- contributions section is added
12+
- license section is added
13+
- :green_heart: Step to report code coverages is renamed
14+
315
## Version 1.0.9
416

517
- :wrench: 'engines' section is added to 'package.json'

CONTRIBUTING.md

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
# Contributing
2+
3+
When contributing to this repository, please first discuss the change you wish to make via issue,
4+
email, or any other method with the owners of this repository before making a change.
5+
6+
Please note we have a code of conduct, please follow it in all your interactions with the project.
7+
8+
## Pull Request Process
9+
10+
1. Ensure any install or build dependencies are removed before the end of the layer when doing a
11+
build.
12+
2. Update the README.md with details of changes to the interface, this includes new environment
13+
variables, exposed ports, useful file locations and container parameters.
14+
3. Increase the version numbers in any examples files and the README.md to the new version that this
15+
Pull Request would represent. The versioning scheme we use is [SemVer](http://semver.org/).
16+
4. You may merge the Pull Request in once you have the sign-off of two other developers, or if you
17+
do not have permission to do that, you may request the second reviewer to merge it for you.
18+
19+
## Code of Conduct
20+
21+
### Our Pledge
22+
23+
In the interest of fostering an open and welcoming environment, we as
24+
contributors and maintainers pledge to making participation in our project and
25+
our community a harassment-free experience for everyone, regardless of age, body
26+
size, disability, ethnicity, gender identity and expression, level of experience,
27+
nationality, personal appearance, race, religion, or sexual identity and
28+
orientation.
29+
30+
### Our Standards
31+
32+
Examples of behavior that contributes to creating a positive environment
33+
include:
34+
35+
* Using welcoming and inclusive language
36+
* Being respectful of differing viewpoints and experiences
37+
* Gracefully accepting constructive criticism
38+
* Focusing on what is best for the community
39+
* Showing empathy towards other community members
40+
41+
Examples of unacceptable behavior by participants include:
42+
43+
* The use of sexualized language or imagery and unwelcome sexual attention or
44+
advances
45+
* Trolling, insulting/derogatory comments, and personal or political attacks
46+
* Public or private harassment
47+
* Publishing others' private information, such as a physical or electronic
48+
address, without explicit permission
49+
* Other conduct which could reasonably be considered inappropriate in a
50+
professional setting
51+
52+
### Our Responsibilities
53+
54+
Project maintainers are responsible for clarifying the standards of acceptable
55+
behavior and are expected to take appropriate and fair corrective action in
56+
response to any instances of unacceptable behavior.
57+
58+
Project maintainers have the right and responsibility to remove, edit, or
59+
reject comments, commits, code, wiki edits, issues, and other contributions
60+
that are not aligned to this Code of Conduct, or to ban temporarily or
61+
permanently any contributor for other behaviors that they deem inappropriate,
62+
threatening, offensive, or harmful.
63+
64+
### Scope
65+
66+
This Code of Conduct applies both within project spaces and in public spaces
67+
when an individual is representing the project or its community. Examples of
68+
representing a project or community include using an official project e-mail
69+
address, posting via an official social media account, or acting as an appointed
70+
representative at an online or offline event. Representation of a project may be
71+
further defined and clarified by project maintainers.
72+
73+
### Enforcement
74+
75+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
76+
reported by contacting the project team at km.8k6ce+github@gmail.com. All
77+
complaints will be reviewed and investigated and will result in a response that
78+
is deemed necessary and appropriate to the circumstances. The project team is
79+
obligated to maintain confidentiality with regard to the reporter of an incident.
80+
Further details of specific enforcement policies may be posted separately.
81+
82+
Project maintainers who do not follow or enforce the Code of Conduct in good
83+
faith may face temporary or permanent repercussions as determined by other
84+
members of the project's leadership.
85+
86+
### Attribution
87+
88+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
89+
available at [http://contributor-covenant.org/version/1/4][version]
90+
91+
[homepage]: http://contributor-covenant.org
92+
[version]: http://contributor-covenant.org/version/1/4/

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,18 @@ async function example(): Promise<void> {
6060
example()
6161
```
6262

63+
## Lincense
64+
65+
The scripts and documentation in this project are released under the [BSD-3-Clause License](https://github.com/kei-g/async-iterable-queue/blob/main/LICENSE)
66+
67+
## Contributions
68+
69+
Contributions are welcome! See [Contributor's Guide](https://github.com/kei-g/async-iterable-queue/blob/main/CONTRIBUTING.md)
70+
71+
### Code of Conduct
72+
73+
:clap: Be nice. See [our code of conduct](https://github.com/kei-g/async-iterable-queue/blob/main/CODE_OF_CONDUCT.md)
74+
6375
[depencency-image]:https://img.shields.io/librariesio/release/npm/async-iterable-queue?logo=nodedotjs
6476
[dependency-url]:https://npmjs.com/package/async-iterable-queue?activeTab=dependencies
6577
[github-test-image]:https://github.com/kei-g/async-iterable-queue/actions/workflows/main.yml/badge.svg?branch=main

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,14 @@
4343
},
4444
"repository": "github:kei-g/async-iterable-queue",
4545
"scripts": {
46-
"build": "npm-run-all -p clean lint -p build:bundle build:tsc",
46+
"build": "run-p build:bundle build:tsc",
4747
"build:bundle": "esbuild src/index.ts --bundle --minify --outfile=index.js --platform=node --target=ES2015",
4848
"build:tsc": "tsc",
4949
"clean": "rimraf .nyc_output/ coverage/ index.d.ts index.js lib/",
5050
"cover": "nyc --check-coverage -r html -r text _mocha",
5151
"lint": "eslint src/**/*.ts",
52-
"prebuild": "run-s clean",
52+
"postpublish": "run-s clean",
53+
"prebuild": "run-p clean lint",
5354
"prepublishOnly": "run-s build",
5455
"start": "ts-node example.ts",
5556
"test": "run-p lint cover"

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
export const name = 'async-iterable-queue'
22

3-
export * from './lib/async-iterable-queue'
3+
export * from './lib'

src/lib/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from './async-iterable-queue'

0 commit comments

Comments
 (0)