File tree 3 files changed +294
-199
lines changed 3 files changed +294
-199
lines changed Original file line number Diff line number Diff line change 6
6
"type" : " git" ,
7
7
"url" : " https://github.com/pbkit/vscode-pbkit.git"
8
8
},
9
- "version" : " 0.0.6 " ,
9
+ "version" : " 0.0.7 " ,
10
10
"publisher" : " pbkit" ,
11
11
"icon" : " pbkit.png" ,
12
12
"license" : " (MIT OR Apache-2.0)" ,
13
13
"engines" : {
14
- "vscode" : " ^1.51 .0"
14
+ "vscode" : " ^1.85 .0"
15
15
},
16
16
"activationEvents" : [
17
17
" onLanguage:proto"
88
88
},
89
89
"scripts" : {
90
90
"build:ext" : " esbuild ./src/extension.ts --bundle --outfile=./dist/main.js --external:vscode --format=cjs --platform=node" ,
91
- "build:pbkit" : " esbuild ./node_modules/@pbkit/pb-cli/esm/cli/pb/entrypoint.js --bundle --outdir=./dist/@pbkit/pb-cli/esm/cli/pb --format=cjs --platform=node" ,
91
+ "build:pbkit" : " esbuild ./node_modules/@pbkit/pb-cli/esm/cli/pb/entrypoint.js --bundle --outdir=./dist/@pbkit/pb-cli/esm/cli/pb --format=esm --banner:js='(async()=>{' --footer:js='})()' --define:import.meta.url=undefined --platform=node" ,
92
92
"build" : " npm run build:ext && npm run build:pbkit"
93
93
},
94
94
"devDependencies" : {
95
- "@types/node" : " ^17.0.17 " ,
96
- "@types/vscode" : " ^1.51 .0" ,
97
- "@vscode/vsce" : " ^2.20.1 " ,
98
- "esbuild" : " ^0.14.21 " ,
95
+ "@types/node" : " ^20.10.4 " ,
96
+ "@types/vscode" : " ^1.85 .0" ,
97
+ "@vscode/vsce" : " ^2.22.0 " ,
98
+ "esbuild" : " ^0.19.9 " ,
99
99
"vscode-test" : " ^1.6.1"
100
100
},
101
101
"dependencies" : {
102
- "@pbkit/pb-cli" : " ^0.0.51 " ,
103
- "vscode-languageclient" : " ^7 .0.0 "
102
+ "@pbkit/pb-cli" : " ^0.0.67 " ,
103
+ "vscode-languageclient" : " ^9 .0.1 "
104
104
}
105
105
}
Original file line number Diff line number Diff line change 5
5
{
6
6
"include" : " #syntax"
7
7
},
8
+ {
9
+ "include" : " #edition"
10
+ },
8
11
{
9
12
"include" : " #import"
10
13
},
58
61
}
59
62
]
60
63
},
64
+ "edition" : {
65
+ "name" : " meta.edition.proto" ,
66
+ "begin" : " \\ b(edition)\\ s*(=)\\ s*" ,
67
+ "beginCaptures" : {
68
+ "1" : {
69
+ "name" : " keyword.edition.proto"
70
+ },
71
+ "2" : {
72
+ "name" : " punctuation.separator.key-value.proto"
73
+ }
74
+ },
75
+ "end" : " \\ ;" ,
76
+ "endCaptures" : {
77
+ "0" : {
78
+ "name" : " punctuation.terminator.proto"
79
+ }
80
+ },
81
+ "contentName" : " meta.edition.value.proto" ,
82
+ "patterns" : [
83
+ {
84
+ "include" : " #qstring-single"
85
+ },
86
+ {
87
+ "include" : " #qstring-double"
88
+ }
89
+ ]
90
+ },
61
91
"import" : {
62
92
"name" : " meta.import.proto" ,
63
93
"begin" : " \\ b(import)\\ s*" ,
You can’t perform that action at this time.
0 commit comments