Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(core): run commands directly #21918

Conversation

xiongemi
Copy link
Collaborator

Current Behavior

Expected Behavior

Related Issue(s)

Fixes #

Copy link

vercel bot commented Feb 21, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Mar 12, 2024 5:54am

@xiongemi xiongemi force-pushed the feature/nxc-147-run-commands-directly-instead-of-via-run-executorjs branch from 8470a6f to 2202894 Compare February 21, 2024 21:29
@xiongemi xiongemi force-pushed the feature/nxc-147-run-commands-directly-instead-of-via-run-executorjs branch from 2202894 to 579f669 Compare February 23, 2024 04:51
@xiongemi xiongemi force-pushed the feature/nxc-147-run-commands-directly-instead-of-via-run-executorjs branch from 579f669 to 55c4e36 Compare February 23, 2024 07:29
@xiongemi xiongemi force-pushed the feature/nxc-147-run-commands-directly-instead-of-via-run-executorjs branch from 55c4e36 to 65d9841 Compare February 23, 2024 16:13
@xiongemi xiongemi force-pushed the feature/nxc-147-run-commands-directly-instead-of-via-run-executorjs branch from 65d9841 to 192fe8f Compare February 23, 2024 16:51
@xiongemi xiongemi force-pushed the feature/nxc-147-run-commands-directly-instead-of-via-run-executorjs branch from 192fe8f to a84fec3 Compare February 26, 2024 16:37
@xiongemi xiongemi force-pushed the feature/nxc-147-run-commands-directly-instead-of-via-run-executorjs branch from a84fec3 to c2ec654 Compare February 26, 2024 17:39
@xiongemi xiongemi force-pushed the feature/nxc-147-run-commands-directly-instead-of-via-run-executorjs branch from c2ec654 to eb6a1eb Compare February 26, 2024 18:18
@xiongemi xiongemi force-pushed the feature/nxc-147-run-commands-directly-instead-of-via-run-executorjs branch from eb6a1eb to b4f82fb Compare February 26, 2024 19:10
@xiongemi xiongemi force-pushed the feature/nxc-147-run-commands-directly-instead-of-via-run-executorjs branch from b4f82fb to 2afcb4a Compare February 27, 2024 02:02
@xiongemi xiongemi force-pushed the feature/nxc-147-run-commands-directly-instead-of-via-run-executorjs branch from 2afcb4a to 10e906b Compare February 27, 2024 06:35
@xiongemi xiongemi force-pushed the feature/nxc-147-run-commands-directly-instead-of-via-run-executorjs branch from 10e906b to 2a50a8c Compare February 27, 2024 07:11
@xiongemi xiongemi force-pushed the feature/nxc-147-run-commands-directly-instead-of-via-run-executorjs branch from 2a50a8c to 208f165 Compare February 27, 2024 16:09
@xiongemi xiongemi force-pushed the feature/nxc-147-run-commands-directly-instead-of-via-run-executorjs branch from 208f165 to ba43924 Compare February 27, 2024 17:43
@xiongemi xiongemi force-pushed the feature/nxc-147-run-commands-directly-instead-of-via-run-executorjs branch from 6eb387d to cccf921 Compare March 5, 2024 15:11
@xiongemi xiongemi force-pushed the feature/nxc-147-run-commands-directly-instead-of-via-run-executorjs branch from cccf921 to 66873a8 Compare March 6, 2024 01:13
@xiongemi xiongemi force-pushed the feature/nxc-147-run-commands-directly-instead-of-via-run-executorjs branch from 66873a8 to 9b8e52d Compare March 6, 2024 05:26
@xiongemi xiongemi force-pushed the feature/nxc-147-run-commands-directly-instead-of-via-run-executorjs branch from 9b8e52d to 537c637 Compare March 6, 2024 06:27
@xiongemi xiongemi force-pushed the feature/nxc-147-run-commands-directly-instead-of-via-run-executorjs branch from 537c637 to 07babc7 Compare March 6, 2024 07:22
@xiongemi xiongemi force-pushed the feature/nxc-147-run-commands-directly-instead-of-via-run-executorjs branch from 07babc7 to ab2318b Compare March 6, 2024 17:59
@xiongemi xiongemi force-pushed the feature/nxc-147-run-commands-directly-instead-of-via-run-executorjs branch 7 times, most recently from 7c06e84 to 42c3617 Compare March 11, 2024 16:37
e2e/nx-run/src/run.test.ts Outdated Show resolved Hide resolved
packages/nx/src/tasks-runner/create-task-graph.ts Outdated Show resolved Hide resolved
packages/nx/src/utils/command-line-utils.ts Outdated Show resolved Hide resolved
);
if (targetConfiguration.executor === 'nx:run-commands' && !shouldPrefix) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add an environment variable to opt out for now, NX_RUN_COMMANDS_DIRECTLY !== 'false'

We'll remove it once we're sure it works.

@xiongemi xiongemi force-pushed the feature/nxc-147-run-commands-directly-instead-of-via-run-executorjs branch from 42c3617 to b6b64ea Compare March 12, 2024 05:52
@xiongemi xiongemi force-pushed the feature/nxc-147-run-commands-directly-instead-of-via-run-executorjs branch from b6b64ea to 754ddf0 Compare March 12, 2024 05:53
@xiongemi xiongemi dismissed Cammisuli’s stale review March 12, 2024 17:43

update the pr and address the request

@FrozenPandaz FrozenPandaz merged commit 9ca400c into nrwl:master Mar 12, 2024
6 checks passed
Copy link

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants