Skip to content

Commit

Permalink
fix(core): should populate includedScripts with non-nx command
Browse files Browse the repository at this point in the history
  • Loading branch information
xiongemi committed Feb 28, 2024
1 parent f6a183c commit 050b7e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/devkit/src/utils/update-package-scripts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ async function processProject(

// exclude package.json scripts from nx
packageJson.nx ??= {};
packageJson.nx.includedScripts ??= [];
packageJson.nx.includedScripts ??= Object.keys(packageJson.scripts);

for (const targetCommand of targetCommands) {
const { command, target, configuration } = targetCommand;
Expand Down

0 comments on commit 050b7e1

Please sign in to comment.