File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
.vscode /**
2
2
.vscode-test /**
3
3
out /**
4
- node_modules /**
4
+ # node_modules/** # For bundling @actions/* and @types/github-script
5
5
src /**
6
6
.gitignore
7
7
.yarnrc
@@ -12,3 +12,4 @@ vsc-extension-quickstart.md
12
12
** /* .map
13
13
** /* .ts
14
14
** /.vscode-test. *
15
+ ! ** /* .d.ts # For bundling @actions /* and @types /github-script d.ts
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ async function main() {
35
35
sourcesContent : false ,
36
36
platform : 'node' ,
37
37
outfile : 'dist/extension.js' ,
38
- external : [ 'vscode' ] ,
38
+ external : [ 'vscode' , 'typescript' ] ,
39
39
logLevel : 'silent' ,
40
40
plugins : [
41
41
/* add to the end of plugins array */
Original file line number Diff line number Diff line change 27
27
]
28
28
},
29
29
"scripts" : {
30
- "vscode:prepublish" : " npm run package" ,
30
+ "vscode:prepublish" : " npm run package && npm i --omit=dev " ,
31
31
"compile" : " npm run check-types && npm run lint && node esbuild.js" ,
32
32
"watch" : " npm-run-all -p watch:*" ,
33
33
"watch:esbuild" : " node esbuild.js --watch" ,
You can’t perform that action at this time.
0 commit comments