This repository has been archived by the owner on Feb 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ALL TEH UPGRADEZ * I'M SO OVER NODE6 * Add note about watch * Use rimraf and don't build test * Add ticket comment
- Loading branch information
1 parent
ed0d96e
commit 970dc94
Showing
10 changed files
with
2,550 additions
and
3,474 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/* | ||
!/dist | ||
dist/**/*.map | ||
dist/test | ||
!LICENSE.txt | ||
!HISTORY.md | ||
!README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
language: node_js | ||
|
||
node_js: | ||
- "8" | ||
- "10" | ||
- "11" | ||
|
||
branches: | ||
only: | ||
- master | ||
|
||
install: | ||
# Fail if lockfile outdated. | ||
# https://yarnpkg.com/lang/en/docs/cli/install/#toc-yarn-install-frozen-lockfile | ||
- yarn install --frozen-lockfile | ||
|
||
script: | ||
- yarn --version | ||
- yarn run clean | ||
- yarn run compile | ||
- yarn run lint | ||
- yarn run tests | ||
# TODO: Add coverage | ||
# https://github.com/FormidableLabs/yesno/issues/5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
Contributing | ||
============ | ||
|
||
Thanks for contributing! | ||
|
||
## Development | ||
|
||
Install the project using `yarn` (which we've standardized on for development): | ||
|
||
```sh | ||
$ yarn install | ||
``` | ||
|
||
You can build and run everything with: | ||
|
||
```sh | ||
$ yarn run compile | ||
$ yarn run check | ||
``` | ||
|
||
If you are actively developing, you can run a watch in one terminal: | ||
|
||
```sh | ||
$ yarn run watch | ||
``` | ||
|
||
to build source files and then do whatever development you want in a separate terminal. | ||
|
||
## Releasing a new version to NPM | ||
|
||
_Only for project administrators_. | ||
|
||
1. Update `HISTORY.md`, following format for previous versions | ||
2. Commit as "History for version NUMBER" | ||
3. Run `npm version patch` (or `minor|major|VERSION`) to run tests and lint, | ||
build published directories, then update `package.json` + add a git tag. | ||
4. Run `npm publish` and publish to NPM if all is well. | ||
5. Run `git push && git push --tags` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
History | ||
======= | ||
|
||
## Unreleased |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2018 Formidable Labs | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
Oops, something went wrong.