Skip to content

Commit abcb886

Browse files
committed
Merged PR 85711: Remove typings install from postInstall.
Remove typings install from postInstall. postInstall runs on customer machines when they install the powerbi-client library. We do not need to require typings installed on customer machine.
1 parent 8377ed0 commit abcb886

File tree

6 files changed

+16
-9
lines changed

6 files changed

+16
-9
lines changed

.pipelines/restore.ps1

+9-1
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,20 @@ Write-Host "start: try install latest npm version"
1515
& npm install npm@latest -g
1616
Write-Host "done: try install latest npm version"
1717

18+
Write-Host "start: install typings globaly"
19+
& npm install typings -g
20+
Write-Host "done: install typings globaly"
21+
1822
# Do not update $exitCode because we do not want to fail if install latest npm version fails.
1923

24+
Write-Host "start: typings install"
25+
& typings install
26+
Write-Host "done: typings install"
27+
$exitCode += $LASTEXITCODE;
28+
2029
Write-Host "start: npm install"
2130
& npm install --no-audit --no-save
2231
Write-Host "done: npm install"
23-
2432
$exitCode += $LASTEXITCODE;
2533

2634
exit $exitCode

dist/powerbi-client.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! powerbi-client v2.12.0 | (c) 2016 Microsoft Corporation MIT */
1+
/*! powerbi-client v2.12.1 | (c) 2016 Microsoft Corporation MIT */
22
declare module "util" {
33
import { HttpPostMessage } from 'http-post-message';
44
/**

dist/powerbi.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/powerbi.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "powerbi-client",
3-
"version": "2.12.0",
3+
"version": "2.12.1",
44
"description": "JavaScript library for embedding Power BI into your apps. Provides service which makes it easy to embed different types of components and an object model which allows easy interaction with these components such as changing pages, applying filters, and responding to data selection.",
55
"main": "dist/powerbi.js",
66
"typings": "dist/powerbi-client.d.ts",
@@ -13,7 +13,6 @@
1313
"scripts": {
1414
"build": "gulp build",
1515
"start": "http-server ./demo",
16-
"postinstall": "typings install",
1716
"prestart": "cd demo && npm install",
1817
"test": "gulp test",
1918
"gulp": "gulp",

src/config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/** @ignore *//** */
22
const config = {
3-
version: '2.12.0',
3+
version: '2.12.1',
44
type: 'js'
55
};
66

0 commit comments

Comments
 (0)