Simplified Contributions and Automated development setup using Gitpod (#798)

* Automated development setup using Gitpod

* code -> infra

* update .gitpod.yml

* Update CONTRIBUTING.md

* simplified gitpod config file

* fix up contributing document
main
Anudeep Reddy 5 years ago committed by repo-ranger[bot]
parent 7fdda47816
commit 0444ee74c0

@ -519,9 +519,19 @@
"code", "code",
"test" "test"
] ]
},
{
"login": "anudeepreddy",
"name": "Anudeep Reddy",
"avatar_url": "https://avatars0.githubusercontent.com/u/6022231?v=4",
"profile": "https://techgeekhub.ml",
"contributions": [
"infra"
]
} }
], ],
"repoType": "github", "repoType": "github",
"repoHost": "https://github.com", "repoHost": "https://github.com",
"contributorsPerLine": 7 "contributorsPerLine": 7,
"commitConvention": "none"
} }

@ -3,6 +3,7 @@
If you have discovered a bug or have a feature suggestion, feel free to create an issue on GitHub. If you have discovered a bug or have a feature suggestion, feel free to create an issue on GitHub.
If you'd like to make some changes yourself, see the following: If you'd like to make some changes yourself, see the following:
1. [Fork](https://help.github.com/articles/fork-a-repo/) this repository to your own GitHub account and then [clone](https://help.github.com/articles/cloning-a-repository/) it to your local device 1. [Fork](https://help.github.com/articles/fork-a-repo/) this repository to your own GitHub account and then [clone](https://help.github.com/articles/cloning-a-repository/) it to your local device
2. Make sure yarn is globally installed (`npm install -g yarn`) 2. Make sure yarn is globally installed (`npm install -g yarn`)
3. Run `yarn` to download required packages. 3. Run `yarn` to download required packages.
@ -12,7 +13,14 @@ If you'd like to make some changes yourself, see the following:
This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind are welcome! This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind are welcome!
### A note on adding themes/languages ### Automated Setup
Alternatively, you can also open this repository in Gitpod, an online IDE for GitHub. Just click on the button below and all of the above mentioned work is automated, so you don't have to worry about setting up your environment.
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/dawnlabs/carbon)
### Adding themes/languages
We're happy to accept any PRs adding new themes and languages to Carbon! Currently there are a few ways to do so: We're happy to accept any PRs adding new themes and languages to Carbon! Currently there are a few ways to do so:
1. If the [theme](https://codemirror.net/demo/theme.html) or [language](https://codemirror.net/mode/index.html) is supported in Codemirror, all you have to do is add a [constant](https://github.com/dawnlabs/carbon/blob/master/lib/constants.js) for it. 1. If the [theme](https://codemirror.net/demo/theme.html) or [language](https://codemirror.net/mode/index.html) is supported in Codemirror, all you have to do is add a [constant](https://github.com/dawnlabs/carbon/blob/master/lib/constants.js) for it.

@ -2,9 +2,10 @@
Is your issue for a new theme or language? As of Carbon `3.0.0`, the core Carbon team is no Is your issue for a new theme or language? As of Carbon `3.0.0`, the core Carbon team is no
longer implementing new themes or languages ourselves, but we are happy to accept PRs to add new ones. longer implementing new themes or languages ourselves, but we are happy to accept PRs to add new ones.
Please see https://github.com/dawnlabs/carbon/blob/master/.github/CONTRIBUTING.md#a-note-on-adding-themeslanguages for notes on how to do so 😄 Please see https://github.com/dawnlabs/carbon/blob/master/.github/CONTRIBUTING.md#adding-themeslanguages for notes on how to do so 😄
--> -->
<!-- Attach a screenshot where applicable --> <!-- Attach a screenshot where applicable -->
### Expected Behavior ### Expected Behavior
### Actual Behavior ### Actual Behavior
@ -18,6 +19,3 @@ Please see https://github.com/dawnlabs/carbon/blob/master/.github/CONTRIBUTING.m
<summary>Code Snippet (If Applicable)</summary> <summary>Code Snippet (If Applicable)</summary>
<!-- Paste an example code snippet as plain text here for failure cases --> <!-- Paste an example code snippet as plain text here for failure cases -->
</details> </details>

@ -4,20 +4,20 @@ default:
delay: 1 days delay: 1 days
labels: labels:
"merge when passing": merge 'merge when passing': merge
greenkeeper: merge greenkeeper: merge
dependencies: merge dependencies: merge
wontfix: close wontfix: close
invalid: close invalid: close
stale: close stale: close
duplicate: close duplicate: close
"theme/language": 'theme/language':
action: close action: close
delay: 5 days delay: 5 days
comment: | comment: |
This issue has been marked "$LABEL" and will be closed in $DELAY. As of Carbon `3.0.0`, the Carbon core team is no longer implementing new themes or languages (although the ability to create your own will be implemented soon!). However, PRs to add new ones will be happily accepted. This issue has been marked "$LABEL" and will be closed in $DELAY. As of Carbon `3.0.0`, the Carbon core team is no longer implementing new themes or languages (although the ability to create your own will be implemented soon!). However, PRs to add new ones will be happily accepted.
Please see https://github.com/dawnlabs/carbon/blob/master/.github/CONTRIBUTING.md#a-note-on-adding-themeslanguages for notes on how to do so 👌. Please see https://github.com/dawnlabs/carbon/blob/master/.github/CONTRIBUTING.md#adding-themeslanguages for notes on how to do so 👌.
comments: comments:
- action: label - action: label
@ -25,7 +25,7 @@ comments:
labels: labels:
- duplicate - duplicate
- action: delete_comment - action: delete_comment
pattern: "+1" pattern: '+1'
merges: merges:
- action: delete_branch - action: delete_branch

@ -0,0 +1,6 @@
ports:
- port: 3000
onOpen: open-preview
tasks:
- init: yarn
command: yarn dev

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save