Skip to content

Commit a48e742

Browse files
committed
chore: initial commit
0 parents  commit a48e742

26 files changed

+7624
-0
lines changed

.circleci/config.yml

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
version: 2
2+
jobs:
3+
dependency_cache:
4+
docker:
5+
- image: rollupcabal/circleci-node-base:latest
6+
steps:
7+
- checkout
8+
- restore_cache:
9+
key: dependency-cache-{{ checksum "package-lock.json" }}
10+
- run:
11+
name: Install Dependencies
12+
command: npm install
13+
- save_cache:
14+
key: dependency-cache-{{ checksum "package-lock.json" }}
15+
paths:
16+
- ./node_modules
17+
node-v10-latest:
18+
docker:
19+
- image: rollupcabal/circleci-node-v10:latest
20+
steps:
21+
- checkout
22+
- restore_cache:
23+
key: dependency-cache-{{ checksum "package-lock.json" }}
24+
- run:
25+
name: NPM Rebuild
26+
command: npm install
27+
- run:
28+
name: Run unit tests.
29+
command: npm run ci:coverage
30+
- run:
31+
name: Submit coverage data to codecov.
32+
command: bash <(curl -s https://codecov.io/bash)
33+
when: on_success
34+
analysis:
35+
docker:
36+
- image: rollupcabal/circleci-node-base:latest
37+
steps:
38+
- checkout
39+
- restore_cache:
40+
key: dependency-cache-{{ checksum "package-lock.json" }}
41+
- run:
42+
name: NPM Rebuild
43+
command: npm install
44+
- run:
45+
name: Run linting.
46+
command: npm run lint
47+
- run:
48+
name: Run Security Check
49+
command: npm run security
50+
- run:
51+
name: Validate Commit Messages
52+
command: npm run ci:lint:commits
53+
workflows:
54+
version: 2
55+
validate:
56+
jobs:
57+
- dependency_cache
58+
- analysis:
59+
requires:
60+
- dependency_cache
61+
filters:
62+
tags:
63+
only: /.*/
64+
- node-v10-latest:
65+
requires:
66+
- analysis
67+
filters:
68+
tags:
69+
only: /.*/

.editorconfig

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

.eslintignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/node_modules
2+
/**/dist/**/*
3+
*.snap

.eslintrc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"extends": "shellscape",
3+
"globals": {
4+
"document": true,
5+
"WebSocket": true,
6+
"window": true
7+
}
8+
}

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
package-lock.json -diff
2+
* text=auto
3+
bin/* eol=lf

.github/CONTRIBUTING.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
## Contributing in this repository
2+
3+
We 💛 contributions! The rules for contributing to this org are few:
4+
5+
1. Don't be a jerk
6+
1. Search issues before opening a new one
7+
1. Lint and run tests locally before submitting a PR
8+
1. Adhere to the code style the org has chosen
9+
10+
11+
## Before Committing
12+
13+
1. Use at least Node.js v8.0.0 or higher. [NVM](https://github.com/creationix/nvm) can be handy for switching between Node versions.
14+
1. Lint your changes via `npm run lint`. Fix any errors and warnings before committing.
15+
1. Test your changes via `npm run test`. Only Pull Requests with passing tests will be accepted.

.github/ISSUE_TEMPLATE.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!--
2+
👉🏽 Need help or support? Open a SUPPORT issue instead.
3+
4+
Ahoy!
5+
6+
You're seeing this because you felt none of the other options fit the type of
7+
issue you'd like to create. Please use this opportunity to tell us about the
8+
type of issue you were looking for, so we can try to accommodate similar
9+
issues in the future.
10+
11+
If you're using this template to report an issue covered by an existing issue
12+
type, we'll close it as invalid faster than you can spell 'Mississippi'.
13+
-->

.github/ISSUE_TEMPLATE/BUG.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
name: 🐞 Bug Report
3+
about: Something went awry and you'd like to tell us about it.
4+
5+
---
6+
7+
<!--
8+
⚡️ katchow! We 💛 issues.
9+
10+
Please - do not - remove this template.
11+
Please - do not - skip or remove parts of this template.
12+
Or your issue may be closed.
13+
14+
👉🏽 Need help or support? Open a SUPPORT issue instead.
15+
-->
16+
17+
- Prettier Version:
18+
- Operating System (or Browser):
19+
- Node Version:
20+
- prettier-plugin-package Version:
21+
22+
### How Do We Reproduce?
23+
24+
<!--
25+
Issues without minimal reproductions will be closed! Please provide one by:
26+
2. Work to isolate the problem and provide the exact steps in this issue, or
27+
3. Provide a minimal repository link (Read https://git.io/fNzHA for instructions). These may take more time to triage than the other options.
28+
-->
29+
30+
31+
### Expected Behavior
32+
33+
34+
### Actual Behavior
35+
36+
<!--
37+
The situation may arise where some small code snippets also need to be provided. In that situation, please add your code below using Fenced Code Blocks (https://help.github.com/articles/creating-and-highlighting-code-blocks/)
38+
-->

.github/ISSUE_TEMPLATE/DOCS.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
name: 📚 Documentation
3+
about: Are the docs lacking or missing something? Do they need some new 🔥 hotness? Tell us here.
4+
5+
---
6+
7+
<!--
8+
⚡️ katchow! We 💛 issues.
9+
10+
Please - do not - remove this template.
11+
Please - do not - skip or remove parts of this template.
12+
Or your issue may be closed.
13+
14+
👉🏽 Need help or support? Open a SUPPORT issue instead.
15+
-->
16+
17+
Documentation Is:
18+
19+
<!-- Please place an x (no spaces!) in all [ ] that apply -->
20+
21+
- [ ] Missing
22+
- [ ] Needed
23+
- [ ] Confusing
24+
- [ ] Not Sure?
25+
26+
### Please Explain in Detail...
27+
28+
29+
### Your Proposal for Changes

.github/ISSUE_TEMPLATE/FEATURE.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: ✨ Feature Request
3+
about: Suggest an idea for this project
4+
5+
---
6+
7+
<!--
8+
⚡️ katchow! We 💛 issues.
9+
10+
Please - do not - remove this template.
11+
Please - do not - skip or remove parts of this template.
12+
Or your issue may be closed.
13+
14+
👉🏽 Need help or support? Open a SUPPORT issue instead.
15+
-->
16+
17+
### Feature Use Case
18+
19+
20+
### Feature Proposal

0 commit comments

Comments
 (0)