Giter VIP home page Giter VIP logo

vercel-vscode's Introduction

Hi there ๐Ÿ‘‹

I'm the CPO at Corellium โ€” a virtual hardware platform for government agencies and large enterprises to perform security research, penetration testing and development on mobile and IoT devices. I run the product management, customer support and design teams.

Previously I ran an agency called Jellypepper. We worked with startups in self-driving car tech, AI, biotech, crypto, drone delivery, cybersecurity and even orbital (outer space) logistics. Jellypepper was acquired in 2023 by Raw Studio, where I joined them as an Advisor.

I have limited availability and occasionally take on freelance projects and consulting. I'm also open to joining boards and advisory roles. If you're interested, please get in touch.

Also, I have a private mailing list where I keep 1000+ people up to date with what I'm working on. Feel free to join if you're interested.

vercel-vscode's People

Contributors

aarondill avatar claritise avatar dependabot[bot] avatar haydenbleasel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

vercel-vscode's Issues

"Open in Vercel"

Thank you for making this extension! I have one request: to have options added to the command palette for "Open in Vercel:"

  • Project
  • Deployments
  • Current Deployment
  • Logs
  • Project Settings
  • any other links you think would be useful

Similar to the "Open in Github" extension:
image

Stuck on "Loading Vercel deployment status..."

Hello,

From the status bar I see โ–ฒ Loading and the tooltip says "Loading Vercel deployment status..."

Access token is set. Project is correctly linked.

Any idea why it's stuck on loading?

Thanks!

Extension can not integrate with Vercel CLI

The Issue:

The extension in its current form is incapable of utilizing the project.json file injected into any workspace using the Vercel CLI, therefore forcing the user to define a redundant settings.json file in any workspace they would like to use this extension in.

Solution:

Check the workspace for a .vercel/project.json file, which is an ordinary JSON file(not JSONC), and thus can be easily parsed with JSON.parse, and use the projectId value from it if applicable.

Problems with this solution:

Subdirectories are not searched, and thus, if a user uses vercel DIRNAME instead of the root directory of the workspace, this approach will not detect the file. However, this problem is trivial with the combination of the project setting, which could allow for either a fallback or override value to the value found in the JSON file.

Solved by:

Pull Request #16

Additional considerations(mostly irrelevant to this request):

the project setting should be renamed or better documented. As a user of the extension, I originally thought it to be broken due to my misuse of this settings. I placed my project name (ie YOUR-PROJECT) when it should be a project id (ie prj_89au98uf0), this is not very well documented beyond the fact that the example code begins with prj_; however, to a new user, that may be misunderstood as simply part of the demonstration value.

Frequent connection failure errors when resuming from sleep

I often see errors from vercel-vscode when resuming my laptop (running macOS Sonoma) & VS Code (1.84.2).

They typically look like this:
request to https://api.vercel.com/v6/deployments?projectId=prj_uw47ou5Nsqxw4O8s4fpp2hDD3G1L&limit=1 failed, reason: getaddrinfo ENOTFOUND api.vercel.com

and

invalid json response body at https://api.vercel.com/v6/deployments?projectId=prj_uw47ou5Nsqxw4O8s4fpp2hDD3G1L&limit=1 reason: Unexpected token 'A', "An error o"... is not valid JSON

In a big slew like this:
image

I get that these are "expected" in that these are network requests being made and are failing. Eventually, it connects and the extension is happy.

I'm wondering if there's a potential change in behaviour here that could reduce or avoid these.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.