Skip to content

Commit

Permalink
feat!: support eslint-remote-tester@4
Browse files Browse the repository at this point in the history
  • Loading branch information
AriPerkkio committed Jun 2, 2024
1 parent 0ce936c commit 2f7a427
Show file tree
Hide file tree
Showing 23 changed files with 1,880 additions and 4,967 deletions.
1,482 changes: 737 additions & 745 deletions dist/index.js

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions esbuild.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const { build } = require('esbuild');
import esbuild from 'esbuild';

/** @type {import('esbuild/lib/main').BuildOptions} */
const options = {
Expand All @@ -14,13 +14,16 @@ const options = {
'node:stream',
'node:util',
'node:events',
'node:fs',
'node:path',
],
platform: 'node',
format: 'esm',
outdir: 'dist',
outbase: 'src',
};

build(options).catch(err => {
esbuild.build(options).catch(err => {
process.stderr.write(err.stderr);
process.exit(1);
});
7 changes: 0 additions & 7 deletions jest.config.js

This file was deleted.

12 changes: 5 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "0.0.1",
"description": "GitHub Action for running eslint-remote-tester",
"main": "dist/index.js",
"type": "module",
"repository": "https://github.com/AriPerkkio/eslint-remote-tester-run-action",
"homepage": "https://github.com/AriPerkkio/eslint-remote-tester-run-action",
"bugs": "https://github.com/AriPerkkio/eslint-remote-tester-run-action",
Expand All @@ -14,33 +15,30 @@
"build": "node esbuild.config.js",
"lint": "eslint --max-warnings=0",
"typecheck": "tsc --noEmit",
"test": "jest"
"test": "vitest"
},
"dependencies": {
"@actions/core": "^1.2.6",
"@actions/exec": "^1.0.4",
"@actions/github": "^4.0.0",
"eslint-remote-tester": "^2.1.1",
"eslint-remote-tester": "https://pkg.pr.new/eslint-remote-tester@92f4e8a",
"semver": "^7.3.4"
},
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@eslint/js": "^9.4.0",
"@types/eslint": "^8.56.10",
"@types/jest": "^26.0.20",
"@types/node": "^14.14.21",
"@types/semver": "^7.3.4",
"esbuild": "^0.8.33",
"eslint": "^9.4.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"jest": "24",
"msw": "^0.26.0",
"prettier": "^3.2.5",
"ts-jest": "24",
"ts-node": "^10.4.0",
"typescript": "^5.4.5",
"typescript-eslint": "^7.11.0"
"typescript-eslint": "^7.11.0",
"vitest": "^1.6.0"
}
}
Loading

0 comments on commit 2f7a427

Please sign in to comment.