We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No description provided.
The text was updated successfully, but these errors were encountered:
Code: https://github.com/yarnpkg/yarn/blob/master/src/cli/commands/install.js#L1083 It calls a server that returns the version. The requestManager seems to be a custom client that cache the dns resolution for the yarn registry: https://github.com/yarnpkg/yarn/blob/master/src/util/request-manager.js But I think we can use anything we like (like got ?). The URL is: https://yarnpkg.com/latest-version
requestManager
Maybe we can use the npmregistry: https://docs.npmjs.com/misc/registry https://registry.npmjs.org/ I bet there is some node clients :)
Sorry, something went wrong.
const { manifest } = require('libnpm') manifest('gitmoji-changelog@latest') .then(console.log)
➜ test git:(bug/empty-tag) ✗ time node index.js Manifest { name: 'gitmoji-changelog', version: '1.0.0', engines: { node: '>=10' }, cpu: undefined, os: undefined, dependencies: { '@gitmoji-changelog/core': '^1.0.0', '@gitmoji-changelog/markdown': '^1.0.0', yargs: '^12.0.1' }, optionalDependencies: {}, devDependencies: {}, bundleDependencies: false, peerDependencies: {}, deprecated: false, _resolved: 'https://registry.npmjs.org/gitmoji-changelog/-/gitmoji-changelog-1.0.0.tgz', _integrity: 'sha512-eBy+f/Ef/EO7FX78+y3lTQ7nLznJt6K3TtLWQJA4Jfi2AoOaCTXfe7oVRp8MTut/Xcu53 z+fUzYbuWVMIQWBvw==', _shasum: '3d8837482f121930b40c7343a00117f795d963b0', _shrinkwrap: null, bin: { 'gitmoji-changelog': './src/index.js' }, _id: '[email protected]' } node index.js 0.31s user 0.06s system 80% cpu 0.463 total➜ test git:(bug/empty-tag) ✗
fabienjuif
Successfully merging a pull request may close this issue.
No description provided.
The text was updated successfully, but these errors were encountered: