Skip to content

Commit bcb92f2

Browse files
committedMay 10, 2024
chore: release script
1 parent 2756491 commit bcb92f2

File tree

5 files changed

+849
-38
lines changed

5 files changed

+849
-38
lines changed
 

‎LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2020-2021 Anthony Fu
3+
Copyright (c) 2020-PRESENT Anthony Fu
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

‎packages/vscode/LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2020-PRESENT Slidev Team
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

‎packages/vscode/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"main": "./dist/index.cjs",
1919
"icon": "dist/res/logo.png",
2020
"engines": {
21-
"vscode": "^1.52.0"
21+
"vscode": "^1.89.0"
2222
},
2323
"activationEvents": [
2424
"onStartupFinished"
@@ -319,6 +319,7 @@
319319
"@vue/reactivity": "^3.4.27",
320320
"@vue/runtime-core": "^3.4.27",
321321
"@vue/shared": "^3.4.27",
322-
"get-port-please": "^3.1.2"
322+
"get-port-please": "^3.1.2",
323+
"ovsx": "^0.9.1"
323324
}
324325
}

‎packages/vscode/scripts/publish.ts

+9
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,15 @@ async function publish() {
1313
return
1414
}
1515

16+
if (!process.env.VSCE_TOKEN) {
17+
console.error('Missing VSCE_TOKEN')
18+
process.exit(1)
19+
}
20+
if (!process.env.OVSX_TOKEN) {
21+
console.error('Missing OVSX_TOKEN')
22+
process.exit(1)
23+
}
24+
1625
console.log('Publishing VS Code extension...')
1726

1827
await execa('npm', ['run', 'build'], { cwd: root, stdio: 'inherit' })

‎pnpm-lock.yaml

+815-35
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.