@agilemotion/oui-react-js 1.4.0 → 1.4.2

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.
@@ -27,8 +27,6 @@ var _RestUtils = require("./RestUtils");
27
27
 
28
28
  var _SocketManager = _interopRequireDefault(require("./components/SocketManager"));
29
29
 
30
- require("../skins.css");
31
-
32
30
  function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; }
33
31
 
34
32
  function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
package/gulpfile.js ADDED
@@ -0,0 +1,77 @@
1
+ const gulp = require("gulp");
2
+ const gap = require("gulp-append-prepend");
3
+
4
+ gulp.task("licenses", async function() {
5
+ // this is to add Creative Tim licenses in the production mode for the minified js
6
+ gulp
7
+ .src("build/static/js/*chunk.js", { base: "./" })
8
+ .pipe(
9
+ gap.prependText(`/*!
10
+
11
+ =========================================================
12
+ * Black Dashboard React - v1.1.0
13
+ =========================================================
14
+
15
+ * Product Page: https://www.creative-tim.com/product/black-dashboard-react
16
+ * Copyright 2020 Creative Tim (https://www.creative-tim.com)
17
+ * Licensed under MIT (https://github.com/creativetimofficial/black-dashboard-react/blob/master/LICENSE.md)
18
+
19
+ * Coded by Creative Tim
20
+
21
+ =========================================================
22
+
23
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
24
+
25
+ */`)
26
+ )
27
+ .pipe(gulp.dest("./", { overwrite: true }));
28
+
29
+ // this is to add Creative Tim licenses in the production mode for the minified html
30
+ gulp
31
+ .src("build/index.html", { base: "./" })
32
+ .pipe(
33
+ gap.prependText(`<!--
34
+
35
+ =========================================================
36
+ * Black Dashboard React - v1.1.0
37
+ =========================================================
38
+
39
+ * Product Page: https://www.creative-tim.com/product/black-dashboard-react
40
+ * Copyright 2020 Creative Tim (https://www.creative-tim.com)
41
+ * Licensed under MIT (https://github.com/creativetimofficial/black-dashboard-react/blob/master/LICENSE.md)
42
+
43
+ * Coded by Creative Tim
44
+
45
+ =========================================================
46
+
47
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
48
+
49
+ -->`)
50
+ )
51
+ .pipe(gulp.dest("./", { overwrite: true }));
52
+
53
+ // this is to add Creative Tim licenses in the production mode for the minified css
54
+ gulp
55
+ .src("build/static/css/*chunk.css", { base: "./" })
56
+ .pipe(
57
+ gap.prependText(`/*!
58
+
59
+ =========================================================
60
+ * Black Dashboard React - v1.1.0
61
+ =========================================================
62
+
63
+ * Product Page: https://www.creative-tim.com/product/black-dashboard-react
64
+ * Copyright 2020 Creative Tim (https://www.creative-tim.com)
65
+ * Licensed under MIT (https://github.com/creativetimofficial/black-dashboard-react/blob/master/LICENSE.md)
66
+
67
+ * Coded by Creative Tim
68
+
69
+ =========================================================
70
+
71
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
72
+
73
+ */`)
74
+ )
75
+ .pipe(gulp.dest("./", { overwrite: true }));
76
+ return;
77
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agilemotion/oui-react-js",
3
- "version": "1.4.0",
3
+ "version": "1.4.2",
4
4
  "babel": {
5
5
  "presets": [
6
6
  "@babel/preset-env",
@@ -108,5 +108,9 @@
108
108
  "@types/markerclustererplus": "2.1.33",
109
109
  "eslint-plugin-flowtype": "3.13.0",
110
110
  "typescript": "3.8.3"
111
- }
111
+ },
112
+ "description": "export NODE_OPTIONS=--openssl-legacy-provider",
113
+ "main": "gulpfile.js",
114
+ "author": "",
115
+ "license": "ISC"
112
116
  }