@wavemaker/custom-widgets-m3 11.15.6-rc.647667 → 11.16.0-rc.647821
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/custom-widgets-bundle.cjs.js +14 -37
- package/npm-shrinkwrap.json +96 -264
- package/package-lock.json +96 -264
- package/package.json +7 -5
- package/scripts/build.js +5 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wavemaker/custom-widgets-m3",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.16.0-rc.647821",
|
|
4
4
|
"description": "A collection of custom widgets",
|
|
5
5
|
"module": "index",
|
|
6
6
|
"main": "index",
|
|
@@ -27,11 +27,13 @@
|
|
|
27
27
|
"typescript": "^5.5.4",
|
|
28
28
|
"webpack": "^5.94.0",
|
|
29
29
|
"webpack-cli": "^5.1.4",
|
|
30
|
-
"yargs": "^16.2.0"
|
|
31
|
-
"tar": "^6.1.0"
|
|
30
|
+
"yargs": "^16.2.0"
|
|
32
31
|
},
|
|
33
32
|
"exports": {
|
|
34
|
-
"
|
|
35
|
-
|
|
33
|
+
".": {
|
|
34
|
+
"types": "./index.d.ts",
|
|
35
|
+
"import": "./index",
|
|
36
|
+
"require": "./dist/custom-widgets-bundle.cjs.js"
|
|
37
|
+
}
|
|
36
38
|
}
|
|
37
39
|
}
|
package/scripts/build.js
CHANGED
|
@@ -40,7 +40,6 @@ var projectDir = '.';
|
|
|
40
40
|
var execa = require('execa');
|
|
41
41
|
var yargs = require('yargs');
|
|
42
42
|
var hideBin = require('yargs/helpers').hideBin;
|
|
43
|
-
var tar = require('tar');
|
|
44
43
|
function updatePackageVersion(packagePath, key, version) {
|
|
45
44
|
return __awaiter(this, void 0, void 0, function () {
|
|
46
45
|
var content;
|
|
@@ -65,8 +64,11 @@ function postBuild(runtimeVersion) {
|
|
|
65
64
|
packageData.main = 'index';
|
|
66
65
|
packageData.module = 'index';
|
|
67
66
|
packageData.exports = {
|
|
68
|
-
"
|
|
69
|
-
|
|
67
|
+
".": {
|
|
68
|
+
"types": "./index.d.ts",
|
|
69
|
+
"import": "./index",
|
|
70
|
+
"require": "./dist/custom-widgets-bundle.cjs.js"
|
|
71
|
+
}
|
|
70
72
|
};
|
|
71
73
|
delete packageData['files'];
|
|
72
74
|
fs.writeFileSync("".concat(projectDir, "/dist/es2015/package.json"), JSON.stringify(packageData, null, 2));
|