Skip to content

Commit

Permalink
chore: Update dependencies to latest (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
bryantbiggs authored Jan 20, 2025
1 parent f489335 commit 8d7527d
Show file tree
Hide file tree
Showing 7 changed files with 2,061 additions and 1,861 deletions.
36 changes: 0 additions & 36 deletions .eslintrc.js

This file was deleted.

17 changes: 8 additions & 9 deletions dist/37.index.js → dist/101.index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions dist/index.js

Large diffs are not rendered by default.

62 changes: 62 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
import {fixupConfigRules} from '@eslint/compat';
import tsParser from '@typescript-eslint/parser';
import path from 'node:path';
import {fileURLToPath} from 'node:url';
import js from '@eslint/js';
import {FlatCompat} from '@eslint/eslintrc';

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const compat = new FlatCompat({
baseDirectory: __dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all,
});

export default [
{
ignores: ['**/dist/', '**/lib/', '**/node_modules/', '**/jest.config.js'],
},
...fixupConfigRules(
compat.extends(
'eslint:recommended',
'plugin:import/recommended',
'plugin:import/typescript',
'plugin:@typescript-eslint/recommended',
'prettier',
'plugin:prettier/recommended',
),
),
{
languageOptions: {
parser: tsParser,
ecmaVersion: 2019,
sourceType: 'module',
},

rules: {
'prettier/prettier': [
'error',
{
singleQuote: true,
},
],

'import/order': [
'error',
{
groups: ['index', 'sibling', 'parent', 'internal', 'external', 'builtin', 'object', 'type'],

'newlines-between': 'always',

alphabetize: {
order: 'asc',
caseInsensitive: true,
},
},
],

'eol-last': ['error', 'always'],
},
},
];
37 changes: 20 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"scripts": {
"all": "yarn format && yarn lint && yarn compile",
"compile": "ncc build -m",
"format": "prettier --write src/*ts .eslintrc.js",
"format": "prettier --write src/*ts eslint.config.mjs",
"lint": "eslint '**/*.ts' --quiet --fix",
"release": "semantic-release"
},
Expand Down Expand Up @@ -71,32 +71,35 @@
]
},
"dependencies": {
"@actions/core": "^1.10.1",
"@actions/core": "^1.11.1",
"@actions/io": "^1.1.3",
"find-in-files": "^0.5.0",
"node-fetch": "^3.3.2",
"semver": "^7.6.0"
"semver": "^7.6.3"
},
"devDependencies": {
"@eslint/compat": "^1.2.5",
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.18.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/find-in-files": "^0.5.3",
"@types/node": "^20.11.24",
"@types/node-fetch": "^2.6.11",
"@types/node": "^22.10.7",
"@types/node-fetch": "^3.0.2",
"@types/semver": "^7.5.8",
"@typescript-eslint/eslint-plugin": "^7.1.1",
"@typescript-eslint/parser": "^7.1.1",
"@vercel/ncc": "^0.38.1",
"commitizen": "^4.3.0",
"@typescript-eslint/eslint-plugin": "^8.20.0",
"@typescript-eslint/parser": "^8.20.0",
"@vercel/ncc": "^0.38.3",
"commitizen": "^4.3.1",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"eslint": "^9.18.0",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-prettier": "^5.2.3",
"lint-staged": "^15.4.1",
"prettier": "^3.4.2",
"prettier-plugin-package": "^1.4.0",
"semantic-release": "^23.0.2",
"typescript": "^5.3.3"
"semantic-release": "^24.2.1",
"typescript": "^5.7.3"
}
}
9 changes: 8 additions & 1 deletion renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,12 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
]
],
"schedule": ["* 6-12 * * 0"],
"allowedPostUpgradeCommands": ["^yarn all$"],
"postUpgradeTasks": {
"commands": ["yarn all"],
"fileFilters": ["package.json", "yarn.lock", "**/*.ts"],
"executionMode": "update"
}
}
Loading

0 comments on commit 8d7527d

Please sign in to comment.