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

Commit

Permalink
Move iotile-common to peer dependency (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
timburke authored Jan 2, 2019
1 parent 194bfc2 commit 69045d0
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 8 deletions.
5 changes: 5 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Release Notes for @iotile/iotile-cloud

## 0.0.14

- Move @iotile/iotile-common to an external peer dependency so that we only have a single
copy of it in projects that include both @iotile/iotile-device and @iotile/iotile-common

## v0.0.13

- Move to use `typescript-logging` for all logging.
Expand Down
15 changes: 10 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@iotile/iotile-cloud",
"version": "0.0.13",
"version": "0.0.14",
"description": "A typescript library for interfacing with the IOTile Cloud API",
"main": "dist/iotile-cloud.umd.js",
"types": "dist/types/index.d.ts",
Expand Down Expand Up @@ -72,14 +72,15 @@
"dependencies": {
"axios": "^0.18.0",
"axios-mock-adapter": "^1.15.0",
"@iotile/iotile-common": "0.0.12",
"lodash.clonedeep": "^4.5.0",
"lodash.merge": "^4.6.1"
},
"peerDependencies": {
"@iotile/iotile-common": "0.0.12",
"typescript-logging": "^0.6.3"
},
"devDependencies": {
"@iotile/iotile-common": "0.0.12",
"@types/jest": "^22.0.0",
"@types/node": "^9.3.0",
"cz-conventional-changelog": "^2.1.0",
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default {
],
sourcemap: true,
// Indicate here external modules you don't wanna include in your bundle (i.e.: 'lodash')
external: ['typescript-logging'],
external: ['typescript-logging', "@iotile/iotile-common"],
watch: {
include: 'src/**',
},
Expand Down

0 comments on commit 69045d0

Please sign in to comment.