mirror of
https://github.com/slidevjs/slidev.git
synced 2026-09-14 20:46:32 +08:00
chore: release script
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2020-2021 Anthony Fu
|
||||
Copyright (c) 2020-PRESENT Anthony Fu
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2020-PRESENT Slidev Team
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
@@ -18,7 +18,7 @@
|
||||
"main": "./dist/index.cjs",
|
||||
"icon": "dist/res/logo.png",
|
||||
"engines": {
|
||||
"vscode": "^1.52.0"
|
||||
"vscode": "^1.89.0"
|
||||
},
|
||||
"activationEvents": [
|
||||
"onStartupFinished"
|
||||
@@ -319,6 +319,7 @@
|
||||
"@vue/reactivity": "^3.4.27",
|
||||
"@vue/runtime-core": "^3.4.27",
|
||||
"@vue/shared": "^3.4.27",
|
||||
"get-port-please": "^3.1.2"
|
||||
"get-port-please": "^3.1.2",
|
||||
"ovsx": "^0.9.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,6 +13,15 @@ async function publish() {
|
||||
return
|
||||
}
|
||||
|
||||
if (!process.env.VSCE_TOKEN) {
|
||||
console.error('Missing VSCE_TOKEN')
|
||||
process.exit(1)
|
||||
}
|
||||
if (!process.env.OVSX_TOKEN) {
|
||||
console.error('Missing OVSX_TOKEN')
|
||||
process.exit(1)
|
||||
}
|
||||
|
||||
console.log('Publishing VS Code extension...')
|
||||
|
||||
await execa('npm', ['run', 'build'], { cwd: root, stdio: 'inherit' })
|
||||
|
||||
Generated
+815
-35
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user