@rushstack/trace-import 0.1.3 → 0.1.5

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.
Files changed (2) hide show
  1. package/README.md +12 -5
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -1,8 +1,8 @@
1
- # @microsoft/trace-import
1
+ # @rushstack/trace-import
2
2
 
3
- > 🚨 *EARLY PREVIEW RELEASE* 🚨
3
+ > 🚨 _EARLY PREVIEW RELEASE_ 🚨
4
4
  >
5
- > Not all features are implemented yet. To provide suggestions, please
5
+ > Not all features are implemented yet. To provide suggestions, please
6
6
  > [create a GitHub issue](https://github.com/microsoft/rushstack/issues/new/choose).
7
7
  > If you have questions, see the [Rush Stack Help page](https://rushstack.io/pages/help/support/)
8
8
  > for support resources.
@@ -62,11 +62,13 @@ These commands were invoked in the `C:\Git\rushstack\apps\trace-import` folder
62
62
  where trace-import is developed.
63
63
 
64
64
  ### Resolving a CommonJS main index
65
+
65
66
  ```
66
67
  trace-import --path semver
67
68
  ```
68
69
 
69
70
  Sample output:
71
+
70
72
  ```
71
73
  Base folder: C:\Git\rushstack\apps\trace-import
72
74
  Package name: semver
@@ -82,11 +84,13 @@ Target path: C:\Git\rushstack\common\temp\node_modules\.pnpm\semver@
82
84
  ```
83
85
 
84
86
  ### Resolving a CommonJS package subpath
87
+
85
88
  ```
86
89
  trace-import --path typescript/bin/tsc
87
90
  ```
88
91
 
89
92
  Sample output:
93
+
90
94
  ```
91
95
  Base folder: C:\Git\rushstack\apps\trace-import
92
96
  Package name: typescript
@@ -101,11 +105,13 @@ Target path: C:\Git\rushstack\common\temp\node_modules\.pnpm\typescr
101
105
  ```
102
106
 
103
107
  ### Resolving a TypeScript declaration
108
+
104
109
  ```
105
110
  trace-import --resolution-type ts --path semver
106
111
  ```
107
112
 
108
113
  Sample output:
114
+
109
115
  ```
110
116
  Base folder: C:\Git\rushstack\apps\trace-import
111
117
  Package name: semver
@@ -123,11 +129,13 @@ Target path: C:\Git\rushstack\common\temp\node_modules\.pnpm\@types+
123
129
  ```
124
130
 
125
131
  ### Resolving a relative path
132
+
126
133
  ```
127
134
  trace-import --path ./config/rig.json
128
135
  ```
129
136
 
130
137
  Sample output:
138
+
131
139
  ```
132
140
  Base folder: C:\Git\rushstack\apps\trace-import
133
141
  Import path: ./config/rig.json
@@ -140,8 +148,7 @@ Target path: C:\Git\rushstack\apps\trace-import\config\rig.json
140
148
 
141
149
  ## Links
142
150
 
143
- - [CHANGELOG.md](
144
- https://github.com/microsoft/rushstack/blob/main/apps/trace-import/CHANGELOG.md) - Find
151
+ - [CHANGELOG.md](https://github.com/microsoft/rushstack/blob/main/apps/trace-import/CHANGELOG.md) - Find
145
152
  out what's new in the latest version
146
153
  - [Rush Lockfile Explorer](https://lfx.rushstack.io) - The desktop app for troubleshooting PNPM lockfiles
147
154
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rushstack/trace-import",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "CLI tool for understanding how require() and \"import\" statements get resolved",
5
5
  "repository": {
6
6
  "type": "git",
@@ -21,8 +21,8 @@
21
21
  },
22
22
  "devDependencies": {
23
23
  "@rushstack/eslint-config": "3.1.1",
24
- "@rushstack/heft": "0.49.1",
25
- "@rushstack/heft-node-rig": "1.11.12",
24
+ "@rushstack/heft": "0.49.2",
25
+ "@rushstack/heft-node-rig": "1.11.13",
26
26
  "@types/heft-jest": "1.0.1",
27
27
  "@types/node": "12.20.24",
28
28
  "@types/resolve": "1.20.2",