1 | const { logInfo } = require('./log');
|
2 | const { packPackage, getPackageJson } = require('./utils');
|
3 |
|
4 | module.exports = async () => {
|
5 | const { name, version } = getPackageJson({ throwErrorIfNotFound: true });
|
6 | logInfo(`Packing package: ${name} v${version}`);
|
7 | await packPackage(process.cwd());
|
8 | logInfo('Finished packing this package.');
|
9 | };
|