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

Commit

Permalink
Initial repo setup (#1)
Browse files Browse the repository at this point in the history
* Adding gitignore

* Initial setup

* Removing dependencies documentation (to prep for regeneration)

* PR updates (I18n doc removal, windows environment updates,

* Removing giant stats.json file

* Fixing test/lint

* Updating travis config

* Couple for config updates

* Few more config updates

* Bumping version down

* Couple more config updates.
  • Loading branch information
tbiethman authored Oct 24, 2017
1 parent 53c3b9f commit e2c3e5c
Show file tree
Hide file tree
Showing 53 changed files with 1,827 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"presets": ["es2015", "react"],
"plugins": ["transform-object-assign", "transform-object-rest-spread"],
}
5 changes: 5 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
lib
node_modules
coverage
build
**/aggregated-translations/*.*
22 changes: 22 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"extends": "airbnb",
"plugins": [
"react",
"jsx-a11y",
"import"
],
"env": {
"browser": true,
"jest": true
},
"rules": {
"max-len": "off", // Remove warnings on max line length exceeding 100 characters
"react/require-default-props": "off", // Disabled the requirement to default all non-required props
"no-multi-assign": "off" // TODO: Decide if we want to turn this on. It was turned on in eslint-config-airbnb-base v14.1.0
},
"globals": {
"shallow": true,
"render": true,
"mount": true
}
}
12 changes: 12 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# This will treat all files as text files and convert to OS's line ending on checkout
# and back to LF on commit automatically.
# It also leaves all files detected as binary untouched.
* text=auto


# These files are text and should be normalized (Convert crlf => lf)
*.gitattributes text
.gitignore text
*.md text
*.js text eol=lf
*.jsx text eol=lf
35 changes: 35 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Issue Description
<!-- Describe the issue as best you can. We love screenshots! -->

## Issue Type
<!-- Is this a new feature request, enhancement, bug report, other? -->
- [ ] New Feature
- [ ] Enhancement
- [ ] Bug
- [ ] Other

## Expected Behavior
<!-- Tell us how it should work -->

## Current Behavior
<!-- Tell us what happens instead of the expected behavior -->
<!-- Leave a comment "N/A" if there is no current behavior -->

<!----------------------------------------------------------------------------------->
<!-- If you are reporting a bug, please fill out the sections below. -->
<!-- Otherwise, the sections below can be deleted. -->
<!----------------------------------------------------------------------------------->

## Steps to Reproduce
<!-- Provide a link to a live example, or an unambiguous set of steps to -->
<!-- reproduce this bug. Include code to reproduce, if relevant -->
1.
2.
3.
4.

## Environment
<!-- Include as many relevant details about the environment you experienced the bug in -->
* Component Version:
* Browser Name and Version:
* Operating System and version (desktop or mobile):
13 changes: 13 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
### Summary
Summarize the contents of the code changes in your pull request. Tag any open issues you believe to be resolved by this pull request.

### Additional Details
If you have anything else that you think may be relevant to this issue, list it here. Additional information can help us better understand your changes and speed up the review process.

Please add your name to the [CONTRIBUTORS.md] file. Adding your name to the [CONTRIBUTORS.md] file signifies agreement to all rights and reservations provided by the [License].

Thanks for contributing to Terra.
@cerner/terra

[CONTRIBUTORS.md]: ../blob/master/CONTRIBUTORS.md
[License]: ../blob/master/LICENSE
57 changes: 57 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# From https://github.com/github/gitignore
# - Node.gitignore
# - Ruby.gitignore
# - Sass.gitignore

*.bridgesupport
*.css.map
*.gem
*.log
*.pid
*.pid.lock
*.rbc
*.seed
.dat*
.grunt
.lock-wscript
.node_repl_history
.npm
.nyc_output
.repl_history
.rvmrc
.idea
.sass-cache/
/.bundle/
/.config
/.yardoc/
/_yardoc/
/coverage/
/doc/
/InstalledFiles
/lib/bundler/man/
/pkg/
/rdoc/
/spec/examples.txt
/spec/reports/
/test/tmp/
/test/version_tmp/
/tmp/
/vendor/bundle
build-iPhoneOS/
build-iPhoneSimulator/
build/
build/Release
coverage
jspm_packages
lib-cov
logs
node_modules
npm-debug.log*
pids
package-lock.json
reports
screenshots
target
**/aggregated-translations/*.*
lib
props-table
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-lock=false
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
8.4.0
17 changes: 17 additions & 0 deletions .stylelintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"extends": "stylelint-config-sass-guidelines",
"plugins": [
"stylelint-suitcss"
],
"rules": {
"max-nesting-depth": 3,
"scss/at-mixin-pattern": "^(terra-)[a-z]+([a-z0-9-]+[a-z0-9]+)?$",
"suitcss/custom-property-no-outside-root": true,
"custom-property-pattern": [
"terra-[a-z]+([a-z0-9-]+[a-z0-9]+)?$",
{
"message": "Custom property names should be written in lowercase with hyphens"
}
]
}
}
30 changes: 30 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
language: node_js
sudo: required
jdk: oraclejdk8
addons:
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
- oracle-java8-set-default
before_script:
- export TZ=America/Chicago
script:
- npm test
- npm run danger
branches:
only:
- master
cache:
directories:
- node_modules
before_deploy:
- lerna run --scope terra-framework-site compile:prod
deploy:
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard
local_dir: packages/terra-framework-site/build
on:
branch: master
46 changes: 46 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Contributor Covenant Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to make participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or advances
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. We also have the right to temporarily or permanently ban any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.

## Scope

This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [email protected]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version].

[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/
38 changes: 38 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Contributing

Help us to make this project better by contributing. Whether it's new features, bug fixes, or simply improving documentation, your contributions are welcome. Please start with logging a [github issue][1] or submit a pull request.

Before you contribute, please review these guidelines to help ensure a smooth process for everyone.

Thanks.

## Issue Reporting

* Please browse our [existing issues][1] before logging new issues.
* Check that the issue has not already been fixed in the `master` branch.
* Open an issue with a descriptive title and a summary.
* Please be as clear and explicit as you can in your description of the problem.
* Please state the version of Operating System, Browser, and terra-framework you are using in the description.
* Include any relevant code in the issue summary.

## Pull Requests

* Read [how to properly contribute to open source projects on Github][2].
* Fork the project.
* Use a feature branch.
* Write [good commit messages][3].
* Use the same coding conventions as the rest of the project.
* Commit locally and push to your fork until you are happy with your contribution.
* Make sure to add tests and verify all the tests are passing when merging upstream.
* Please add your name to the [CONTRIBUTORS.md][7] file. Adding your name to the [CONTRIBUTORS.md][7] file signifies agreement to all rights and reservations provided by the [License][4].
* [Squash related commits together][5].
* Open a [pull request][6].
* The pull request will be reviewed by the community and merged by the project committers.

[1]: https://github.com/cerner/terra-framework/issues
[2]: http://gun.io/blog/how-to-github-fork-branch-and-pull-request
[3]: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
[4]: ./LICENSE
[5]: http://gitready.com/advanced/2009/02/10/squashing-commits-with-rebase.html
[6]: https://help.github.com/articles/using-pull-requests
[7]: ./CONTRIBUTORS.md
5 changes: 5 additions & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Cerner Corporation

- Tyler Biethman [@tbiethman]

[@tbiethman]: https://github.com/tbiethman
Loading

0 comments on commit e2c3e5c

Please sign in to comment.