Skip to content

Commit d54b88b

Browse files
author
Tal Hadad
committed
Merge branch 'master' into custom-lsp-command
2 parents 9bca67f + 6108825 commit d54b88b

54 files changed

Lines changed: 8321 additions & 4055 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/issues.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

.github/workflows/main.yml

Lines changed: 23 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/setup-node@v3
1515
with:
1616
node-version: 18
17-
- run: yarn install
17+
- run: npm install
1818
- name: Run tests
1919
uses: GabrielBB/xvfb-action@v1.0
2020
with:
@@ -26,11 +26,11 @@ jobs:
2626
steps:
2727
- uses: actions/checkout@v3
2828
- run: node $SCRIPT_DIR/enableWebpack.js
29-
- run: yarn install
30-
- uses: lannonbr/vsce-action@master
29+
- run: npm install
30+
- uses: lannonbr/vsce-action@4.0.0
3131
with:
3232
args: "package -o $VSIX_FILE"
33-
- uses: actions/upload-artifact@v3
33+
- uses: actions/upload-artifact@v4
3434
with:
3535
name: ${{ env.VSIX_FILE }}
3636
path: ${{ env.VSIX_FILE }}
@@ -41,8 +41,8 @@ jobs:
4141
- uses: actions/setup-node@v3
4242
with:
4343
node-version: 18
44-
- run: yarn install
45-
- run: yarn run lint
44+
- run: npm install
45+
- run: npm run lint
4646
markdownlint-cli:
4747
runs-on: ubuntu-latest
4848
steps:
@@ -52,31 +52,23 @@ jobs:
5252
files: .
5353
config_file: ".markdownlint.json"
5454
ignore_files: "node_modules/*"
55-
lintr:
56-
runs-on: ubuntu-latest
57-
container:
58-
image: rocker/tidyverse:latest
59-
steps:
60-
- uses: actions/checkout@v3
61-
- name: Install apt-get dependencies
62-
run: |
63-
apt-get update
64-
apt-get install git ssh curl bzip2 -y
65-
- name: Install lintr
66-
run: |
67-
Rscript -e "install.packages('lintr', repos = 'https://cloud.r-project.org')"
68-
shell: bash
69-
- name: Running lintr
70-
run: |
71-
Rscript -e "stopifnot(length(print(lintr::lint_dir('./R'))) == 0)"
72-
shell: bash
73-
devreplay:
55+
lint:
7456
runs-on: ubuntu-latest
57+
env:
58+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
7559
steps:
76-
- uses: actions/checkout@v3
77-
- uses: actions/setup-node@v3
60+
- uses: actions/checkout@v4
61+
62+
- uses: r-lib/actions/setup-r@v2
7863
with:
79-
node-version: 18
80-
- run: yarn install
81-
- name: Run devreplay
82-
run: ./node_modules/.bin/devreplay ./src devreplay.json
64+
use-public-rspm: true
65+
66+
- name: Install lintr
67+
run: install.packages("lintr")
68+
shell: Rscript {0}
69+
70+
- name: Lint root directory
71+
run: lintr::lint_dir("./R")
72+
shell: Rscript {0}
73+
env:
74+
LINTR_ERROR_ON_LINT: true

.github/workflows/pre-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@v3
1818
- run: node $SCRIPT_DIR/enableWebpack.js
19-
- run: yarn install
20-
- uses: lannonbr/vsce-action@master
19+
- run: npm install
20+
- uses: lannonbr/vsce-action@4.0.0
2121
with:
2222
args: "package -o $FILE_OUT"
23-
- uses: actions/upload-artifact@v3
23+
- uses: actions/upload-artifact@v4
2424
with:
2525
name: "${{ env.FILE_OUT }}"
2626
path: "${{ env.FILE_OUT }}"
@@ -38,7 +38,7 @@ jobs:
3838
env:
3939
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4040
- name: Download artifacts
41-
uses: actions/download-artifact@v3
41+
uses: actions/download-artifact@v4.1.7
4242
with:
4343
path: "artifacts/"
4444
- name: Upload artifacts

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@v3
1818
- run: node $SCRIPT_DIR/enableWebpack.js
19-
- run: yarn install
20-
- uses: lannonbr/vsce-action@master
19+
- run: npm install
20+
- uses: lannonbr/vsce-action@4.0.0
2121
with:
2222
args: "package"
2323
- name: Identify output file # can be retrieved as steps.filenames.outputs.file_out
2424
id: filenames
2525
run: echo "::set-output name=file_out::$(ls | grep "^.*\.vsix$" | head -1)"
26-
- uses: actions/upload-artifact@v3
26+
- uses: actions/upload-artifact@v4
2727
with:
2828
name: ${{ steps.filenames.outputs.file_out }}
2929
path: ${{ steps.filenames.outputs.file_out }}
@@ -35,7 +35,7 @@ jobs:
3535

3636
steps:
3737
- name: Download artifacts
38-
uses: actions/download-artifact@v3
38+
uses: actions/download-artifact@v4.1.7
3939
with:
4040
path: "artifacts/"
4141
- name: Get version from tag
@@ -57,7 +57,7 @@ jobs:
5757
steps:
5858
- uses: actions/checkout@v3
5959
- run: node $SCRIPT_DIR/enableWebpack.js
60-
- run: yarn install
60+
- run: npm install
6161
- name: Publish to Open VSX Registry
6262
uses: HaaLeo/publish-vscode-extension@v1
6363
id: publishToOpenVSX

.vscode/extensions.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
11
{
2-
"recommendations": [
3-
"dbaeumer.vscode-eslint",
4-
"GrapeCity.gc-excelviewer",
5-
"ikuyadeu.devreplay",
6-
"DavidAnson.vscode-markdownlint"
7-
]
2+
83
}

.vscode/launch.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
"outFiles": [
1616
"${workspaceFolder}/out/src/**/*.js"
1717
],
18-
"preLaunchTask": "watchAll"
1918
},
2019
{
2120
"name": "Launch Extension (--disable-extensions)",
@@ -29,7 +28,6 @@
2928
"outFiles": [
3029
"${workspaceFolder}/out/src/**/*.js"
3130
],
32-
"preLaunchTask": "watchAll"
3331
},
3432
{
3533
"name": "Extension Tests",

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
"typescript.tsdk": "./node_modules/typescript/lib", // we want to use the TS server from our node_modules folder to control its version
1010
"r.lsp.diagnostics": true,
1111
"editor.codeActionsOnSave": {
12-
"source.fixAll.markdownlint": true
12+
"source.fixAll.markdownlint": "explicit"
1313
}
1414
}

.vscode/tasks.json

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"command": "vsce",
1111
"args": [
1212
"package",
13-
"--yarn",
1413
"-o",
1514
"${workspaceFolderBasename}.vsix"
1615
]
@@ -33,19 +32,17 @@
3332
},
3433
{
3534
"type": "npm",
36-
"script": "compile",
35+
"script": "build",
3736
"problemMatcher": "$tsc"
3837
},
39-
{
38+
{
4039
"type": "npm",
4140
"script": "watch",
42-
"problemMatcher": "$tsc-watch",
43-
"isBackground": true,
44-
"presentation": {
45-
"reveal": "never"
46-
},
47-
"group": "build"
48-
},
41+
"group": "build",
42+
// install https://marketplace.visualstudio.com/items?itemName=eamodio.tsl-problem-matcher
43+
"problemMatcher": ["$ts-webpack-watch"],
44+
"isBackground": true
45+
},
4946
{
5047
"type": "npm",
5148
"script": "watchHelp",

.vscodeignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
.xls
88
.xlsx
99
**/*.map
10-
devreplay.json
1110
html/**/*.ts
1211
out/test/**
1312
src/

.yarnrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)