powerbi-visuals-tools 7.0.1 → 7.0.2-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Changelog.md +5 -0
- package/lib/CommandManager.js +1 -1
- package/lib/WebPackWrap.js +0 -9
- package/package.json +7 -5
package/Changelog.md
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
This page contains information about changes to the PowerBI Visual Tools (pbiviz).
|
|
4
4
|
|
|
5
|
+
## 7.0.2
|
|
6
|
+
* Changed source map generation to `eval-source-map`.
|
|
7
|
+
* Fixed load source map error.
|
|
8
|
+
* Updated packages.
|
|
9
|
+
|
|
5
10
|
## 7.0.1
|
|
6
11
|
* Fixed issue with missing `lib/*` files in latest versions.
|
|
7
12
|
* Updated packages
|
package/lib/CommandManager.js
CHANGED
package/lib/WebPackWrap.js
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import fs from 'fs-extra';
|
|
3
3
|
import os from 'os';
|
|
4
4
|
import path from 'path';
|
|
5
|
-
import webpack from 'webpack';
|
|
6
5
|
import util from 'util';
|
|
7
6
|
const exec = util.promisify(processExec);
|
|
8
7
|
import { exec as processExec } from 'child_process';
|
|
@@ -184,14 +183,6 @@ export default class WebPackWrap {
|
|
|
184
183
|
this.webpackConfig.plugins.push(new PowerBICustomVisualsWebpackPlugin(pluginConfiguration), new ExtraWatchWebpackPlugin({
|
|
185
184
|
files: this.pbiviz.capabilities
|
|
186
185
|
}));
|
|
187
|
-
// Only add separate source map files when NOT using inline source maps
|
|
188
|
-
if (options.devMode && options.devtool && this.webpackConfig.devServer.port &&
|
|
189
|
-
options.devtool !== "inline-source-map") {
|
|
190
|
-
this.webpackConfig.plugins.push(new webpack.SourceMapDevToolPlugin({
|
|
191
|
-
filename: '[file].map',
|
|
192
|
-
publicPath: `https://localhost:${this.webpackConfig.devServer.port}/assets/`
|
|
193
|
-
}));
|
|
194
|
-
}
|
|
195
186
|
}
|
|
196
187
|
async configureLoaders({ fast = false, includeAllLocales = false }) {
|
|
197
188
|
this.webpackConfig.module.rules.push({
|
package/package.json
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "powerbi-visuals-tools",
|
|
3
|
-
"version": "7.0.1",
|
|
3
|
+
"version": "7.0.2-beta.1",
|
|
4
4
|
"description": "Command line tool for creating and publishing visuals for Power BI",
|
|
5
5
|
"main": "./bin/pbiviz.js",
|
|
6
6
|
"type": "module",
|
|
7
|
+
"publishConfig": {
|
|
8
|
+
"tag": "beta"
|
|
9
|
+
},
|
|
7
10
|
"scripts": {
|
|
8
11
|
"build": "tsc",
|
|
9
12
|
"pbiviz": "node ./bin/pbiviz.js",
|
|
@@ -28,7 +31,7 @@
|
|
|
28
31
|
},
|
|
29
32
|
"homepage": "https://github.com/Microsoft/PowerBI-visuals-tools#readme",
|
|
30
33
|
"dependencies": {
|
|
31
|
-
"@typescript-eslint/parser": "^8.
|
|
34
|
+
"@typescript-eslint/parser": "^8.49.0",
|
|
32
35
|
"async": "^3.2.6",
|
|
33
36
|
"chalk": "^5.4.1",
|
|
34
37
|
"commander": "^13.1.0",
|
|
@@ -47,9 +50,8 @@
|
|
|
47
50
|
"lodash.isequal": "4.5.0",
|
|
48
51
|
"lodash.ismatch": "^4.4.0",
|
|
49
52
|
"mini-css-extract-plugin": "^2.9.4",
|
|
50
|
-
"powerbi-visuals-api": "~5.3.0",
|
|
51
53
|
"powerbi-visuals-webpack-plugin": "^4.3.1",
|
|
52
|
-
"terser-webpack-plugin": "^5.3.
|
|
54
|
+
"terser-webpack-plugin": "^5.3.16",
|
|
53
55
|
"ts-loader": "^9.5.4",
|
|
54
56
|
"typescript": "^5.9.3",
|
|
55
57
|
"webpack": "^5.103.0",
|
|
@@ -57,7 +59,7 @@
|
|
|
57
59
|
"webpack-dev-server": "^5.2.2"
|
|
58
60
|
},
|
|
59
61
|
"devDependencies": {
|
|
60
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
62
|
+
"@typescript-eslint/eslint-plugin": "^8.49.0",
|
|
61
63
|
"eslint": "^9.39.1",
|
|
62
64
|
"jasmine": "5.3.1",
|
|
63
65
|
"jasmine-spec-reporter": "7.0.0",
|