This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TypeScript 16 mins █████████████████████ 100.0% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const PATH_TO_PACKAGE_JSON = './package.json' | |
const PATH_TO_YARN_LOCK = './yarn.lock' | |
const fs = require('fs') | |
const _log = ({ type, value }) => { | |
console.log(`[ inYarnWeLock ${type} ]` + (value ? ` - ${value}` : '')) | |
} | |
const _getSchemedDep = ({ name, version }) => `${name}@${version}` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require('fs') | |
const input = '' | |
const _log = ({ type, value }) => { | |
console.log(`[ eslater ${type} ]` + (value ? ` - ${value}` : '')) | |
} | |
const read = () => { | |
return input |