@pnpm/bins.linker 1100.0.1 → 1100.0.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.
package/README.md CHANGED
@@ -1,21 +1,21 @@
1
- # @pnpm/link-bins
1
+ # @pnpm/bins.linker
2
2
 
3
3
  > Link bins to node_modules/.bin
4
4
 
5
5
  <!--@shields('npm')-->
6
- [![npm version](https://img.shields.io/npm/v/@pnpm/link-bins.svg)](https://www.npmjs.com/package/@pnpm/link-bins)
6
+ [![npm version](https://img.shields.io/npm/v/@pnpm/bins.linker.svg)](https://npmx.dev/package/@pnpm/bins.linker)
7
7
  <!--/@-->
8
8
 
9
9
  ## Installation
10
10
 
11
11
  ```sh
12
- pnpm add @pnpm/link-bins
12
+ pnpm add @pnpm/bins.linker
13
13
  ```
14
14
 
15
15
  ## Usage
16
16
 
17
17
  ```ts
18
- import linkBins, {linkBinsOfPackages} from '@pnpm/link-bins'
18
+ import linkBins, {linkBinsOfPackages} from '@pnpm/bins.linker'
19
19
 
20
20
  function warn (msg) { console.warn(msg) }
21
21
 
package/lib/index.js CHANGED
@@ -83,7 +83,7 @@ async function _linkBins(allCmds, binsDir, opts) {
83
83
  // deduplicate bin names to prevent race conditions (multiple writers for the same file)
84
84
  allCmds = deduplicateCommands(allCmds, binsDir);
85
85
  await fs.mkdir(binsDir, { recursive: true });
86
- const results = await Promise.allSettled(allCmds.map(async cmd => linkBin(cmd, binsDir, opts)));
86
+ const results = await Promise.allSettled(allCmds.map(async (cmd) => linkBin(cmd, binsDir, opts)));
87
87
  // We want to create all commands that we can create before throwing an exception
88
88
  for (const result of results) {
89
89
  if (result.status === 'rejected') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnpm/bins.linker",
3
- "version": "1100.0.1",
3
+ "version": "1100.0.3",
4
4
  "description": "Link bins to node_modules/.bin",
5
5
  "keywords": [
6
6
  "pnpm",
@@ -25,7 +25,7 @@
25
25
  "!*.map"
26
26
  ],
27
27
  "dependencies": {
28
- "@zkochan/cmd-shim": "^9.0.0",
28
+ "@zkochan/cmd-shim": "^9.0.2",
29
29
  "@zkochan/rimraf": "^4.0.0",
30
30
  "bin-links": "^6.0.0",
31
31
  "is-subdir": "^2.0.0",
@@ -34,13 +34,13 @@
34
34
  "ramda": "npm:@pnpm/ramda@0.28.1",
35
35
  "semver": "^7.7.2",
36
36
  "symlink-dir": "^10.0.1",
37
+ "@pnpm/bins.resolver": "1100.0.2",
37
38
  "@pnpm/error": "1100.0.0",
38
- "@pnpm/pkg-manifest.utils": "1100.0.1",
39
- "@pnpm/fs.read-modules-dir": "1100.0.0",
40
- "@pnpm/bins.resolver": "1100.0.1",
41
- "@pnpm/pkg-manifest.reader": "1100.0.1",
42
- "@pnpm/workspace.project-manifest-reader": "1100.0.1",
43
- "@pnpm/types": "1101.0.0"
39
+ "@pnpm/fs.read-modules-dir": "1100.0.1",
40
+ "@pnpm/pkg-manifest.utils": "1100.1.1",
41
+ "@pnpm/pkg-manifest.reader": "1100.0.2",
42
+ "@pnpm/types": "1101.0.0",
43
+ "@pnpm/workspace.project-manifest-reader": "1100.0.3"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "@pnpm/logger": ">=1001.0.0 <1002.0.0"
@@ -54,7 +54,7 @@
54
54
  "@types/semver": "7.7.1",
55
55
  "cmd-extension": "^2.0.0",
56
56
  "tempy": "3.0.0",
57
- "@pnpm/bins.linker": "1100.0.1",
57
+ "@pnpm/bins.linker": "1100.0.3",
58
58
  "@pnpm/logger": "1100.0.0",
59
59
  "@pnpm/test-fixtures": "1100.0.0"
60
60
  },