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

Outdated schema.json on deno.land #158

Open
RuyiLi opened this issue Jan 25, 2022 · 0 comments
Open

Outdated schema.json on deno.land #158

RuyiLi opened this issue Jan 25, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@RuyiLi
Copy link

RuyiLi commented Jan 25, 2022

Describe the bug
The contents of https://deno.land/x/denon/schema.json (which is what appears on the README) differs from https://github.com/denosaurs/denon/blob/main/schema.json. Specifically, #151, which renames the importmap script option, invalidates the current schema, causing editors such as VSCode to incorrectly autocomplete "importmap".

To Reproduce

  1. Create a scripts.json file.
  2. Add the following property: "$schema": "https://deno.land/x/denon/schema.json"
  3. In an editor that supports Intellisense for JSON schemas, create a script and type "import", and look at the recommendations (should say "importmap" instead of "importMap" or "import-map")

Expected behavior
Recommendations should be "importMap" or "import-map".

Configuration or Project

{
  // optional but highly recommended
  "$schema": "https://deno.land/x/denon/schema.json",

  "scripts": {
    "start": {
      "import
    }
  }
}

Screenshots
image

Setup

  • OS: WSL (Ubuntu)
  • Deno version: 1.17.3
  • Denon version: 2.4.9
@RuyiLi RuyiLi added the bug Something isn't working label Jan 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant