Skip to content

Commit

Permalink
Add Wazuh version to the production package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexRuiz7 committed Apr 19, 2023
1 parent ef48e4d commit 98d8a5a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/dev/build/lib/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ interface Package {
workspaces: {
packages: string[];
};
wazuh: { version: string };
[key: string]: unknown;
}

Expand Down
3 changes: 3 additions & 0 deletions src/dev/build/tasks/create_package_json_task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ export const CreatePackageJson: Task = {
distributable: true,
release: config.isRelease,
},
wazuh: {
version: pkg.wazuh.version,
},
repository: pkg.repository,
engines: {
node: pkg.engines.node,
Expand Down

0 comments on commit 98d8a5a

Please sign in to comment.