chore: include api.json in NPM package (#4034)
This commit is contained in:
parent
4a77363af7
commit
318ab28171
|
|
@ -120,7 +120,7 @@ if (!args.some(arg => arg === '--no-cleanup')) {
|
|||
for (const file of package.files)
|
||||
await copyToPackage(path.join(ROOT_PATH, file), path.join(packagePath, file));
|
||||
|
||||
await copyToPackage(path.join(ROOT_PATH, 'docs/api.md'), path.join(packagePath, 'api.md'));
|
||||
await copyToPackage(path.join(ROOT_PATH, 'docs/api.json'), path.join(packagePath, 'api.json'));
|
||||
await copyToPackage(path.join(ROOT_PATH, 'src/protocol/protocol.yml'), path.join(packagePath, 'protocol.yml'));
|
||||
|
||||
// 4. Generate package.json
|
||||
|
|
|
|||
Loading…
Reference in a new issue