diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index 6a460306..00000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1,12 +0,0 @@ -# These are supported funding model platforms - -github: [] # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] -patreon: # Replace with a single Patreon username -open_collective: vscode-deno # Replace with a single Open Collective username -ko_fi: # Replace with a single Ko-fi username -tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel -community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry -liberapay: # Replace with a single Liberapay username -issuehunt: # Replace with a single IssueHunt username -otechie: # Replace with a single Otechie username -custom: https://github.com/justjavac/buy-me-a-coffee # Replace with a single custom sponsorship URL diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index e812baed..00000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve - ---- - - - -**Describe the bug** - -A clear and concise description of what the bug is. - -**To Reproduce** - -Steps to reproduce the behavior: - -1. [First Step] -2. [Second Step] -3. [and so on...] - -**Expected behavior** - -A clear and concise description of what you expected to happen. - -**Screenshots** - -If applicable, add screenshots to help explain your problem. - -### Versions - -You can get this information from copy and pasting the output of `deno --version` from the command line. Also, please include the VS Code's versions. - -**Additional context** - -Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/custom.md b/.github/ISSUE_TEMPLATE/custom.md deleted file mode 100644 index 452a7a94..00000000 --- a/.github/ISSUE_TEMPLATE/custom.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -name: Custom issue template -about: Describe this issue template's purpose here. - ---- - - diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 5ce0f9fa..00000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project - ---- - - - -**Is your feature request related to a problem? Please describe.** - -A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] - -**Describe the solution you'd like** - -A clear and concise description of what you want to happen. - -**Additional context** - -Add any other context or screenshots about the feature request here. diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md deleted file mode 100644 index 66b3c2fc..00000000 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ /dev/null @@ -1,10 +0,0 @@ - diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 0da87af4..00000000 --- a/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ -sudo: false -language: node_js - -env: - global: - - DENO_VERSION=v0.40.0 - - YARN_VERSION=1.19.2 - -node_js: - - "12" - -cache: - directories: - - "node_modules" - yarn: true - -before_install: - - curl -L https://deno.land/x/install/install.sh | sh -s $DENO_VERSION - - export PATH="$HOME/.deno/bin:$PATH" - - curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version $YARN_VERSION - - export PATH="$HOME/.yarn/bin:$PATH" -install: - - yarn global add vsce - - yarn - -script: - - yarn run check - - yarn compile - - vsce package diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md deleted file mode 100644 index 9cc66592..00000000 --- a/CODE_OF_CONDUCT.md +++ /dev/null @@ -1,46 +0,0 @@ -# Contributor Covenant Code of Conduct - -## Our Pledge - -In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation. - -## Our Standards - -Examples of behavior that contributes to creating a positive environment include: - -- Using welcoming and inclusive language -- Being respectful of differing viewpoints and experiences -- Gracefully accepting constructive criticism -- Focusing on what is best for the community -- Showing empathy towards other community members - -Examples of unacceptable behavior by participants include: - -- The use of sexualized language or imagery and unwelcome sexual attention or advances -- Trolling, insulting/derogatory comments, and personal or political attacks -- Public or private harassment -- Publishing others' private information, such as a physical or electronic address, without explicit permission -- Other conduct which could reasonably be considered inappropriate in a professional setting - -## Our Responsibilities - -Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior. - -Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful. - -## Scope - -This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers. - -## Enforcement - -Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at justjavac@gmail.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. - -Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership. - -## Attribution - -This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version] - -[homepage]: http://contributor-covenant.org -[version]: http://contributor-covenant.org/version/1/4/ diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md deleted file mode 100644 index b397ef7f..00000000 --- a/CONTRIBUTING.md +++ /dev/null @@ -1,21 +0,0 @@ -# How to contribute to vscode-deno - -Thank you for being interested in vscode-deno! :tada: - -## Code of Conduct - -This project and everyone participating in it is governed by the [Code of Conduct](CODE_OF_CONDUCT.md). -By participating, you are expected to uphold this code. -Please report unacceptable behavior to [justjavac@gmail.com](mailto:justjavac@gmail.com). - -## I don't want to read this whole thing I just have a question!!! - -> **Note: Please don't file an issue to ask a question**. The stackoverflow is the best place for getting support: - -## How Can I Contribute? - -1. If you find a bug, **ensure the bug was not already reported** by searching on GitHub under [Issues](https://github.com/justjavac/vscode-deno/issues). -2. If you're unable to find an open issue addressing the problem, [open a new one](https://github.com/justjavac/vscode-deno/issues/new). Be sure to include a **title and clear description**. -3. If you write a patch that fixes a bug, open a new pull request with the patch. -4. If you intend to add a new feature or change an existing one, first you should create a new issue. -5. When we have finished the discussion, you can create a new feature branch to start your work. diff --git a/LICENSE b/LICENSE index 28e97a9a..bbc3eb5e 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2019 justjavac +Copyright (c) 2019-2020 the Deno authors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 5c0f65d6..a5148883 100644 --- a/README.md +++ b/README.md @@ -1,22 +1,26 @@ -# VS Code Deno extension +# Visual Studio Code Deno extension -[![Build Status](https://travis-ci.com/justjavac/vscode-deno.svg?branch=master)](https://travis-ci.com/justjavac/vscode-deno) -[![Version](https://vsmarketplacebadge.apphb.com/version/justjavac.vscode-deno.svg)](https://marketplace.visualstudio.com/items?itemName=justjavac.vscode-deno) -[![Downloads](https://vsmarketplacebadge.apphb.com/downloads/justjavac.vscode-deno.svg)](https://marketplace.visualstudio.com/items?itemName=justjavac.vscode-deno) - -Adds Deno support for VS Code using the [TypeScript Deno language service plugin](https://github.com/justjavac/typescript-deno-plugin). +Adds Deno support for VS Code using the [TypeScript Deno language service +plugin](https://github.com/justjavac/typescript-deno-plugin). ## Usage -This extension works using VS Code's **built-in version** of TypeScript. You do not need to configure the plugin in your `tsconfig.json` if you are using VS Code's version of TypeScript. +This extension works using VS Code's **built-in version** of TypeScript. You do +not need to configure the plugin in your `tsconfig.json` if you are using VS +Code's version of TypeScript. -If you are using VS Code 1.40 or older and are [using a **workspace version** of typescript](https://code.visualstudio.com/Docs/languages/typescript#_using-newer-typescript-versions), you must currently configure the TS Server plugin manually by following [these instructions](https://github.com/justjavac/typescript-deno-plugin#configuration) +If you are using VS Code 1.40 or older and are [using a **workspace version** of +typescript](https://code.visualstudio.com/Docs/languages/typescript#_using-newer-typescript-versions), +you must currently configure the TS Server plugin manually by following [these +instructions](https://github.com/justjavac/typescript-deno-plugin#configuration) ## Preview ### without this plugin -If we write `from "./hello.ts"`, the editor(VS Code) will prompt for a tilde error. Because the default TypeScript project does not need to write the extension `.ts`. +If we write `from "./hello.ts"`, the editor(VS Code) will prompt for a tilde +error. Because the default TypeScript project does not need to write the +extension `.ts`. > ts(2691): An import path cannot end with a '.ts' extension. Consider importing './hello' instead. @@ -32,7 +36,9 @@ Deno allows imports from URLs, like the browser. But TypeScript can **not** find ### after install this plugin -Deno caches remote imports in a special directory specified by the `$DENO_DIR` environmental variable. It defaults to the system's cache directory if `$DENO_DIR` is not specified. +Deno caches remote imports in a special directory specified by the `$DENO_DIR` +environmental variable. It defaults to the system's cache directory if +`$DENO_DIR` is not specified. This plugin can resolve remote imports as local path. @@ -40,7 +46,10 @@ This plugin can resolve remote imports as local path. ## Configuration -You can configure the Deno extension using a `tsconfig` as described [here](https://github.com/justjavac/typescript-deno-plugin#configuration), or configure it with VS Code settings. This requires VS Code 1.40+ and TS 3.8+. Note the VS Code based configuration overrides the `tsconfig` configuration. +You can configure the Deno extension using a `tsconfig` as described +[here](https://github.com/justjavac/typescript-deno-plugin#configuration), or +configure it with VS Code settings. This requires VS Code 1.40+ and TS 3.8+. +Note the VS Code based configuration overrides the `tsconfig` configuration. - `deno.enabled` - Enable/disable this extension. Default is `true`. @@ -59,4 +68,5 @@ This extension contributes the following commands to the Command palette. ## Contribute -Report a bug or a suggestion by posting an issue on the [git repository](https://github.com/justjavac/vscode-deno). +Report a bug or a suggestion by posting an issue on the [git +repository](https://github.com/denoland/vscode_deno). diff --git a/CHANGELOG.md b/Releases.md similarity index 93% rename from CHANGELOG.md rename to Releases.md index f73deaa4..a75d185f 100644 --- a/CHANGELOG.md +++ b/Releases.md @@ -1,5 +1,11 @@ # Changelog +## 2020-05-07 + +Moved from https://github.com/justjavac/vscode-deno to +https://github.com/denoland/vscode_deno in order to have an "official" Deno +plugin. Thank you 迷渡! + ## 1.9.0 - 2020-05-03 - rewrite module resolver [typescript-deno-plugin#35](https://github.com/justjavac/typescript-deno-plugin/pull/35) diff --git a/package.json b/package.json index 61861e12..8b9e2ee6 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,9 @@ { - "name": "vscode-deno", + "name": "vscode_deno", "displayName": "%deno.displayName%", "description": "%deno.description%", - "version": "1.23.0", - "publisher": "justjavac", + "version": "1.24.0", + "publisher": "the deno authors", "icon": "deno.png", "galleryBanner": { "color": "#3B3738", @@ -11,10 +11,10 @@ }, "repository": { "type": "git", - "url": "https://github.com/justjavac/vscode-deno" + "url": "https://github.com/denoland/vscode_deno" }, "bugs": { - "url": "https://github.com/justjavac/vscode-deno/issues" + "url": "https://github.com/denoland/vscode_deno/issues" }, "engines": { "vscode": "^1.40.0"