Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update dependancies #318

Merged
merged 4 commits into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions .eslintrc.json

This file was deleted.

13 changes: 6 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ on:
workflow_dispatch:
inputs:
prerelease:
description: "Prerelease"
description: 'Prerelease'
required: true
default: false
type: boolean
draft:
description: "Draft"
description: 'Draft'
required: true
default: false
type: boolean
Expand All @@ -22,28 +22,27 @@ on:
- patch
default: 'patch'


jobs:
release:
name: Release
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.AUTOMATION_USER_TOKEN }}
fetch-depth: 0

- uses: DevCycleHQ/release-action/prepare-release@main
id: prepare-release
with:
github-token: ${{ secrets.AUTOMATION_USER_TOKEN }}
prerelease: ${{ github.event.inputs.prerelease }}
draft: ${{ github.event.inputs.draft }}
version-increment-type: ${{ github.event.inputs.version-increment-type }}

- name: Yarn Install
run: yarn install

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/runTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '16.x'
node-version: '20.x'
cache: 'yarn'

- name: Install dependencies
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20.17
30 changes: 30 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
module.exports = [
{
root: true,
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 6,
sourceType: 'module',
project: './tsconfig.json',
},
plugins: ['@typescript-eslint'],
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
],
rules: {
'@typescript-eslint/semi': 'off',
curly: 'warn',
eqeqeq: 'warn',
'no-throw-literal': 'warn',
semi: 'off',
indent: 'off',
},
ignorePatterns: ['out', 'dist', '**/*.d.ts'],
overrides: [
{
files: ['src/**/*.ts'],
},
],
},
];
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@
"watch": "yarn run webpack --watch",
"pretest": "yarn create-analytics-file && yarn run build:test && yarn run lint",
"pretest:integration": "yarn pretest",
"lint": "eslint src --ext ts",
"lint": "eslint src/**/*.ts -f pretty",
"test": "node ./out/test/runTest.js",
"publish": "vsce publish",
"package": "vsce package",
Expand All @@ -282,13 +282,13 @@
"@types/sinon": "^10.0.15",
"@types/tar": "^6.1.7",
"@types/vscode": "^1.64.0",
"@typescript-eslint/eslint-plugin": "^5.12.1",
"@typescript-eslint/parser": "^5.12.1",
"@typescript-eslint/eslint-plugin": "^8.6.0",
"@typescript-eslint/parser": "^8.6.0",
"@vscode/test-electron": "^2.3.6",
"@vscode/vsce": "^2.20.1",
"chai": "^4.3.10",
"copy-webpack-plugin": "^11.0.0",
"eslint": "^8.52.0",
"eslint": "^9.11.0",
"glob": "^10.3.10",
"mocha": "^9.2.1",
"prettier": "3.0.3",
Expand All @@ -304,6 +304,7 @@
"@vscode/codicons": "^0.0.33",
"@vscode/webview-ui-toolkit": "^1.2.2",
"change-case": "^4.1.2",
"eslint-formatter-pretty": "^6.0.1",
"fuse.js": "^6.6.2",
"js-yaml": "^4.1.0",
"lodash.partition": "^4.6.0",
Expand Down
Loading