Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: v2.0 beta #89

Merged
merged 27 commits into from
Sep 25, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
558812a
chore: add metadata, update package, use eslint+standard
shellscape Aug 18, 2018
f899d22
chore: update pre-commit hook
shellscape Aug 18, 2018
12d4666
refactor: update linting for node 6+
shellscape Aug 18, 2018
2d02852
chore: make bench a script
shellscape Aug 18, 2018
1eb757d
refactor: make benchmarks a bin, add style
shellscape Aug 18, 2018
8886b67
fix: index linting without breaking tests
shellscape Aug 18, 2018
84ba8fe
fix: bench bin should accept file input
shellscape Aug 18, 2018
56c46c5
docs: spruce up the README
shellscape Aug 18, 2018
e61910a
chore: reorg binaries
shellscape Aug 18, 2018
9bf066a
chore: add repo labels json
shellscape Aug 18, 2018
df66306
refactor: Use RangeError (#73)
jkehres Aug 18, 2018
5b98b07
docs: add --remove to readme
shellscape Aug 18, 2018
e01a899
chore: update bug template
shellscape Aug 18, 2018
b3b42d9
chore: update mod template
shellscape Aug 18, 2018
3fe16d5
test: migrate to ava, snapshots
shellscape Aug 19, 2018
04875a1
refactor: ES6 all the things
shellscape Aug 19, 2018
3d92b25
feat: add skipLines option (#64)
jakeburden Aug 21, 2018
281cf18
chore: alphabetize, use string literals
shellscape Aug 21, 2018
628e97c
feat: allow headers: false, index column names
shellscape Aug 21, 2018
6c637c1
chore: remove tape dependency
shellscape Aug 22, 2018
d2e58b0
docs: add headers:false output example
shellscape Aug 22, 2018
d7cd23c
chore(release): 2.0.0-beta.0
shellscape Aug 22, 2018
40d19db
chore: better benchmark profiling
shellscape Aug 22, 2018
c3066fb
docs: add benchmarks
shellscape Aug 22, 2018
e141bc5
chore: add files to package.json to reduce tarball size
shellscape Aug 22, 2018
fa27ffb
feat: provide header, index to mapValues and mapHeaders
shellscape Sep 6, 2018
fa86a6e
chore(release): 2.0.0-beta.1
shellscape Sep 6, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# editorconfig.org
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
insert_final_newline = true
trim_trailing_whitespace = false
25 changes: 25 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"extends": "standard",
"plugins": ["import"],
"rules": {
"no-var": "error",
"object-shorthand": ["error", "always", { "ignoreConstructors": false, "avoidQuotes": true }],
"prefer-arrow-callback": ["warn", { "allowNamedFunctions": false, "allowUnboundThis": true }],
"prefer-const": ["error", { "destructuring": "any", "ignoreReadBeforeAssign": true }],
"prefer-destructuring": ["warn", { "array": true, "object": true }, { "enforceForRenamedProperties": false }],
"prefer-numeric-literals": "error",
"prefer-rest-params": "error",
"prefer-spread": "error",
"prefer-template": "error"
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".json"]
}
},
"import/extensions": [".js"],
"import/core-modules": [],
"import/ignore": ["node_modules", "\\.(coffee|scss|css|less|hbs|svg|json)$"]
}
}
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
package-lock.json -diff
* text=auto
bin/* eol=lf
8 changes: 8 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
## Contributing

We 💛 contributions! The rules for contributing to this org are few:

1. Search issues before opening a new one
1. Lint and run tests locally before submitting a PR
1. Adhere to the code style the project has chosen
1. Fill in the required Issue and Pull Request sections
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<!--
Ahoy!

You're seeing this because you felt none of the other options fit the type of
issue you'd like to create. Please use this opportunity to tell us about your
the type of issue you were looking for, so we can try to accomodate similar
issues in the future.
-->
24 changes: 24 additions & 0 deletions .github/ISSUE_TEMPLATE/BUG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: 🐞 Bug Report
about: Something went awry and you'd like to tell us about it.

---

<!--
⚡️ katchow! We 💛 issues.

If you remove this template, or parts of it, your issue WILL be closed.
-->

* Operating System:
* Node Version:
* NPM Version:
* csv-parser Version:

### Expected Behavior


### Actual Behavior


### How Do We Reproduce?
25 changes: 25 additions & 0 deletions .github/ISSUE_TEMPLATE/DOCS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
name: 📚 Documentation
about: Are the docs lacking or missing something? Do they need some new 🔥 hotness? Tell us here.

---

<!--
⚡️ katchow! We 💛 issues.

If you remove this template, or parts of it, your issue WILL be closed.
-->

Documentation Is:

<!-- Please place an x (no spaces!) in all [ ] that apply -->

- [ ] Missing
- [ ] Needed
- [ ] Confusing
- [ ] Not Sure?

### Please Explain in Detail...


### Your Proposal for Changes
16 changes: 16 additions & 0 deletions .github/ISSUE_TEMPLATE/FEATURE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
name: ✨ Feature Request
about: Suggest an idea for this project

---

<!--
⚡️ katchow! We 💛 issues.

If you remove this template, or parts of it, your issue WILL be closed.
-->

### Feature Proposal


### Feature Use Case
24 changes: 24 additions & 0 deletions .github/ISSUE_TEMPLATE/MODIFICATION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: 🔧 Modification Request
about: Would you like something work differently? Have an alternative approach? This is the template for you.

---

<!--
⚡️ katchow! We 💛 issues.

If you remove this template, or parts of it, your issue WILL be closed.
-->

* Operating System:
* Node Version:
* NPM Version:
* csv-parser Version:

### Expected Behavior / Situation


### Actual Behavior / Situation


### Modification Proposal
31 changes: 31 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<!--
⚡️ katchow! We ❤️ Pull Requests!

If you remove this template, or parts of it, your Pull Request WILL be closed.

Please place an x (no spaces!) in all [ ] that apply
-->

This PR contains:

- [ ] bugfix
- [ ] feature
- [ ] refactor
- [ ] tests
- [ ] documentation
- [ ] metadata

### Breaking Changes?

- [ ] yes
- [ ] no

If yes, please describe the breakage.

### Please Describe Your Changes

<!--
Please be thorough.
What existing problem does the PR solve?
Does this PR resolve an issue?
-->
52 changes: 52 additions & 0 deletions .github/labels.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
[
{ "name": "💩 template incomplete", "color": "#4E342E" },
{ "name": "💩 template removed", "color": "#4E342E" },

{ "name": "c¹ ⋅ discussion", "color": "#1976D2" },
{ "name": "c² ⋅ feedback wanted", "color": "#F9A825" },
{ "name": "c³ ⋅ PR welcome", "color": "#1B5E20" },
{ "name": "c⁴ ⋅ need more info", "color": "#6A1B9A" },
{ "name": "c⁵ ⋅ question", "color": "#C2185B" },
{ "name": "c⁶ ⋅ request for comments", "color": "#BBDEFB" },

{ "name": "p¹ ⋅ electron", "color": "#B2DFDB" },
{ "name": "p² ⋅ linux", "color": "#B2DFDB" },
{ "name": "p³ ⋅ mac", "color": "#B2DFDB" },
{ "name": "p⁴ ⋅ windows", "color": "#B2DFDB" },

{ "name": "pr¹ 🔧 chore", "color": "#D7CCC8" },
{ "name": "pr² 🔧 docs", "color": "#D7CCC8" },
{ "name": "pr³ 🔧 feature", "color": "#D7CCC8" },
{ "name": "pr⁴ 🔧 fix", "color": "#D7CCC8" },
{ "name": "pr⁵ 🔧 performance", "color": "#D7CCC8" },
{ "name": "pr⁶ 🔧 refactor", "color": "#D7CCC8" },
{ "name": "pr⁷ 🔧 style", "color": "#D7CCC8" },
{ "name": "pr⁸ 🔧 test", "color": "#D7CCC8" },

{ "name": "s¹ 🔥🔥🔥 critical", "color": "#E53935" },
{ "name": "s² 🔥🔥 important", "color": "#FB8C00" },
{ "name": "s³ 🔥 nice to have", "color": "#FDD835" },
{ "name": "s⁴ 💧 low", "color": "#039BE5" },
{ "name": "s⁵ 💧💧 inconvenient", "color": "#c0e0f7" },

{ "name": "t¹ 🐞 bug", "color": "#F44336" },
{ "name": "t² 📚 documentation", "color": "#FDD835" },
{ "name": "t³ ✨ enhancement", "color": "#03a9f4" },
{ "name": "t⁴ ✨ feature", "color": "#8bc34A" },
{ "name": "t⁵ ⋅ regression", "color": "#0052cc" },
{ "name": "t⁶ ⋅ todo", "color": "#311B92" },
{ "name": "t⁷ ⋅ waiting on upstream", "color": "#0D47A1" },

{ "name": "v¹ ⋅ alpha", "color": "#CDDC39" },
{ "name": "v² ⋅ beta", "color": "#FFEB3B" },
{ "name": "v³ ⋅ major", "color": "#FF9800" },
{ "name": "v⁴ ⋅ minor", "color": "#FFC107" },
{ "name": "v⁵ ⋅ next", "color": "#CDDC39" },

{ "name": "x¹ ⋅ abandoned", "color": "#CFD8DC" },
{ "name": "x² ⋅ duplicate", "color": "#CFD8DC" },
{ "name": "x³ ⋅ hold", "color": "#CFD8DC" },
{ "name": "x⁴ ⋅ in progress", "color": "#4CAF50" },
{ "name": "x⁵ ⋅ invalid", "color": "#CFD8DC" },
{ "name": "x⁶ ⋅ wontfix", "color": "#CFD8DC" }
]
3 changes: 2 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
test/
bin/bench
examples/
test/
.travis.yml
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
language: node_js
node_js:
- "0.10"
- 10
- 8
- 6
Loading