@@ -37,22 +37,24 @@ The following resources are vendored into the extension;
3737
3838* Puppet Editor Services (` editor-services ` )
3939
40- * Puppet Editor Syntax (` editor-syntax ` )
40+ * Puppet Editor Syntax (` editorSyntax ` )
4141
42- By default the extension will use the specified versions in the ` editor-components .json` file when vendoring resources.
42+ By default the extension will use the specified versions in the ` package .json` file when vendoring resources.
4343
4444#### Example configuration
4545
46- The following examples use ` editor-services ` , however the configuration settings can be used on any resource.
46+ The following examples use ` editorServices ` , however the configuration settings can be used on any resource.
4747
4848##### By release tag
4949
5050To use version ` 0.10.0 ` of the Editor Services;
5151
5252``` json
5353{
54- "editor-services" : {
55- "release" : " 0.10.0"
54+ "editorComponents" :{
55+ "editorServices" : {
56+ "release" : " 0.10.0"
57+ }
5658 }
5759}
5860```
@@ -63,17 +65,19 @@ To use a specific GitHub repository that contains the Puppet Editor services, us
6365
6466``` json
6567{
66- "editor-services" : {
67- "githubuser" : " Alice" ,
68- "githubrepo" : " puppet-editing" ,
69- "githubref" : " testing"
68+ "editorComponents" :{
69+ "editorServices" : {
70+ "githubuser" : " Alice" ,
71+ "githubrepo" : " puppet-editing" ,
72+ "githubref" : " testing"
73+ }
7074 }
7175}
7276```
7377
74- Note - For ` editor-services ` the default the githubuser is ` lingua-pupuli ` and the githubrepo is ` puppet-editor-services `
78+ Note - For ` editorServices ` the default the githubuser is ` lingua-pupuli ` and the githubrepo is ` puppet-editor-services `
7579
76- Note - For ` editor-syntax ` the default the githubuser is ` lingua-pupuli ` and the githubrepo is ` puppet-editor-syntax `
80+ Note - For ` editorSyntax ` the default the githubuser is ` lingua-pupuli ` and the githubrepo is ` puppet-editor-syntax `
7781
7882Note - Use the full length commit SHA for ` githubref ` , not the abbreviated eight character SHA
7983
@@ -93,19 +97,29 @@ Note - Backslashes in the path must be escaped.
9397
9498### Vendoring the resources into the extension
9599
96- * Use gulp to vendor the resources
97-
98- ``` bash
99- > node node_modules/gulp/bin/gulp.js --series clean vendor
100- [15:00:21] Using gulpfile C:\S ource\p uppet-vscode\g ulpfile.js
101- [15:00:21] Starting ' clean' ...
102- [15:00:21] Finished ' clean' after 7.9 ms
103- [15:00:21] Starting ' vendor' ...
104- [15:00:21] Starting ' vendor_editor_services' ...
105- [15:00:25] Finished ' vendor_editor_services' after 3.88 s
106- [15:00:25] Starting ' vendor_editor_syntax' ...
107- [15:00:27] Finished ' vendor_editor_syntax' after 2.24 s
108- [15:00:27] Finished ' vendor' after 6.13 s
100+ * Use psake to vendor the resources
101+
102+ ``` powershell
103+ > ./build.ps1 -task clean,vendor
104+ psake version 4.8.0
105+ Copyright (c) 2010-2018 James Kovacs & Contributors
106+
107+ Executing clean
108+ Executing VendorEditorServices
109+ Executing VendorEditorSyntax
110+
111+ psake succeeded executing C:\Users\james\src\lingua\client\psakefile.ps1
112+
113+ ----------------------------------------------------------------------
114+ Build Time Report
115+ ----------------------------------------------------------------------
116+ Name Duration
117+ ---- --------
118+ Clean 00:00:00.075
119+ VendorEditorServices 00:00:01.601
120+ VendorEditorSyntax 00:00:00.338
121+ Vendor 00:00:00.000
122+ Total: 00:00:02.023
109123```
110124
111125* Start VS Code
0 commit comments