Skip to content

Commit c6e3ec5

Browse files
werk-vscode: add npm run package script and make vsce happy
1 parent 0a81d92 commit c6e3ec5

File tree

7 files changed

+21
-68
lines changed

7 files changed

+21
-68
lines changed

werk-vscode/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/node_modules
2+
/*.vsix

werk-vscode/CHANGELOG.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
# Change Log
22

3-
All notable changes to the "werk" extension will be documented in this file.
4-
5-
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.
6-
73
## [Unreleased]
84

95
- Initial release

werk-vscode/LICENSE

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
werk-vscode is dual-licensed under either
2+
3+
* MIT License ([LICENSE-MIT](../../LICENSE-MIT))
4+
* Apache License, Version 2.0 ([LICENSE-APACHE](../../LICENSE-APACHE))
5+
6+
at your option.

werk-vscode/LICENSE-APACHE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../LICENSE-APACHE

werk-vscode/LICENSE-MIT

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../LICENSE-MIT

werk-vscode/README.md

Lines changed: 2 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,3 @@
1-
# werk README
1+
# werk
22

3-
This is the README for your extension "werk". After writing up a brief description, we recommend including the following sections.
4-
5-
## Features
6-
7-
Describe specific features of your extension including screenshots of your extension in action. Image paths are relative to this README file.
8-
9-
For example if there is an image subfolder under your extension project workspace:
10-
11-
\!\[feature X\]\(images/feature-x.png\)
12-
13-
> Tip: Many popular extensions utilize animations. This is an excellent way to show off your extension! We recommend short, focused animations that are easy to follow.
14-
15-
## Requirements
16-
17-
If you have any requirements or dependencies, add a section describing those and how to install and configure them.
18-
19-
## Extension Settings
20-
21-
Include if your extension adds any VS Code settings through the `contributes.configuration` extension point.
22-
23-
For example:
24-
25-
This extension contributes the following settings:
26-
27-
* `myExtension.enable`: Enable/disable this extension.
28-
* `myExtension.thing`: Set to `blah` to do something.
29-
30-
## Known Issues
31-
32-
Calling out known issues can help limit users opening duplicate issues against your extension.
33-
34-
## Release Notes
35-
36-
Users appreciate release notes as you update your extension.
37-
38-
### 1.0.0
39-
40-
Initial release of ...
41-
42-
### 1.0.1
43-
44-
Fixed issue #.
45-
46-
### 1.1.0
47-
48-
Added features X, Y, and Z.
49-
50-
---
51-
52-
## Working with Markdown
53-
54-
You can author your README using Visual Studio Code. Here are some useful editor keyboard shortcuts:
55-
56-
* Split the editor (`Cmd+\` on macOS or `Ctrl+\` on Windows and Linux).
57-
* Toggle preview (`Shift+Cmd+V` on macOS or `Shift+Ctrl+V` on Windows and Linux).
58-
* Press `Ctrl+Space` (Windows, Linux, macOS) to see a list of Markdown snippets.
59-
60-
## For more information
61-
62-
* [Visual Studio Code's Markdown Support](http://code.visualstudio.com/docs/languages/markdown)
63-
* [Markdown Syntax Reference](https://help.github.com/articles/markdown-basics/)
64-
65-
**Enjoy!**
3+
Basic language support for [werk](https://github.com/simonask/werk), a simplistic command runner and build system.

werk-vscode/package.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,16 @@
22
"name": "werk",
33
"displayName": "Werk",
44
"description": "Werk language and build system support",
5+
"repository": "https://github.com/simonask/werk",
6+
"license": "MIT OR Apache-2.0",
57
"version": "0.0.1",
68
"engines": {
79
"vscode": "^1.96.0"
810
},
11+
"scripts": {
12+
"vsce": "vsce",
13+
"package": "vsce package"
14+
},
915
"categories": [
1016
"Programming Languages"
1117
],
@@ -21,5 +27,8 @@
2127
"scopeName": "source.werk",
2228
"path": "./syntaxes/werk.tmLanguage.json"
2329
}]
30+
},
31+
"devDependencies": {
32+
"@vscode/vsce": "3.2.2"
2433
}
2534
}

0 commit comments

Comments
 (0)