Skip to content

Commit

Permalink
Merge pull request #4 from alex-ald/update-ci-for-packaging
Browse files Browse the repository at this point in the history
Updated travic ci build to prepare package for release when deploying
  • Loading branch information
alex-ald committed May 1, 2019
2 parents 0177cc7 + dd5d5e8 commit ce57552
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 16 deletions.
10 changes: 8 additions & 2 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
test
tests
doc
lib
assets
examples

.DS_Store
Expand All @@ -11,11 +12,16 @@ gulpfile.js

tsconfig.json
tslint.json
.editorconfig
.gitignore
.prettierrc
.travis.yml
jest.config.js

yarn.lock
package-lock.json

.nyc_output
coverage

.vscode
.vscode
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ before_install:
- "npm install @nestjs/common @nestjs/core postgraphile reflect-metadata"
script:
- npm run ci

before_deploy:
- npm run prepare:publish
deploy:
provider: npm
email: hi@alexald.com
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ A module for [Nest](https://github.com/nestjs/nest) that allows you to easily in

## Installation

**NOTE: STILL IN DEVELOPMENT. THERE IS NO PACKAGE YET.**
```bash
$ npm i --save postgraphile-nest postgraphile
```
Expand Down
1 change: 0 additions & 1 deletion index.ts

This file was deleted.

5 changes: 0 additions & 5 deletions nest-cli.json

This file was deleted.

6 changes: 0 additions & 6 deletions nodemon-debug.json

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"ci": "jest --coverage --coverageReporters=text-lcov | coveralls",
"lint": "tslint -c tslint.json 'lib/**/*.ts'",
"test": "jest --coverage",
"prepublish:npm": "npm run build",
"prepare:publish": "npm run build",
"publish:npm": "npm publish --access public",
"prepublish:next": "npm run build",
"publish:next": "npm publish --access public --tag next"
Expand Down

0 comments on commit ce57552

Please sign in to comment.