Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/decaporg/decap-cms
/ isPrerelease
Function
isPrerelease
scripts/publish-packages.mjs:183–185 ·
view source on GitHub ↗
(version)
Source
from the content-addressed store, hash-verified
181
}
182
183
function
isPrerelease(version) {
184
return
version.includes(
'-'
);
185
}
186
187
/**
188
* Keeps `latest` on the newest version of packages that have never had a
Callers
1
promotePrereleaseOnlyLatest
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected