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 11.vscode /**
22.vscode-test /**
33out /**
4- node_modules /**
4+ # node_modules/** # For bundling @actions/* and @types/github-script
55src /**
66.gitignore
77.yarnrc
@@ -12,3 +12,4 @@ vsc-extension-quickstart.md
1212** /* .map
1313** /* .ts
1414** /.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() {
3535 sourcesContent : false ,
3636 platform : 'node' ,
3737 outfile : 'dist/extension.js' ,
38- external : [ 'vscode' ] ,
38+ external : [ 'vscode' , 'typescript' ] ,
3939 logLevel : 'silent' ,
4040 plugins : [
4141 /* add to the end of plugins array */
Original file line number Diff line number Diff line change 2727 ]
2828 },
2929 "scripts" : {
30- "vscode:prepublish" : " npm run package" ,
30+ "vscode:prepublish" : " npm run package && npm i --omit=dev " ,
3131 "compile" : " npm run check-types && npm run lint && node esbuild.js" ,
3232 "watch" : " npm-run-all -p watch:*" ,
3333 "watch:esbuild" : " node esbuild.js --watch" ,
You can’t perform that action at this time.
0 commit comments