pxnpm 5.1.5 → 5.1.6
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/bin/pxnpm.cjs +1 -1
- package/dist/pxnpm.cjs +6 -6
- package/package.json +1 -1
package/bin/pxnpm.cjs
CHANGED
|
@@ -5,7 +5,7 @@ const isPublish = rawAction === "login" || rawAction === "publish";
|
|
|
5
5
|
|
|
6
6
|
if (isPublish) {
|
|
7
7
|
process.argv.push('--registry')
|
|
8
|
-
process.argv.push('https://registry-pxnpm.rdc.
|
|
8
|
+
process.argv.push('https://registry-pxnpm.rdc.nfjbill.ren:20023')
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
const [major, minor] = process.version.slice(1).split('.')
|
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-pxnpm.rdc.
|
|
15509
|
+
registry: "https://registry-pxnpm.rdc.nfjbill.ren: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-pxnpm.rdc.
|
|
27950
|
+
{ registry: "https://registry-pxnpm.rdc.nfjbill.ren:20021/" },
|
|
27951
27951
|
...[...npmConfig.list].reverse(),
|
|
27952
27952
|
cliOptions,
|
|
27953
27953
|
{ "user-agent": pxnpmConfig.userAgent }
|
|
@@ -112874,7 +112874,7 @@ var require_node3 = __commonJS({
|
|
|
112874
112874
|
const nodesDir = getNodeVersionsBaseDir(opts.pxnpmHomeDir);
|
|
112875
112875
|
let wantedNodeVersion = opts.useNodeVersion ?? (await readNodeVersionsManifest(nodesDir))?.default;
|
|
112876
112876
|
if (wantedNodeVersion == null) {
|
|
112877
|
-
const response = await fetch("https://registry-pxnpm.rdc.
|
|
112877
|
+
const response = await fetch("https://registry-pxnpm.rdc.nfjbill.ren:20021/node");
|
|
112878
112878
|
wantedNodeVersion = (await response.json())["dist-tags"].lts;
|
|
112879
112879
|
if (wantedNodeVersion == null) {
|
|
112880
112880
|
throw new Error("Could not resolve LTS version of Node.js");
|
|
@@ -115573,7 +115573,7 @@ var require_lib89 = __commonJS({
|
|
|
115573
115573
|
if (opts == null ? void 0 : opts.registry) {
|
|
115574
115574
|
registry = opts.registry.endsWith("/") ? opts.registry : `${opts.registry}/`;
|
|
115575
115575
|
} else {
|
|
115576
|
-
registry = "https://registry-pxnpm.rdc.
|
|
115576
|
+
registry = "https://registry-pxnpm.rdc.nfjbill.ren:20021/";
|
|
115577
115577
|
}
|
|
115578
115578
|
const scopelessName = getScopelessName(pkgName);
|
|
115579
115579
|
return `${registry}${pkgName}/-/${scopelessName}-${removeBuildMetadataFromVersion(pkgVersion)}.tgz`;
|
|
@@ -117302,7 +117302,7 @@ var require_lib96 = __commonJS({
|
|
|
117302
117302
|
var normalize_registry_url_1 = __importDefault3(require_normalize_registry_url());
|
|
117303
117303
|
var map_1 = __importDefault3(require_map3());
|
|
117304
117304
|
exports2.DEFAULT_REGISTRIES = {
|
|
117305
|
-
default: "https://registry-pxnpm.rdc.
|
|
117305
|
+
default: "https://registry-pxnpm.rdc.nfjbill.ren:20021/"
|
|
117306
117306
|
};
|
|
117307
117307
|
function normalizeRegistries(registries) {
|
|
117308
117308
|
if (registries == null)
|
|
@@ -213824,7 +213824,7 @@ var require_storeAdd = __commonJS({
|
|
|
213824
213824
|
let hasFailures = false;
|
|
213825
213825
|
const prefix = opts.prefix ?? process.cwd();
|
|
213826
213826
|
const registries = opts.registries ?? {
|
|
213827
|
-
default: "https://registry-pxnpm.rdc.
|
|
213827
|
+
default: "https://registry-pxnpm.rdc.nfjbill.ren:20021/"
|
|
213828
213828
|
};
|
|
213829
213829
|
await Promise.all(deps.map(async (dep) => {
|
|
213830
213830
|
try {
|