Skip to content

Commit

Permalink
Add tslib as a dependency to app, polyfill, storage, template and u…
Browse files Browse the repository at this point in the history
…til packages.

Since we set `importHelpers` compiler option to `true` in the base config,
we need to add `tslib` to all packages. `*-types` packages are omitted
since they do not contain any executable code.
  • Loading branch information
merlinnot committed Feb 14, 2018
1 parent c1f73c0 commit 12c2b54
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
3 changes: 2 additions & 1 deletion packages/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"license": "Apache-2.0",
"dependencies": {
"@firebase/app-types": "0.1.1",
"@firebase/util": "0.1.8"
"@firebase/util": "0.1.8",
"tslib": "^1.9.0"
},
"devDependencies": {
"@types/chai": "^4.0.4",
Expand Down
3 changes: 2 additions & 1 deletion packages/polyfill/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
},
"license": "Apache-2.0",
"dependencies": {
"promise-polyfill": "^6.0.2"
"promise-polyfill": "^6.0.2",
"tslib": "^1.9.0"
},
"devDependencies": {
"@types/node": "^8.0.47",
Expand Down
3 changes: 2 additions & 1 deletion packages/storage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
},
"license": "Apache-2.0",
"dependencies": {
"@firebase/storage-types": "0.1.1"
"@firebase/storage-types": "0.1.1",
"tslib": "^1.9.0"
},
"peerDependencies": {
"@firebase/app": "^0.1.0",
Expand Down
3 changes: 2 additions & 1 deletion packages/template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"@firebase/app-types": "0.1.1"
},
"dependencies": {
"@firebase/template-types": "0.1.0"
"@firebase/template-types": "0.1.0",
"tslib": "^1.9.0"
},
"license": "Apache-2.0",
"devDependencies": {
Expand Down
3 changes: 3 additions & 0 deletions packages/util/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
"prepare": "gulp build"
},
"license": "Apache-2.0",
"dependencies": {
"tslib": "^1.9.0"
},
"devDependencies": {
"@types/chai": "^4.0.4",
"@types/mocha": "^2.2.44",
Expand Down

0 comments on commit 12c2b54

Please sign in to comment.