Skip to content

Commit 501eddd

Browse files
committed
rm unused field
1 parent 1b3e79f commit 501eddd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tools/npmono/src/publish.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -928,15 +928,14 @@ type PackageJson = import('type-fest').PackageJson & {
928928
/**
929929
* not an official package.json field, but there is a library that does something similar to this: https://github.com/Metnew/git-hash-package
930930
* having git.sha point to a commit hash seems pretty useful to me, even if it's not standard.
931-
* tagging versions in git is still a good best practice but there are many different ways, e.g. `1.2.3` vs `v1.2.3` vs `mypgk@1.2.3` vs `[email protected]`
931+
* tagging versions in git is still a good best practice but there are many different ways, e.g. `1.2.3` vs `v1.2.3` vs `mypkg@1.2.3` vs `[email protected]`
932932
* plus, that's only useful in going from git to npm, not npm to git.
933933
*/
934934
git?: {sha?: string}
935935
}
936936

937937
type PkgMeta = {
938938
folder: string
939-
lastPublished: PackageJson | null
940939
targetVersion: string | null
941940
shas: {
942941
left: string

0 commit comments

Comments
 (0)