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

(#730) added a new script task ensureCi #731

Merged
merged 1 commit into from
Oct 11, 2022

Conversation

nils-a
Copy link
Member

@nils-a nils-a commented Oct 11, 2022

Which calls "npm ci", if node_modules does not exist. By calling this before the "watch" task,
the workflow of clone, start VSCode, hit F5 will "simply work".

fixes #730

@nils-a nils-a requested a review from gep13 October 11, 2022 12:23
@nils-a nils-a changed the title (maint) added a new script task ensureCi (#730) added a new script task ensureCi Oct 11, 2022
@nils-a nils-a force-pushed the feature/auto-npm-i branch from 3938b5b to 6378e51 Compare October 11, 2022 12:24
Which calls "npm ci", if node_modules does not exist.
By calling this before the "watch" task,
the workflow of clone, start VSCode, hit F5
will "simply work".
@gep13 gep13 force-pushed the feature/auto-npm-i branch from 6378e51 to 2a7197a Compare October 11, 2022 19:33
@gep13 gep13 changed the base branch from develop to hotfix/2.1.1 October 11, 2022 19:33
Copy link
Member

@gep13 gep13 left a comment

Choose a reason for hiding this comment

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

LGTM!

@gep13 gep13 merged commit 558c779 into cake-build:hotfix/2.1.1 Oct 11, 2022
@gep13
Copy link
Member

gep13 commented Oct 11, 2022

@nils-a thanks for getting this fixed up. I have taken this for a spin locally, and happy to say that it works exactly as expected now.

@nils-a nils-a deleted the feature/auto-npm-i branch October 11, 2022 20:41
nils-a added a commit to nils-a/cake-vscode that referenced this pull request Oct 13, 2022
This is a regression from
cake-build#731
where everything will work fine, if node_modules does
not exist. However, if it does exist the non-zero exit code
will propagate and prevent tsc from running.
By adding a second, "parallel" command to ensureCi
the exit code of that script will always be zero and thus
never prevent tsc from running.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The plugin is not testable directly after git clone
2 participants