Skip to content

Commit

Permalink
Add legal info (#184)
Browse files Browse the repository at this point in the history
* add code of conduct and contributing

* add copyright notices

* docblock

* add license to readme
  • Loading branch information
stopachka authored and jtliao committed Oct 20, 2018
1 parent 02c4dd8 commit f395ea3
Show file tree
Hide file tree
Showing 16 changed files with 95 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Code of Conduct

Facebook has adopted a Code of Conduct that we expect project participants to adhere to.
Please read the [full text](https://code.fb.com/codeofconduct/)
so that you can understand what actions will and will not be tolerated.
37 changes: 37 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Contributing to node-wit

We want to make contributing to this project as easy and transparent as
possible.

## Our Development Process
... (in particular how this is synced with internal changes to the project)

## Pull Requests
We actively welcome your pull requests.

1. Fork the repo and create your branch from `master`.
2. If you've added code that should be tested, add tests.
3. If you've changed APIs, update the documentation.
4. Ensure the test suite passes.
5. If you haven't already, complete the Contributor License Agreement ("CLA").

## Contributor License Agreement ("CLA")

In order to accept your pull request, we need you to submit a CLA. You only need
to do this once to work on any of Facebook's open source projects.

Complete your CLA here: <https://code.facebook.com/cla>

## Issues

We use GitHub issues to track public bugs. Please ensure your description is
clear and has sufficient instructions to be able to reproduce the issue.

Facebook has a [bounty program](https://www.facebook.com/whitehat/) for the safe
disclosure of security bugs. In those cases, please go through the process
outlined on that page and do not file a public issue.

## License

By contributing to node-wit, you agree that your contributions will be licensed
under the LICENSE file in the root directory of this source tree.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,7 @@ Version prior to 20160511 will return the old format:
1. Create a new app in wit.ai web console using tests/wit-ai-basic-app-for-tests.zip
2. Copy the Server Access Token from app settings
3. Run `WIT_TOKEN=XXX npm test`, where XXX is the Server Access Token

## License

The license for node-wit can be found in LICENSE file in the root directory of this source tree.
4 changes: 4 additions & 0 deletions examples/basic.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*/

'use strict';

let Wit = null;
Expand Down
4 changes: 4 additions & 0 deletions examples/celebrities.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*/

'use strict';

let Wit = null;
Expand Down
4 changes: 4 additions & 0 deletions examples/joke.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*/

'use strict';

let Wit = null;
Expand Down
4 changes: 4 additions & 0 deletions examples/messenger.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*/

'use strict';

// Messenger API integration example
Expand Down
4 changes: 4 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*/

module.exports = {
log: require('./lib/log'),
Wit: require('./lib/wit'),
Expand Down
4 changes: 4 additions & 0 deletions lib/config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*/

module.exports = {
DEFAULT_API_VERSION: '20160516',
DEFAULT_MAX_STEPS: 5,
Expand Down
4 changes: 4 additions & 0 deletions lib/interactive.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*/

'use strict';

const {DEFAULT_MAX_STEPS} = require('./config');
Expand Down
4 changes: 4 additions & 0 deletions lib/log.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*/

'use strict';

const DEBUG = 'debug';
Expand Down
4 changes: 4 additions & 0 deletions lib/wit.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*/

'use strict';

const {
Expand Down
1 change: 1 addition & 0 deletions publish.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.

set -ex

Expand Down
4 changes: 4 additions & 0 deletions tests/dist.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*/

'use strict';

describe('dist', () => {
Expand Down
4 changes: 4 additions & 0 deletions tests/lib.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*/

'use strict';

describe('lib', () => {
Expand Down
4 changes: 4 additions & 0 deletions tests/shared.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*/

'use strict';

const expect = require('chai').expect;
Expand Down

0 comments on commit f395ea3

Please sign in to comment.