openmrs 6.3.1-pre.3092 → 6.3.1-pre.3104
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/dist/commands/assemble.js +1 -2
- package/dist/commands/build.js +1 -2
- package/dist/commands/debug.js +1 -2
- package/dist/commands/develop.js +18 -9
- package/dist/commands/start.js +1 -2
- package/dist/index.js +17 -7
- package/dist/runner.js +17 -7
- package/dist/utils/config.js +1 -2
- package/dist/utils/dependencies.js +3 -4
- package/dist/utils/devserver.js +1 -2
- package/dist/utils/helpers.js +3 -4
- package/dist/utils/importmap.js +8 -9
- package/dist/utils/logger.js +3 -4
- package/dist/utils/npmConfig.js +1 -2
- package/dist/utils/untar.js +18 -9
- package/dist/utils/variables.js +1 -2
- package/package.json +5 -5
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.runAssemble =
|
|
6
|
+
exports.runAssemble = runAssemble;
|
|
7
7
|
const promises_1 = require("node:fs/promises");
|
|
8
8
|
const node_fs_1 = require("node:fs");
|
|
9
9
|
const node_path_1 = require("node:path");
|
|
@@ -224,4 +224,3 @@ async function runAssemble(args) {
|
|
|
224
224
|
}
|
|
225
225
|
(0, utils_1.logInfo)(`Finished assembling frontend distribution`);
|
|
226
226
|
}
|
|
227
|
-
exports.runAssemble = runAssemble;
|
package/dist/commands/build.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.runBuild =
|
|
3
|
+
exports.runBuild = runBuild;
|
|
4
4
|
const fs_1 = require("fs");
|
|
5
5
|
const utils_1 = require("../utils");
|
|
6
6
|
const node_path_1 = require("node:path");
|
|
@@ -95,4 +95,3 @@ async function runBuild(args) {
|
|
|
95
95
|
});
|
|
96
96
|
});
|
|
97
97
|
}
|
|
98
|
-
exports.runBuild = runBuild;
|
package/dist/commands/debug.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.runDebug =
|
|
3
|
+
exports.runDebug = runDebug;
|
|
4
4
|
const utils_1 = require("../utils");
|
|
5
5
|
function runDebug(args) {
|
|
6
6
|
const webpack = require('webpack');
|
|
@@ -35,4 +35,3 @@ function runDebug(args) {
|
|
|
35
35
|
});
|
|
36
36
|
return new Promise(() => { });
|
|
37
37
|
}
|
|
38
|
-
exports.runDebug = runDebug;
|
package/dist/commands/develop.js
CHANGED
|
@@ -15,18 +15,28 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
37
|
};
|
|
28
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.runDevelop =
|
|
39
|
+
exports.runDevelop = runDevelop;
|
|
30
40
|
const express_1 = __importDefault(require("express"));
|
|
31
41
|
const http_proxy_middleware_1 = require("http-proxy-middleware");
|
|
32
42
|
const node_path_1 = require("node:path");
|
|
@@ -151,4 +161,3 @@ async function runDevelop(args) {
|
|
|
151
161
|
});
|
|
152
162
|
return new Promise(() => { });
|
|
153
163
|
}
|
|
154
|
-
exports.runDevelop = runDevelop;
|
package/dist/commands/start.js
CHANGED
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.runStart =
|
|
6
|
+
exports.runStart = runStart;
|
|
7
7
|
const express_1 = __importDefault(require("express"));
|
|
8
8
|
const http_proxy_middleware_1 = require("http-proxy-middleware");
|
|
9
9
|
const node_path_1 = require("node:path");
|
|
@@ -40,4 +40,3 @@ function runStart(args) {
|
|
|
40
40
|
});
|
|
41
41
|
return new Promise(() => { });
|
|
42
42
|
}
|
|
43
|
-
exports.runStart = runStart;
|
package/dist/index.js
CHANGED
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
36
|
exports.commands = void 0;
|
|
27
37
|
const commands = __importStar(require("./commands"));
|
package/dist/runner.js
CHANGED
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
36
|
const commands = __importStar(require("./commands"));
|
|
27
37
|
const utils_1 = require("./utils");
|
package/dist/utils/config.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.loadWebpackConfig =
|
|
3
|
+
exports.loadWebpackConfig = loadWebpackConfig;
|
|
4
4
|
const variables_1 = require("./variables");
|
|
5
5
|
function loadWebpackConfig(options = {}) {
|
|
6
6
|
const variables = {};
|
|
@@ -65,4 +65,3 @@ function loadWebpackConfig(options = {}) {
|
|
|
65
65
|
}
|
|
66
66
|
return config;
|
|
67
67
|
}
|
|
68
|
-
exports.loadWebpackConfig = loadWebpackConfig;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.getSharedDependencies = getSharedDependencies;
|
|
4
|
+
exports.getMainBundle = getMainBundle;
|
|
5
|
+
exports.getAppRoutes = getAppRoutes;
|
|
4
6
|
const node_path_1 = require("node:path");
|
|
5
7
|
const node_fs_1 = require("node:fs");
|
|
6
8
|
const semver_1 = require("semver");
|
|
7
9
|
function getSharedDependencies() {
|
|
8
10
|
return require('@openmrs/esm-app-shell/dependencies.json');
|
|
9
11
|
}
|
|
10
|
-
exports.getSharedDependencies = getSharedDependencies;
|
|
11
12
|
function getMainBundle(project) {
|
|
12
13
|
const file = project.browser || project.module || project.main;
|
|
13
14
|
if (!Boolean(file)) {
|
|
@@ -19,7 +20,6 @@ function getMainBundle(project) {
|
|
|
19
20
|
dir: (0, node_path_1.dirname)(file),
|
|
20
21
|
};
|
|
21
22
|
}
|
|
22
|
-
exports.getMainBundle = getMainBundle;
|
|
23
23
|
function getAppRoutes(sourceDirectory, project) {
|
|
24
24
|
const routesPath = (0, node_path_1.resolve)(sourceDirectory, 'src', 'routes.json');
|
|
25
25
|
if (!(0, node_fs_1.existsSync)(routesPath)) {
|
|
@@ -36,4 +36,3 @@ function getAppRoutes(sourceDirectory, project) {
|
|
|
36
36
|
json['version'] = project.version ? (0, semver_1.inc)(project.version, 'prerelease', 'local') : undefined;
|
|
37
37
|
return json;
|
|
38
38
|
}
|
|
39
|
-
exports.getAppRoutes = getAppRoutes;
|
package/dist/utils/devserver.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.startDevServer =
|
|
3
|
+
exports.startDevServer = startDevServer;
|
|
4
4
|
const path_1 = require("path");
|
|
5
5
|
const child_process_1 = require("child_process");
|
|
6
6
|
function startDevServer(source, port, cwd = process.cwd(), useRspack = false) {
|
|
@@ -9,4 +9,3 @@ function startDevServer(source, port, cwd = process.cwd(), useRspack = false) {
|
|
|
9
9
|
ps.send({ source, port, useRspack });
|
|
10
10
|
return ps;
|
|
11
11
|
}
|
|
12
|
-
exports.startDevServer = startDevServer;
|
package/dist/utils/helpers.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.trimEnd = trimEnd;
|
|
4
|
+
exports.removeTrailingSlash = removeTrailingSlash;
|
|
5
|
+
exports.contentHash = contentHash;
|
|
4
6
|
const webpack_1 = require("webpack");
|
|
5
7
|
function trimEnd(text, chr) {
|
|
6
8
|
while (text.endsWith(chr)) {
|
|
@@ -8,15 +10,12 @@ function trimEnd(text, chr) {
|
|
|
8
10
|
}
|
|
9
11
|
return text;
|
|
10
12
|
}
|
|
11
|
-
exports.trimEnd = trimEnd;
|
|
12
13
|
function removeTrailingSlash(path) {
|
|
13
14
|
const i = path.length - 1;
|
|
14
15
|
return path[i] === '/' ? removeTrailingSlash(path.slice(0, i)) : path;
|
|
15
16
|
}
|
|
16
|
-
exports.removeTrailingSlash = removeTrailingSlash;
|
|
17
17
|
function contentHash(obj) {
|
|
18
18
|
const hash = webpack_1.util.createHash('xxhash64');
|
|
19
19
|
hash.update(JSON.stringify(obj), 'UTF-8');
|
|
20
20
|
return hash.digest().toString('hex');
|
|
21
21
|
}
|
|
22
|
-
exports.contentHash = contentHash;
|
package/dist/utils/importmap.js
CHANGED
|
@@ -3,7 +3,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
6
|
+
exports.checkImportmapJson = checkImportmapJson;
|
|
7
|
+
exports.checkRoutesJson = checkRoutesJson;
|
|
8
|
+
exports.runProject = runProject;
|
|
9
|
+
exports.mergeImportmapAndRoutes = mergeImportmapAndRoutes;
|
|
10
|
+
exports.getImportmapAndRoutes = getImportmapAndRoutes;
|
|
11
|
+
exports.getImportMap = getImportMap;
|
|
12
|
+
exports.getRoutes = getRoutes;
|
|
13
|
+
exports.proxyImportmapAndRoutes = proxyImportmapAndRoutes;
|
|
7
14
|
const axios_1 = __importDefault(require("axios"));
|
|
8
15
|
const glob_1 = __importDefault(require("glob"));
|
|
9
16
|
const node_url_1 = require("node:url");
|
|
@@ -81,7 +88,6 @@ function checkImportmapJson(value) {
|
|
|
81
88
|
return false;
|
|
82
89
|
}
|
|
83
90
|
}
|
|
84
|
-
exports.checkImportmapJson = checkImportmapJson;
|
|
85
91
|
function checkRoutesJson(value) {
|
|
86
92
|
try {
|
|
87
93
|
const content = JSON.parse(value);
|
|
@@ -92,7 +98,6 @@ function checkRoutesJson(value) {
|
|
|
92
98
|
return false;
|
|
93
99
|
}
|
|
94
100
|
}
|
|
95
|
-
exports.checkRoutesJson = checkRoutesJson;
|
|
96
101
|
async function matchAny(baseDir, patterns) {
|
|
97
102
|
const matches = [];
|
|
98
103
|
await Promise.all(patterns.map((pattern) => new Promise((resolve, reject) => {
|
|
@@ -172,7 +177,6 @@ async function runProject(basePort, sourceDirectoryPatterns, useRspack) {
|
|
|
172
177
|
(0, logger_1.logInfo)(`Assembled dynamic import map and routes for packages (${Object.keys(importMap).join(', ')}).`);
|
|
173
178
|
return { importMap, routes, watchedRoutesPaths };
|
|
174
179
|
}
|
|
175
|
-
exports.runProject = runProject;
|
|
176
180
|
/**
|
|
177
181
|
* @param importAndRoutes An ImportmapAndRoutes object that holds the current import map and routes registries
|
|
178
182
|
* @param additionalImportsAndRoutes An object containing any import map entries, routes, and watched route files to add to the setup
|
|
@@ -211,13 +215,11 @@ async function mergeImportmapAndRoutes(importAndRoutes, additionalImportsAndRout
|
|
|
211
215
|
}
|
|
212
216
|
return { importMap: importDecl, routes: routesDecl, watchedRoutesPaths };
|
|
213
217
|
}
|
|
214
|
-
exports.mergeImportmapAndRoutes = mergeImportmapAndRoutes;
|
|
215
218
|
async function getImportmapAndRoutes(importMapPath, routesPath, basePort) {
|
|
216
219
|
return Promise.all([getImportMap(importMapPath, basePort), getRoutes(routesPath)]).then(([importMap, routes]) => {
|
|
217
220
|
return { importMap, routes };
|
|
218
221
|
});
|
|
219
222
|
}
|
|
220
|
-
exports.getImportmapAndRoutes = getImportmapAndRoutes;
|
|
221
223
|
async function getImportMap(importMapPath, basePort) {
|
|
222
224
|
if (importMapPath === '@' && basePort) {
|
|
223
225
|
(0, logger_1.logWarn)('Using the "@" import map is deprecated. Switch to use the "--run-project" flag.');
|
|
@@ -254,7 +256,6 @@ async function getImportMap(importMapPath, basePort) {
|
|
|
254
256
|
value: importMapPath,
|
|
255
257
|
};
|
|
256
258
|
}
|
|
257
|
-
exports.getImportMap = getImportMap;
|
|
258
259
|
async function getRoutes(routesPath) {
|
|
259
260
|
if (!/https?:\/\//.test(routesPath)) {
|
|
260
261
|
const path = (0, node_path_1.resolve)(process.cwd(), routesPath);
|
|
@@ -281,7 +282,6 @@ async function getRoutes(routesPath) {
|
|
|
281
282
|
value: routesPath,
|
|
282
283
|
};
|
|
283
284
|
}
|
|
284
|
-
exports.getRoutes = getRoutes;
|
|
285
285
|
/**
|
|
286
286
|
* @param importmapAndRoutes An ImportmapAndRoutes object that holds the import map and routes registry
|
|
287
287
|
* @param backend The URL for the backend
|
|
@@ -309,4 +309,3 @@ function proxyImportmapAndRoutes(importmapAndRoutes, backend, spaPath) {
|
|
|
309
309
|
importMapDecl.value = JSON.stringify(importmap);
|
|
310
310
|
return { importmap: importMapDecl, routes: routesDecl, watchedRoutesPaths };
|
|
311
311
|
}
|
|
312
|
-
exports.proxyImportmapAndRoutes = proxyImportmapAndRoutes;
|
package/dist/utils/logger.js
CHANGED
|
@@ -3,18 +3,17 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
6
|
+
exports.logInfo = logInfo;
|
|
7
|
+
exports.logWarn = logWarn;
|
|
8
|
+
exports.logFail = logFail;
|
|
7
9
|
/* eslint-disable no-console */
|
|
8
10
|
const chalk_1 = __importDefault(require("chalk"));
|
|
9
11
|
function logInfo(message) {
|
|
10
12
|
console.log(`${chalk_1.default.green.bold('[openmrs]')} ${message}`);
|
|
11
13
|
}
|
|
12
|
-
exports.logInfo = logInfo;
|
|
13
14
|
function logWarn(message) {
|
|
14
15
|
console.warn(`${chalk_1.default.yellow.bold('[openmrs]')} ${chalk_1.default.yellow(message)}`);
|
|
15
16
|
}
|
|
16
|
-
exports.logWarn = logWarn;
|
|
17
17
|
function logFail(message) {
|
|
18
18
|
console.error(`${chalk_1.default.red.bold('[openmrs]')} ${chalk_1.default.red(message)}`);
|
|
19
19
|
}
|
|
20
|
-
exports.logFail = logFail;
|
package/dist/utils/npmConfig.js
CHANGED
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.getNpmRegistryConfiguration =
|
|
6
|
+
exports.getNpmRegistryConfiguration = getNpmRegistryConfiguration;
|
|
7
7
|
const npm_conf_1 = __importDefault(require("@pnpm/npm-conf"));
|
|
8
8
|
/**
|
|
9
9
|
* Utility function to load the appropriate configuration for npmRegistryFetch
|
|
@@ -44,4 +44,3 @@ function getNpmRegistryConfiguration(registry) {
|
|
|
44
44
|
}
|
|
45
45
|
return configuration;
|
|
46
46
|
}
|
|
47
|
-
exports.getNpmRegistryConfiguration = getNpmRegistryConfiguration;
|
package/dist/utils/untar.js
CHANGED
|
@@ -15,15 +15,25 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.untar =
|
|
36
|
+
exports.untar = untar;
|
|
27
37
|
const tar = __importStar(require("tar"));
|
|
28
38
|
const zlib_1 = require("zlib");
|
|
29
39
|
const TarParser = tar.Parse;
|
|
@@ -46,4 +56,3 @@ function untar(stream) {
|
|
|
46
56
|
.on('end', () => resolve(files));
|
|
47
57
|
});
|
|
48
58
|
}
|
|
49
|
-
exports.untar = untar;
|
package/dist/utils/variables.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.setEnvVariables =
|
|
3
|
+
exports.setEnvVariables = setEnvVariables;
|
|
4
4
|
function setEnvVariables(envVariables) {
|
|
5
5
|
Object.keys(envVariables).forEach((key) => {
|
|
6
6
|
process.env[key] = envVariables[key];
|
|
7
7
|
});
|
|
8
8
|
}
|
|
9
|
-
exports.setEnvVariables = setEnvVariables;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openmrs",
|
|
3
|
-
"version": "6.3.1-pre.
|
|
3
|
+
"version": "6.3.1-pre.3104",
|
|
4
4
|
"license": "MPL-2.0",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": "./dist/cli.js",
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
],
|
|
30
30
|
"homepage": "https://github.com/openmrs/openmrs-esm-core#readme",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@openmrs/esm-app-shell": "6.3.1-pre.
|
|
33
|
-
"@openmrs/rspack-config": "6.3.1-pre.
|
|
34
|
-
"@openmrs/webpack-config": "6.3.1-pre.
|
|
32
|
+
"@openmrs/esm-app-shell": "6.3.1-pre.3104",
|
|
33
|
+
"@openmrs/rspack-config": "6.3.1-pre.3104",
|
|
34
|
+
"@openmrs/webpack-config": "6.3.1-pre.3104",
|
|
35
35
|
"@pnpm/npm-conf": "^2.1.0",
|
|
36
36
|
"@rspack/cli": "^1.3.11",
|
|
37
37
|
"@rspack/core": "^1.3.11",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"style-loader": "^3.3.4",
|
|
65
65
|
"swc-loader": "^0.2.6",
|
|
66
66
|
"tar": "^6.0.5",
|
|
67
|
-
"typescript": "^
|
|
67
|
+
"typescript": "^5.8.3",
|
|
68
68
|
"webpack": "^5.99.9",
|
|
69
69
|
"webpack-bundle-analyzer": "^4.10.2",
|
|
70
70
|
"webpack-cli": "^6.0.1",
|