@hpcc-js/bundle
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -22,2 +22,3 @@ "use strict"; | ||
const deps = {}; | ||
const webpackShims = ["@hpcc-js/dgrid-shim", "@hpcc-js/ddl-shim", "@hpcc-js/c3-shim"]; | ||
function walkDependencies(folder, depth = 0) { | ||
@@ -27,3 +28,3 @@ const pkg = require(path.join(folder, "package.json")); | ||
for (const key in pkg.dependencies) { | ||
if (key === "@hpcc-js/dgrid-shim" || (key !== "@hpcc-js/d3-bullet" && key.indexOf("@hpcc-js") === 0 && key.indexOf("-shim") < 0)) { | ||
if (webpackShims.indexOf(key) >= 0 || (key !== "@hpcc-js/d3-bullet" && key.indexOf("@hpcc-js") === 0 && key.indexOf("-shim") < 0)) { | ||
const depPkg = walkDependencies(path.join(folder, "node_modules", key), depth + 1); | ||
@@ -71,5 +72,3 @@ deps[key] = depPkg; | ||
commonjs({ | ||
namedExports: { | ||
"../../shims/dgrid-shim/dist/dgrid-shim.js": ["Memory", "PagingGrid", "Grid"] | ||
} | ||
namedExports: {} | ||
}), | ||
@@ -102,2 +101,2 @@ postcss({ | ||
bundle(true) | ||
]).catch(console.error); | ||
]).catch(console.log); |
{ | ||
"name": "@hpcc-js/bundle", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "hpcc-js - bundle", | ||
@@ -21,2 +21,9 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"rollup": "^0.45.2", | ||
"rollup-plugin-alias": "^1.3.1", | ||
"rollup-plugin-commonjs": "^8.0.2", | ||
"rollup-plugin-node-resolve": "^3.0.0", | ||
"rollup-plugin-postcss": "^0.5.4", | ||
"rollup-plugin-sourcemaps": "^0.4.2", | ||
"rollup-plugin-uglify": "^2.0.1", | ||
"tslib": "^1.7.1" | ||
@@ -23,0 +30,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4586
8
99
+ Addedrollup@^0.45.2
+ Addedrollup-plugin-alias@^1.3.1
+ Addedrollup-plugin-postcss@^0.5.4
+ Addedrollup-plugin-uglify@^2.0.1
+ Addedacorn@5.7.4(transitive)
+ Addedansi-regex@2.1.1(transitive)
+ Addedansi-styles@2.2.13.2.1(transitive)
+ Addedatob@2.1.2(transitive)
+ Addedbuiltin-modules@2.0.0(transitive)
+ Addedchalk@1.1.32.4.2(transitive)
+ Addedcolor-convert@1.9.3(transitive)
+ Addedcolor-name@1.1.3(transitive)
+ Addedconcat-with-sourcemaps@1.1.0(transitive)
+ Addeddecode-uri-component@0.2.2(transitive)
+ Addedescape-string-regexp@1.0.5(transitive)
+ Addedestree-walker@0.5.20.6.1(transitive)
+ Addedfs-extra@3.0.1(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedgraceful-fs@4.2.11(transitive)
+ Addedhas-ansi@2.0.0(transitive)
+ Addedhas-flag@3.0.0(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedis-core-module@2.16.1(transitive)
+ Addedis-module@1.0.0(transitive)
+ Addedjsonfile@3.0.1(transitive)
+ Addedmagic-string@0.22.5(transitive)
+ Addedpath-parse@1.0.7(transitive)
+ Addedpostcss@6.0.23(transitive)
+ Addedreserved-words@0.1.2(transitive)
+ Addedresolve@1.22.10(transitive)
+ Addedresolve-url@0.2.1(transitive)
+ Addedrollup@0.45.2(transitive)
+ Addedrollup-plugin-alias@1.5.2(transitive)
+ Addedrollup-plugin-commonjs@8.4.1(transitive)
+ Addedrollup-plugin-node-resolve@3.4.0(transitive)
+ Addedrollup-plugin-postcss@0.5.6(transitive)
+ Addedrollup-plugin-sourcemaps@0.4.2(transitive)
+ Addedrollup-plugin-uglify@2.0.1(transitive)
+ Addedrollup-pluginutils@2.8.2(transitive)
+ Addedslash@3.0.0(transitive)
+ Addedsource-map@0.5.70.6.1(transitive)
+ Addedsource-map-resolve@0.5.3(transitive)
+ Addedsource-map-support@0.4.18(transitive)
+ Addedsource-map-url@0.4.1(transitive)
+ Addedstrip-ansi@3.0.1(transitive)
+ Addedstyle-inject@0.2.1(transitive)
+ Addedsupports-color@2.0.05.5.0(transitive)
+ Addedsupports-preserve-symlinks-flag@1.0.0(transitive)
+ Addeduglify-js@3.19.3(transitive)
+ Addeduniversalify@0.1.2(transitive)
+ Addedurix@0.1.0(transitive)
+ Addedvlq@0.2.3(transitive)