Skip to content

Commit eaf02bb

Browse files
authored
Merge pull request #147 from dotnetCarpenter/deps
Deps
2 parents e22394a + 2b2238f commit eaf02bb

File tree

11 files changed

+4094
-2742
lines changed

11 files changed

+4094
-2742
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,18 @@ jobs:
1414
uses: actions/setup-node@v4
1515
with:
1616
node-version: 20.x
17-
cache: yarn
18-
cache-dependency-path: yarn.lock
17+
cache: npm
1918
- name: Install and build
2019
run: |
21-
yarn --frozen-lockfile
22-
yarn compile
20+
npm ci
21+
npm run compile
2322
env:
2423
CI: true
2524
- name: Test
26-
run: yarn test
25+
run: npm test
2726
if: runner.os != 'Linux'
2827
- name: Test on Linux
29-
run: xvfb-run -a yarn test
28+
run: xvfb-run -a npm test
3029
if: runner.os == 'Linux'
3130
- name: Lint
32-
run: yarn lint
31+
run: npm run lint

.github/workflows/release.yml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,34 +9,28 @@ jobs:
99
release:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v1
12+
- uses: actions/checkout@v4
1313
- name: Use Node.js 20.x
1414
uses: actions/setup-node@v4
1515
with:
1616
node-version: 20.x
1717
registry-url: 'https://npm.pkg.github.com'
18-
- name: Cache yarn cache
19-
uses: actions/cache@v4
20-
with:
21-
path: ~/.cache/yarn
22-
key: ${{ runner.os }}-yarn-${{ hashFiles(format('{0}{1}', github.workspace, '/yarn.lock')) }}
23-
restore-keys: |
24-
${{ runner.os }}-yarn-
18+
cache: npm
2519
- name: Install and build
26-
run: yarn --frozen-lockfile
20+
run: npm ci
2721
env:
2822
CI: true
2923
- name: Build
30-
run: yarn compile
24+
run: npm run compile
3125
env:
3226
CI: true
3327
- name: Build web
34-
run: yarn package-web
28+
run: npm run package-web
3529
env:
3630
CI: true
3731
- name: Publish with vsce
3832
run: |
39-
npm i -g vsce
33+
npm install --global @vscode/vsce
4034
# Try to publish and ignore any errors (that version was already published)
4135
vsce publish -p $VSCE_TOKEN || true
4236
env:

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dist/
22
node_modules/
33
out/
4-
package-lock.json
54
.vscode-test/
65
*.vsix
6+
yarn.lock

eslint.config.mjs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import eslint from '@eslint/js';
2+
import tseslint from 'typescript-eslint';
3+
4+
export default tseslint.config(
5+
eslint.configs.recommended,
6+
...tseslint.configs.recommended,
7+
);

jsconfig.json

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

0 commit comments

Comments
 (0)