Skip to content

Commit 6bedf3a

Browse files
authored
Merge pull request #290 from 1c-syntax/develop
2 parents 2b37f88 + 251667c commit 6bedf3a

File tree

15 files changed

+6857
-880
lines changed

15 files changed

+6857
-880
lines changed

.github/workflows/release.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,21 @@ jobs:
1313
with:
1414
node-version: '16'
1515
- run: npm install
16-
- name: Build package
17-
run: npx vsce package
16+
- name: Publish to Open VSX Registry
17+
uses: HaaLeo/publish-vscode-extension@v1
18+
id: publishToOpenVSX
19+
with:
20+
pat: ${{ secrets.OVSX_TOKEN }}
21+
skipDuplicate: true
22+
- name: Publish to Visual Studio Marketplace
23+
uses: HaaLeo/publish-vscode-extension@v1
24+
with:
25+
pat: ${{ secrets.VSCE_TOKEN }}
26+
registryUrl: https://marketplace.visualstudio.com
27+
extensionFile: ${{ steps.publishToOpenVSX.outputs.vsixPath }}
28+
skipDuplicate: true
1829
- name: Upload vsix to release
1930
uses: AButler/[email protected]
2031
with:
2132
files: '*.vsix'
2233
repo-token: ${{ secrets.GITHUB_TOKEN }}
23-
- uses: lannonbr/vsce-action@master
24-
if: github.event.release.prerelease == false
25-
with:
26-
args: "publish -p $VSCE_TOKEN"
27-
env:
28-
VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}

.vscode-test.mjs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import { defineConfig } from '@vscode/test-cli';
2+
3+
export default defineConfig({
4+
files: 'out/test/**/*.test.js',
5+
workspaceFolder: 'test/fixtures',
6+
mocha: {
7+
ui: "bdd"
8+
}
9+
});

.vscode/launch.json

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,23 @@
11
// A launch configuration that compiles the extension and then opens it inside a new window
22
{
3-
"version": "0.1.0",
3+
"version": "0.2.0",
44
"configurations": [
55
{
66
"name": "Launch Extension",
77
"type": "extensionHost",
88
"request": "launch",
99
"runtimeExecutable": "${execPath}",
10-
"args": ["--extensionDevelopmentPath=${workspaceRoot}" ],
11-
"stopOnEntry": false,
12-
"sourceMaps": true,
13-
"outDir": "${workspaceRoot}/out/src",
10+
"args": ["--extensionDevelopmentPath=${workspaceRoot}"],
11+
"outFiles": ["${workspaceFolder}/out/src/**/*.js"],
1412
"preLaunchTask": "npm"
1513
},
1614
{
1715
"name": "Launch Tests",
1816
"type": "extensionHost",
1917
"request": "launch",
2018
"runtimeExecutable": "${execPath}",
21-
"args": ["${workspaceRoot}/test/fixtures", "--extensionDevelopmentPath=${workspaceRoot}", "--extensionTestsPath=${workspaceRoot}/out/test" ],
22-
"stopOnEntry": false,
23-
"sourceMaps": true,
24-
"outDir": "${workspaceRoot}/out/test",
25-
"preLaunchTask": "npm"
19+
"args": ["${workspaceFolder}/test/fixtures", "--extensionDevelopmentPath=${workspaceFolder}", "--extensionTestsPath=${workspaceFolder}/out/test" ],
20+
"outFiles": ["${workspaceFolder}/out/test/**/*.js"]
2621
}
2722
]
2823
}

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 1.27.3
4+
5+
* Обновлены правила подсветки языка запросов и языка 1С
6+
37
## 1.27.2
48

59
* Добавлена подсветка #native

0 commit comments

Comments
 (0)