-
Notifications
You must be signed in to change notification settings - Fork 226
Try moving build to just gulp #503
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
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
e5e8548
Remove now-unused libraries.
jcreedcmu ac941eb
Copy semmle-vscode-utils into extension.
jcreedcmu 53d5c24
Remove now unused library.
jcreedcmu 657df5e
inline tsconfig inheritance
jcreedcmu f005591
Remove typescript-config package
jcreedcmu 2c5b672
Make stub typescript gulpfile
jcreedcmu 528cbc8
Move more config into local typescript gulpfile
jcreedcmu 49c0d39
Replace javascript gulpfile with typescript
jcreedcmu 9083c5d
Reconcile vscode-engine and api versions
jcreedcmu 56b62ff
Fix package deploy to not depend on rush
jcreedcmu 19a76dc
Update action to not depend on rush
jcreedcmu 2b53396
Fix warning
jcreedcmu bce3413
Run npm-installed copy of vsce
jcreedcmu d213890
Fix test section of workflow file
jcreedcmu b7a72b9
Remove now unused rush configuration
jcreedcmu 258f431
Relax version constraints in package.json
jcreedcmu 2671414
Extract rush from vscode tasks
jcreedcmu cd329ee
Fix source maps
jcreedcmu 3c07be5
Move type dependency to devDependencies
jcreedcmu f8804f9
Use explicit path for vsce
jcreedcmu 9ad0bf6
Call into package.json scripts from actions workflow
jcreedcmu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I dont think we need
npxhere. We can assume users have already runnpm run build -- buildWithoutPackage --verbosebefore running in vs code. So, just do the same, but removenpx. You may need to add a full path here, so${workspaceRoot}/extensions/ql-vscode/node_modules/.bin/gulp.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I sort of like
npxas a terse idiom here, but I don't mind being more explicit if you think it's better to avoid the magic ofnpxauto-downloading packages. I'm pretty sure we already need to be in the correctcwdto have gulp work, so a path relative toextensions/ql-vscodeshould work.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My concern with npx is with versioning. I've had situations before where people ran into different behaviour because
npxhad installed different versions. If we are running from thenode_modulesdirectory, this won't happen.