Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aiscript-dev/aiscript
/ read
Function
read
scripts/pre-release.mjs:35–40 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
33
*/
34
actions.updatePackageJson = {
35
async
read() {
36
return
JSON.stringify(
37
{ ...pkgjson, version: newver },
38
null,
'\t'
39
);
40
},
41
async
write(json) {
42
return
writeFile(FILES.pkgjson, json);
43
},
Callers
1
pre-release.mjs
File · 0.85
Calls
3
getNewLog
Function · 0.85
getOldLog
Function · 0.85
stringify
Method · 0.80
Tested by
no test coverage detected