Skip to content
This repository was archived by the owner on Jun 24, 2024. It is now read-only.

Commit 56e49e0

Browse files
committed
build(setup): Update project metafiles and tooling
1 parent 0319cab commit 56e49e0

File tree

10 files changed

+2282
-563
lines changed

10 files changed

+2282
-563
lines changed

.editorconfig

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
; http://editorconfig.org
2+
3+
root = true
4+
5+
[*]
6+
indent_style = space
7+
indent_size = 4
8+
end_of_line = lf
9+
charset = utf-8
10+
trim_trailing_whitespace = true
11+
insert_final_newline = true
12+
13+
[{*.json,.stylelintrc,.eslintrc,.babelrc}]
14+
indent_size = 2

.eslintignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
coverage
1+
coverage

.eslintrc

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22
"root": true,
33
"extends": [
44
"finn",
5-
"finn/node"
6-
]
5+
"finn/node",
6+
"finn-prettier"
7+
],
8+
"parserOptions": {
9+
"ecmaVersion": 2017
10+
},
11+
"env": {
12+
"node": true,
13+
"jest": true
14+
}
715
}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ tmp/**/*
77
*.iml
88
*.log
99
coverage
10+
.vscode

.travis.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
language: node_js
2-
32
node_js:
4-
- "8"
5-
3+
- '8'
64
script:
75
- npm test
86
- npm run lint
7+
cache:
8+
npm: true
9+
directories:
10+
- node_modules

LICENSE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!-- LICENSEFILE -->

PULL_REQUEST_TEMPLATE

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
## JIRA Issue
2+
[FPW-](https://jira.finn.no/browse/FPW-)
3+
4+
## Status
5+
**READY/IN DEVELOPMENT/HOLD**
6+
7+
## Description
8+
<!-- A few sentences describing the overall goals of the pull request's commits. -->
9+
10+
## Todos
11+
- [ ] Tests
12+
- [ ] Documentation
13+
14+
## Deploy Notes
15+
<!-- Notes regarding deployment of the contained body of work. These should note any
16+
db migrations, etc. -->
17+
18+
## Related PRs
19+
* None

README.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
1-
# asset-pipe-css-reader
1+
<!-- TITLE/ -->
2+
3+
<h1>asset-pipe-css-reader</h1>
4+
5+
<!-- /TITLE -->
6+
7+
8+
<!-- BADGES/ -->
9+
10+
<span class="badge-travisci"><a href="http://travis-ci.org/asset-pipe/asset-pipe-css-reader" title="Check this project's build status on TravisCI"><img src="https://img.shields.io/travis/asset-pipe/asset-pipe-css-reader/master.svg" alt="Travis CI Build Status" /></a></span>
11+
<span class="badge-npmversion"><a href="https://npmjs.org/package/asset-pipe-css-reader" title="View this project on NPM"><img src="https://img.shields.io/npm/v/asset-pipe-css-reader.svg" alt="NPM version" /></a></span>
12+
<span class="badge-daviddm"><a href="https://david-dm.org/asset-pipe/asset-pipe-css-reader" title="View the status of this project's dependencies on DavidDM"><img src="https://img.shields.io/david/asset-pipe/asset-pipe-css-reader.svg" alt="Dependency Status" /></a></span>
13+
<span class="badge-daviddmdev"><a href="https://david-dm.org/asset-pipe/asset-pipe-css-reader#info=devDependencies" title="View the status of this project's development dependencies on DavidDM"><img src="https://img.shields.io/david/dev/asset-pipe/asset-pipe-css-reader.svg" alt="Dev Dependency Status" /></a></span>
14+
15+
<!-- /BADGES -->
16+
217

318
A module that takes any number of css feed streams (provided by asset-pipe sinks) and bundles them into a readable stream of css content.
419

@@ -162,3 +177,14 @@ cssReader.on('error', err => {})
162177
```
163178

164179
Param: `err`, Error forwarded from merged streams or otherwise emitted from the pipeline
180+
181+
## Contributing
182+
183+
The contribution process is as follows:
184+
185+
- Fork this repository.
186+
- Make your changes as desired.
187+
- Run the tests using `npm test`. This will also check to ensure that 100% code coverage is maintained. If not you may need to add additional tests.
188+
- Stage your changes.
189+
- Run `git commit` or, if you are not familiar with [sematic commit messages](https://docs.google.com/document/d/1QrDFcIiPjSLDn3EL15IJygNPiHORgU1_OOAqWjiDU5Y/edit), please run `npm run cm` and follow the prompts instead which will help you write a correct semantic commit message.
190+
- Push your changes and submit a PR.

0 commit comments

Comments
 (0)