Skip to content
This repository has been archived by the owner on Dec 12, 2022. It is now read-only.

Commit

Permalink
fix: issue#11 wont compile on circleci (#12)
Browse files Browse the repository at this point in the history
* fix: add npmignore
* docs(readme): add a note about the incident
  • Loading branch information
pheekus authored Sep 13, 2019
1 parent 6cc25b6 commit 1439545
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- v1-npm-{{checksum ".circleci/config.yml"}}-{{checksum "package-lock.json"}}
- v1-npm-{{checksum ".circleci/config.yml"}}
- run: npm install
- run: npm test
- run: npm run test
- codecov/upload:
file: coverage/coverage-final.json
cache:
Expand All @@ -39,6 +39,7 @@ jobs:
- run: npm install
- run: npm set //registry.npmjs.org/:_authToken=$NPM_TOKEN
- run: npm run build
- run: rm lib/package.json
- run: npm run semantic-release || true

workflows:
Expand Down
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
!lib/
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ Svarog is a CLI that helps you protect your [Firestore](https://cloud.google.com
[![CircleCI](https://circleci.com/gh/dantothefuture/svarog/tree/master.svg?style=shield)](https://circleci.com/gh/dantothefuture/svarog/tree/master)
[![Codecov](https://codecov.io/gh/dantothefuture/svarog/branch/master/graph/badge.svg)](https://codecov.io/gh/dantothefuture/svarog)

> **Note**: if you are an npm user, please avoid installing versions 0.5.0 to 1.2.4 - there was an issue (#11) with the project config that resulted in empty packages being published to npm.
## Getting started

### Step 1: describe your schema
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"scripts": {
"format": "tslint -c tslint.json 'src/**/*.ts' --fix && prettier --write 'src/**/*.ts'",
"posttest": "nyc report --include \"src/**\" --extension .ts --reporter json",
"build": "tsc -p tsconfig.json",
"build": "tsc -b --verbose",
"test": "nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"",
"semantic-release": "semantic-release"
},
Expand Down

0 comments on commit 1439545

Please sign in to comment.