Commit 3376c2e
committed
docs(releasing): the two npm facts that bite at setup time
npm does not validate a trusted publisher configuration when it is saved --
its own documentation says a wrong repository or filename surfaces only on
the first publish attempt -- and the Environment field must be left empty
for a workflow that uses no GitHub environment. Both are the kind of thing
that turns a two-minute setup into an afternoon.
Also records why 0.9.0 carries no provenance (it was published by hand, to
create the package) and npm's recommendation to disallow tokens once
trusted publishing has worked once, which is what turns the absence of a
token in this repository into a guarantee.1 parent cda43c9 commit 3376c2e
1 file changed
Lines changed: 16 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
26 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
27 | 34 | | |
28 | 35 | | |
29 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
30 | 45 | | |
31 | 46 | | |
32 | 47 | | |
| |||
0 commit comments