Skip to content

Commit

Permalink
chore: add simple plugin, more metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
shellscape committed Sep 4, 2019
1 parent a393de3 commit 7b5bc1a
Show file tree
Hide file tree
Showing 26 changed files with 1,508 additions and 68 deletions.
96 changes: 96 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
version: 2

unit_tests: &unit_tests
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "package-lock.json" }}
- run:
name: Run unit tests.
command: npm run ci:test

unit_tests_12: &unit_tests_12
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "package-lock.json" }}
- run:
name: Run unit tests.
command: npm run ci:test_12

jobs:
analysis:
docker:
- image: rollupcabal/circleci-node-base:latest
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "package-lock.json" }}
- run:
name: Install Dependencies
command: npm ci --ignore-scripts
- run:
name: Run linting.
command: npm run lint
- run:
name: Run NPM Security Audit
command: npm run security
- save_cache:
key: dependency-cache-{{ checksum "package-lock.json" }}
paths:
- ./node_modules
node-v6-latest:
docker:
- image: rollupcabal/circleci-node-v6:latest
<<: *unit_tests
node-v8-latest:
docker:
- image: rollupcabal/circleci-node-v8:latest
<<: *unit_tests
node-v10-latest:
docker:
- image: rollupcabal/circleci-node-v10:latest
<<: *unit_tests
node-v12-latest:
docker:
- image: rollupcabal/circleci-node-v12:latest
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "package-lock.json" }}
- run:
name: Run tests with coverage.
command: npm run ci:coverage

workflows:
version: 2
validate-test:
jobs:
- analysis:
filters:
tags:
only: /.*/
- node-v6-latest:
requires:
- analysis
filters:
tags:
only: /.*/
- node-v8-latest:
requires:
- analysis
filters:
tags:
only: /.*/
- node-v10-latest:
requires:
- analysis
filters:
tags:
only: /.*/
- node-v12-latest:
requires:
- analysis
filters:
tags:
only: /.*/
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
open_collective: rollup
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!--
👉🏽 Need help or tech support? Please don't open an issue!
Head to https://gitter.im/rollup/rollup or https://stackoverflow.com/questions/tagged/rollupjs
❤️ Rollup? Please consider supporting our collective:
👉 https://opencollective.com/rollup/donate
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 the
type of issue you were looking for, so we can try to accommodate similar
issues in the future.
If you're using this template to report an issue covered by an existing issue
type, we'll close it as invalid faster than you can spell 'Mississippi'.
-->
49 changes: 49 additions & 0 deletions .github/ISSUE_TEMPLATE/BUG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
name: 🐞 Bug Report
about: Something went awry and you'd like to tell us about it.

---

<!--
⚡️ katchow! We 💛 issues.
Please - do not - remove this template.
Please - do not - skip or remove parts of this template.
Or your issue may be closed.
👉🏽 Need help or tech support? Please don't open an issue!
Head to https://gitter.im/rollup/rollup or https://stackoverflow.com/questions/tagged/rollupjs
❤️ Rollup? Please consider supporting our collective:
👉 https://opencollective.com/rollup/donate
-->

- Rollup Plugin Name: <!-- the plugin(s) this issue is about -->
- Rollup Plugin Version:
- Rollup Version:
- Operating System (or Browser):
- Node Version:

### How Do We Reproduce?

<!--
Issues without minimal reproductions will be closed! Please provide one by:
1. Using the REPL at https://rollupjs.org/repl/, or
2. Work to isolate the problem and provide the exact steps in this issue, or
3. Provide a minimal repository link (Read https://git.io/fNzHA for instructions).
These may take more time to triage than the other options.
-->


### Expected Behavior


### Actual Behavior


<!--
Most issues can be expressed or demonstrated through the REPL or a repository.
However, 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/)
-->
33 changes: 33 additions & 0 deletions .github/ISSUE_TEMPLATE/DOCS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
name: 📚 Documentation
about: Are the docs lacking or missing something? Do they need some new 🔥 hotness? Tell us here.

---

<!--
⚡️ katchow! We 💛 issues.
Please - do not - remove this template.
Please - do not - skip or remove parts of this template.
Or your issue may be closed.
👉🏽 Need help or tech support? Don't open an issue!
Head to https://gitter.im/rollup/rollup or https://stackoverflow.com/questions/tagged/rollupjs
❤️ Rollup? Please consider supporting our collective:
👉 https://opencollective.com/rollup/donate
-->

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
27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/FEATURE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: ✨ Feature Request
about: Suggest an idea for this project

---

<!--
⚡️ katchow! We 💛 issues.
Please - do not - remove this template.
Please - do not - skip or remove parts of this template.
Or your issue may be closed.
👉🏽 Need help or tech support? Please don't open an issue!
Head to https://gitter.im/rollup/rollup or https://stackoverflow.com/questions/tagged/rollupjs
❤️ Rollup? Please consider supporting our collective:
👉 https://opencollective.com/rollup/donate
-->

- Rollup Plugin Name: <!-- the plugin(s) this issue is about -->
- Rollup Plugin Version:

### Feature Use Case


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

---

<!--
⚡️ katchow! We 💛 issues.
Please - do not - remove this template.
Please - do not - skip or remove parts of this template.
Or your issue may be closed.
👉🏽 Need help or tech support? Please don't open an issue!
Head to https://gitter.im/rollup/rollup or https://stackoverflow.com/questions/tagged/rollupjs
❤️ Rollup? Please consider supporting our collective:
👉 https://opencollective.com/rollup/donate
-->

- Rollup Plugin Name: <!-- the plugin(s) this issue is about -->
- Rollup Plugin Version:

### Expected Behavior / Situation


### Actual Behavior / Situation


### Modification Proposal
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/SUPPORT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
name: 🆘 Support, Help, and Advice
about: 👉🏽 Need help or tech support? Please don't open an issue! Head to https://gitter.im/rollup/rollup or https://stackoverflow.com/questions/tagged/rollupjs.

---

Hey there! If you need help or tech support then this is not the place to
ask. Please head to [the Rollup Gitter](https://gitter.im/rollup/rollup)
instead or post a question to https://stackoverflow.com/questions/tagged/rollupjs.

If you arrived here because you think Rollup's documentation is unclear,
insufficient or wrong, please consider creating an issue for the documentation
instead.
41 changes: 41 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<!--
⚡️ katchow! We ❤️ Pull Requests!
If you remove or skip this template, you'll make the 🐼 sad and the mighty god
of Github will appear and pile-drive the close button from a great height
while making animal noises.
Pull Request Requirements:
* Please include tests to illustrate the problem this PR resolves.
* Please lint your changes by running `npm run lint` before creating a PR.
* Please update the documentation in `/docs` where necessary
Please place an x (no spaces - [x]) in all [ ] that apply.
-->

- Rollup Plugin Name: <!-- the plugin(s) this PR is for -->

This PR contains:
- [ ] bugfix
- [ ] feature
- [ ] refactor
- [ ] documentation
- [ ] other

Are tests included?
- [ ] yes (*bugfixes and features will not be merged without tests*)
- [ ] no

Breaking Changes?
- [ ] yes (*breaking changes will not be merged unless absolutely necessary*)
- [ ] no

List any relevant issue numbers:

### Description

<!--
Please be thorough and clearly explain the problem being solved.
* If this PR adds a feature, look for previous discussion on the feature by searching the issues first.
* Is this PR related to an issue?
-->
54 changes: 54 additions & 0 deletions .github/labels.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
[
{ "name": "💩 template incomplete", "color": "#4E342E" },
{ "name": "💩 template removed", "color": "#4E342E" },

{ "name": "b¹ 🐞 code-splitting", "color": "#F44336" },
{ "name": "b² 🐞 scope-hoisting", "color": "#F44336" },
{ "name": "b³ 🐞 tree-shaking", "color": "#F44336" },

{ "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¹ ⋅ browser", "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⁴ ⋅ regression", "color": "#0052cc" },
{ "name": "t⁵ ⋅ todo", "color": "#311B92" },
{ "name": "t⁶ ⋅ waiting on upstream", "color": "#0D47A1" },

{ "name": "v¹ ⋅ major", "color": "#CDDC39" },
{ "name": "v² ⋅ minor", "color": "#FF9800" },
{ "name": "v³ ⋅ minor (experimental)", "color": "#FFC107" },

{ "name": "x¹ ⋅ abandoned", "color": "#CFD8DC" },
{ "name": "x² ⋅ could not reproduce", "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" }
]
Loading

0 comments on commit 7b5bc1a

Please sign in to comment.