File tree Expand file tree Collapse file tree 2 files changed +29
-4
lines changed Expand file tree Collapse file tree 2 files changed +29
-4
lines changed Original file line number Diff line number Diff line change 3
3
4
4
[ ![ Build Status] ( https://dev.azure.com/vscode/VSCE/_apis/build/status/VSCE?branchName=master )] ( https://dev.azure.com/vscode/VSCE/_build/latest?definitionId=16&branchName=master )
5
5
6
- ### Requirements
6
+ ## Requirements
7
7
8
8
- [ Node.js] ( https://nodejs.org/en/ ) at least ` 8.x.x `
9
9
10
- ### About
10
+ ## Development
11
+
12
+ First clone this repository, then:
13
+
14
+ ``` sh
15
+ yarn
16
+ yarn watch # or `watch-test` to also run tests
17
+ ```
18
+
19
+ Once the watcher is up and running, you can run out of sources with:
20
+
21
+ ``` sh
22
+ yarn vsce
23
+ ```
24
+
25
+ ### Publish to NPM
26
+
27
+ Simply push a new tag and the CI will automatically publish to NPM. The usual flow is:
28
+
29
+ ``` sh
30
+ npm version [minor| patch]
31
+ git push --follow-tags
32
+ ```
33
+
34
+ ## About
11
35
12
36
This tool assists in packaging and publishing Visual Studio Code extensions.
13
37
Original file line number Diff line number Diff line change 28
28
"watch" : " concurrently \" tsc --watch\" \" cpx --watch src/vsce out\" " ,
29
29
"watch-test" : " concurrently \" tsc --watch\" \" cpx --watch src/vsce out\" \" mocha --watch\" " ,
30
30
"test" : " mocha" ,
31
- "prepublishOnly" : " tsc && cpx src/vsce out && mocha"
31
+ "prepublishOnly" : " tsc && cpx src/vsce out && mocha" ,
32
+ "vsce" : " out/vsce"
32
33
},
33
34
"engines" : {
34
35
"node" : " >= 8"
77
78
"typescript" : " ^3.4.3" ,
78
79
"xml2js" : " ^0.4.12"
79
80
}
80
- }
81
+ }
You can’t perform that action at this time.
0 commit comments