@genesislcap/build-kit 14.435.0 → 14.436.0-FUI-2489.3
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"archive.d.ts","sourceRoot":"","sources":["../../src/utils/archive.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,eAAe,GAAU,KAAK,MAAM,EAAE,aAAa,MAAM,EAAE,gBAAY,
|
|
1
|
+
{"version":3,"file":"archive.d.ts","sourceRoot":"","sources":["../../src/utils/archive.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,eAAe,GAAU,KAAK,MAAM,EAAE,aAAa,MAAM,EAAE,gBAAY,kBAkBnF,CAAC"}
|
package/dist/utils/npm.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"npm.d.ts","sourceRoot":"","sources":["../../src/utils/npm.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAG7C,eAAO,MAAM,UAAU,GAAI,OAAE,EAAE,gBAAuB,QAUrD,CAAC;AAEF,eAAO,MAAM,UAAU,GAAU,KAAK,MAAM,EAAE,SAAQ,MAAY,EAAE,OAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"npm.d.ts","sourceRoot":"","sources":["../../src/utils/npm.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAG7C,eAAO,MAAM,UAAU,GAAI,OAAE,EAAE,gBAAuB,QAUrD,CAAC;AAEF,eAAO,MAAM,UAAU,GAAU,KAAK,MAAM,EAAE,SAAQ,MAAY,EAAE,OAAO,MAAM,oBAShF,CAAC;AAEF,eAAO,MAAM,eAAe,GAAU,MAAM,MAAM,KAAG,OAAO,CAAC,WAAW,CAUvE,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAU,gBAAa,KAAG,OAAO,CAAC,WAAW,EAAE,CAM7E,CAAC;AAeJ,eAAO,MAAM,gBAAgB,GAAI,SAAI,EAAE,cAAgB,EAAE,iBAAc,QAqBtE,CAAC;AAGF,eAAO,MAAM,iBAAiB,GAAI,YAAO,QAGxC,CAAC;AAGF,eAAO,MAAM,SAAS,GAAI,KAAK,YAAY;;;;;;;;WAqC/B,CAAC;aACF,CAAC;;;;;;iBAqB2P,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAAu/M,CAAC;WAA+G,CAAC;cAA2H,CAAC;uBAA+d,CAAC;iBAA0Z,CAAC;qBAAkQ,CAAC;;;CAxDzmQ,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAU,KAAK,WAAW,kBAOvD,CAAC;AAoCF,eAAO,MAAM,cAAc,GACzB,KAAK,WAAW,EAChB,YAAY,MAAM,EAClB,SAAS,MAAM,EAAE,EACjB,UAAS,MAAM,EAAqB;UAjC3B,MAAM;QAAM,MAAM;UAAQ,MAAM;GAuC1C,CAAC"}
|
package/dist/utils/npm.js
CHANGED
|
@@ -23,9 +23,7 @@ const tryRequire = (id, rootDir = process.cwd()) => {
|
|
|
23
23
|
};
|
|
24
24
|
exports.tryRequire = tryRequire;
|
|
25
25
|
const resolveBin = (bin_1, ...args_1) => tslib_1.__awaiter(void 0, [bin_1, ...args_1], void 0, function* (bin, module = bin, from) {
|
|
26
|
-
const modulePath = from
|
|
27
|
-
? require.resolve(module, { paths: [from] })
|
|
28
|
-
: require.resolve(module);
|
|
26
|
+
const modulePath = from ? require.resolve(module, { paths: [from] }) : require.resolve(module);
|
|
29
27
|
const dir = (0, node_path_1.dirname)(yield (0, pkg_types_1.resolvePackageJSON)(modulePath));
|
|
30
28
|
const json = yield (0, pkg_types_1.readPackageJSON)(modulePath);
|
|
31
29
|
const path = typeof json.bin === 'string' ? json.bin : json.bin[bin];
|
package/dist/utils/proxy.js
CHANGED
|
@@ -38,13 +38,12 @@ exports.convertWsEndpointToHTTP = convertWsEndpointToHTTP;
|
|
|
38
38
|
* @public
|
|
39
39
|
*/
|
|
40
40
|
const createDevProxy = (config) => {
|
|
41
|
-
var _a;
|
|
42
41
|
if (!config.target || !config.path) {
|
|
43
42
|
return undefined;
|
|
44
43
|
}
|
|
45
44
|
const { options, path, target } = config;
|
|
46
45
|
return {
|
|
47
|
-
[path]: Object.assign(Object.assign({ target, secure: false, changeOrigin: true, cookieDomainRewrite: 'localhost', ws: true },
|
|
46
|
+
[path]: Object.assign(Object.assign({ target, secure: false, changeOrigin: true, cookieDomainRewrite: 'localhost', ws: true }, options), { headers: Object.assign({ origin: target }, options === null || options === void 0 ? void 0 : options.headers) }),
|
|
48
47
|
};
|
|
49
48
|
};
|
|
50
49
|
exports.createDevProxy = createDevProxy;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/build-kit",
|
|
3
3
|
"description": "Build utilities & types",
|
|
4
|
-
"version": "14.
|
|
4
|
+
"version": "14.436.0-FUI-2489.3",
|
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"unparse-args": "^1.2.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@genesislcap/foundation-testing": "14.
|
|
41
|
+
"@genesislcap/foundation-testing": "14.436.0-FUI-2489.3",
|
|
42
42
|
"@types/http-proxy": "^1.17.8",
|
|
43
43
|
"@types/node": "^22.10.2",
|
|
44
44
|
"tsx": "^4.7.0",
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"publishConfig": {
|
|
53
53
|
"access": "public"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "c4ae092677bf6b2c3c8ebdc35fb36a7da2f4601f"
|
|
56
56
|
}
|