question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Provide an easy way to update and build a checkout of the extension

See original GitHub issue

I.e. either provide a gulp command or a shell & batch scripts that:

  1. git pull --prune (and potentially git checkout -- yarn.lock if it’s been modified; doing it blindly touches the file and causes yarn to fully run again)
  2. yarn install
  3. node node_modules/typescript/bin/tsc -p .

I already do these steps at startup on my machine and it works great, but it would be easier to maintain it with the code and get more people using to help test master.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
brettcannoncommented, Aug 23, 2018

Here is my current thinking on a Python script to handle this:

  • pvsc-master.py init <code | code-insiders: Clones the repo into the appropriate location for the specified version of VS Code and then running a subset of the steps below …
  • pvsc-master.py update: Checks the appropriate places for both code and code-insiders and then does the following:
    1. Delete languageServer
    2. git pull origin master
    3. npm install --no-save
    4. node .\node_modules\typescript\bin\tsc -p .
    5. Delete pythonFiles\experimental\ptvsd (unless extra logic is provided to verify if an upgrade is needed, which could include pip just doing the right thing in the next step …)
    6. -m pip install --target .\pythonFiles\experimental\ptvsd
0reactions
brettcannoncommented, Aug 29, 2018

Added the pvsc-dev-ext.py script.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Building a post-purchase checkout extension - Shopify.dev
Learn how to build a post-purchase checkout extension using App Bridge Checkout. ... Provide a name for your extension using either dash case...
Read more >
A Brand New Type Of Shopify Apps: Checkout Extensions
Checkout app extensions allow you to add code directly to the checkout. They make it easy to customize many aspects of the checkout...
Read more >
Shopify Checkout Extensions: How to Easily Edit Your ...
Shopify checkout extensions empowers merchants to easily customize their checkout page. Discover how you can use ReConvert to level-up your ...
Read more >
Checkout Extensibility Opens New Ways to Customize ...
Checkout UI extensions enable you to add in unique elements like product offers, custom fields, custom banners, and more that are adaptable to ......
Read more >
Checkout Extensions | Rebuy Help Center
The first thing we'll want to do is set up a Checkout Extensions widget in Rebuy. Do this by logging into your Rebuy...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found