You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-7Lines changed: 6 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,17 +25,16 @@ run alternativeVersionPrettier vs originalVersionPrettier
25
25
26
26
Required.
27
27
28
-
There are 3 ways to specify.
28
+
There are 2 ways to specify.
29
29
30
-
1. Versions (e.g. `2.0.0`, `1.7.1`)
31
-
2. Repository name + ref (e.g. `sosukesuzuki/prettier#2f3fc241f8cb1867a0a3073ceac9d662e4b25fab`).
32
-
3. Pull Request number on [prettier/prettier](https://github.com/prettier/prettier) repository (e.g. `#110168`).
30
+
1. Versions or repository name + ref (e.g. `2.0.0`, `1.7.1`, or `sosukesuzuki/prettier#2f3fc241f8cb1867a0a3073ceac9d662e4b25fab`), it's installed directly with `yarn add`, so anything that [`yarn add`](https://yarnpkg.com/cli/add) allows
31
+
2. Pull Request number on [prettier/prettier](https://github.com/prettier/prettier) repository (e.g. `#110168`).
33
32
34
33
### `originalVersionPrettier`
35
34
36
35
Optional.
37
36
38
-
In default, use `prettier/prettier#main`.
37
+
In default, use `prettier/prettier`.
39
38
40
39
Also, you can specify with the logic same as `alternativeVersionPrettier`.
// The following quoted from https://github.com/es-tooling/module-replacements/blob/27d1acd38f19741e31d2eae561a5c8a914373fc5/docs/modules/tempy.md?plain=1#L20-L21, not sure if it's true
9
+
// MacOS and possibly some other platforms return a symlink from `os.tmpdir`.
10
+
// For some applications, this can cause problems; thus, we use `realpath`.
0 commit comments