1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/mirrors-Project-Sonar

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
CONTRIBUTING.md 1.9 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
Tony Ross Отправлено 11.09.2019 19:13 86be412

Contributing

Instructions for getting started contributing to webhint for Visual Studio Code.

Compile and Run

  • Run yarn to install dependencies.
  • Run yarn build from the root hint directory.
  • Open VS Code on this directory.
  • Switch to the Debug viewlet.
  • Select Client + Server from the drop down.
  • Run the launch config.

NOTE: Make sure you open a file in the launched vscode instance that webhint is registered for (like html or tsconfig.json), otherwise, the server won't start.

Running Tests

  • Run yarn test from this directory.

Packaging

  • Install the packager via npm install -g vsce.
  • Run vsce package.
  • Install the generated *.vsix package in VSCode:
    • Go to View > Extensions.
    • Click ... in the top-right of the panel.
    • Click Install from VSIX....
    • Choose the generated *.vsix package from disk.

Publishing

Full instructions available at the Publishing Extensions page in the Visual Studio Code documentation. You must be a member of the webhint Visual Studio Marketplace publisher to publish.

  • Install the packager via npm install -g vsce
  • Run vsce login webhint
  • Provide your Personal Access Token
  • Run the release script
    • Preferred: Run npm run release from the root of this repo (publishes all webhint packages - automatically calculates version bump)
    • Alternate: Run vsce publish from this directory (publishes only this extension - requires manual version bump)

Note vsce saves your login information so only npm install and vsce publish are necessary on subsequent attempts.

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/mirrors-Project-Sonar.git
git@api.gitlife.ru:oschina-mirror/mirrors-Project-Sonar.git
oschina-mirror
mirrors-Project-Sonar
mirrors-Project-Sonar
main