fix vscode publish flow
This commit is contained in:
parent
47c439f13e
commit
6c6a33b987
2 changed files with 5 additions and 3 deletions
|
@ -26,7 +26,7 @@
|
|||
"onLanguage:astro"
|
||||
],
|
||||
"dependencies": {
|
||||
"@astrojs/language-server": "0.5.0",
|
||||
"@astrojs/language-server": "0.6.0",
|
||||
"vscode-emmet-helper": "2.1.2",
|
||||
"vscode-html-languageservice": "^3.0.3",
|
||||
"vscode-languageclient": "~7.0.0"
|
||||
|
|
|
@ -4,7 +4,7 @@ import execa from 'execa';
|
|||
|
||||
/** Copies `astro-languageserver` to our file */
|
||||
async function publish() {
|
||||
const p0 = execa('yarn', ['lerna', 'run', 'build', '--scope', 'astro-vscode', '--scope', 'astro-languageserver'], { all: true });
|
||||
const p0 = execa('yarn', ['lerna', 'run', 'build', '--scope', 'astro-vscode', '--scope', '@astrojs/language-server'], { all: true });
|
||||
p0.all.setEncoding('utf8');
|
||||
for await (const chunk of p0.all) {
|
||||
console.log(chunk);
|
||||
|
@ -18,7 +18,9 @@ async function publish() {
|
|||
}
|
||||
}
|
||||
|
||||
const p1 = execa('vsce', ['package'], { all: true });
|
||||
execa('npm', ['install'], { all: true })
|
||||
|
||||
const p1 = execa('vsce', ['publish'], { all: true });
|
||||
|
||||
p1.all.setEncoding('utf8');
|
||||
for await (const chunk of p1.all) {
|
||||
|
|
Loading…
Reference in a new issue