Skip to content

Commit 318ab28

Browse files
authored
chore: include api.json in NPM package (#4034)
1 parent 4a77363 commit 318ab28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/build_package.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ if (!args.some(arg => arg === '--no-cleanup')) {
120120
for (const file of package.files)
121121
await copyToPackage(path.join(ROOT_PATH, file), path.join(packagePath, file));
122122

123-
await copyToPackage(path.join(ROOT_PATH, 'docs/api.md'), path.join(packagePath, 'api.md'));
123+
await copyToPackage(path.join(ROOT_PATH, 'docs/api.json'), path.join(packagePath, 'api.json'));
124124
await copyToPackage(path.join(ROOT_PATH, 'src/protocol/protocol.yml'), path.join(packagePath, 'protocol.yml'));
125125

126126
// 4. Generate package.json

0 commit comments

Comments
 (0)