Compare commits

..

12 Commits

Author SHA1 Message Date
Alex Miller
782721e39b
Merge pull request #30 from AurorNZ/update_dependencies
Update dependencies, fix lint config, prep for v5
2025-07-02 10:28:53 +12:00
Alex Miller
bec1723bc4 chore: bump packages and fix lint config 2025-06-19 13:57:02 +12:00
Alex Miller
1794b11ca4 chore: bump to v5 2025-06-19 13:47:22 +12:00
Alex Miller
9cff7d242b chore: add renovate config 2025-06-19 13:47:10 +12:00
Alex Miller
e8779dce3a
Merge pull request #29 from AurorNZ/dependabot/npm_and_yarn/esbuild-0.25.5
Bump esbuild from 0.21.5 to 0.25.5
2025-06-19 13:40:30 +12:00
dependabot[bot]
99d6b694d8
Bump esbuild from 0.21.5 to 0.25.5
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.21.5 to 0.25.5.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2024.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.21.5...v0.25.5)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-version: 0.25.5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-19 01:39:55 +00:00
Alex Miller
72ccd00322
Merge pull request #23 from AurorNZ/dependabot/npm_and_yarn/esbuild-0.25.0
Bump esbuild from 0.23.1 to 0.25.0
2025-06-19 13:38:41 +12:00
dependabot[bot]
89fb1a85fc
Bump esbuild from 0.23.1 to 0.25.0
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.23.1 to 0.25.0.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2024.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.23.1...v0.25.0)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-version: 0.25.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-19 01:27:04 +00:00
Alex Miller
5b1e195ea9
Merge pull request #28 from AurorNZ/MIS-139_upgrade_pnpm_10
MIS-139: Upgrade pnpm to 10
2025-06-19 13:25:47 +12:00
Alex Miller
c0a0458410 MIS-139: Commit new build 2025-06-19 11:11:11 +12:00
Alex Miller
069ad76cd1 MIS-139: Use latest Node 20 2025-06-19 11:10:30 +12:00
Alex Miller
7ac8b60816 MIS-139: Upgrade to PNPM 10 2025-06-19 11:09:00 +12:00
6 changed files with 10989 additions and 10224 deletions

10
.github/renovate.json vendored Normal file
View File

@ -0,0 +1,10 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended", "group:allNonMajor", "schedule:monthly"],
"timezone": "Pacific/Auckland",
"labels": ["dependencies"],
"vulnerabilityAlerts": {
"labels": ["security"],
"schedule": ["at any time"]
}
}

15310
dist/index.mjs generated vendored

File diff suppressed because one or more lines are too long

View File

@ -1,36 +1,14 @@
// @ts-check
import {fixupPluginRules} from '@eslint/compat'
import {FlatCompat} from '@eslint/eslintrc'
import jsEslint from '@eslint/js'
import eslintConfigPrettier from 'eslint-config-prettier'
import tsEslint from 'typescript-eslint'
const compat = new FlatCompat({
baseDirectory: import.meta.dirname,
recommendedConfig: jsEslint.configs.recommended,
allConfig: jsEslint.configs.all
})
/* eslint-disable @typescript-eslint/explicit-function-return-type */
/**
* @param {string} name the pugin name
* @param {string} alias the plugin alias
* @returns {import("eslint").ESLint.Plugin}
*/
function legacyPlugin(name, alias = name) {
const plugin = compat.plugins(name)[0]?.plugins?.[alias]
if (!plugin) {
throw new Error(`Unable to resolve plugin ${name} and/or alias ${alias}`)
}
return fixupPluginRules(plugin)
}
/* eslint-enable @typescript-eslint/explicit-function-return-type */
import * as eslintPluginImportX from 'eslint-plugin-import-x'
import * as tsEslint from 'typescript-eslint'
export default tsEslint.config(
jsEslint.configs.recommended,
eslintPluginImportX.flatConfigs.recommended,
eslintPluginImportX.flatConfigs.typescript,
...tsEslint.configs.strictTypeChecked,
...tsEslint.configs.stylisticTypeChecked,
{
@ -44,13 +22,9 @@ export default tsEslint.config(
}
},
{
ignores: ['**/coverage', '**/dist', '**/esbuild.config.mjs']
ignores: ['**/coverage', '**/dist', '**/lib', '**/esbuild.config.mjs']
},
{
plugins: {
github: legacyPlugin('eslint-plugin-github', 'github'), // pending https://github.com/github/eslint-plugin-github/issues/513
import: legacyPlugin('eslint-plugin-import', 'import') // Needed for above
},
rules: {
'@typescript-eslint/await-thenable': 'warn',
'@typescript-eslint/explicit-function-return-type': 'warn',
@ -65,11 +39,7 @@ export default tsEslint.config(
allowNumber: true
}
],
'github/array-foreach': 'error',
'github/no-implicit-buggy-globals': 'error',
'github/no-then': 'error',
'github/no-dynamic-script-tag': 'error',
'import/no-extraneous-dependencies': [
'import-x/no-extraneous-dependencies': [
'error',
{
devDependencies: true,
@ -77,7 +47,7 @@ export default tsEslint.config(
peerDependencies: true
}
],
'import/order': ['warn', {'newlines-between': 'always', alphabetize: {order: 'asc'}}],
'import-x/order': ['warn', {'newlines-between': 'always', alphabetize: {order: 'asc'}}],
'no-console': ['warn']
}
},

View File

@ -1,6 +1,6 @@
{
"name": "paths-filter",
"version": "1.0.0",
"version": "5.0.0",
"private": true,
"description": "Execute your workflow steps only if relevant files are modified.",
"type": "module",
@ -25,37 +25,36 @@
],
"license": "MIT",
"dependencies": {
"@actions/core": "^1.10.1",
"@actions/core": "^1.11.1",
"@actions/exec": "^1.1.1",
"@actions/github": "^6.0.0",
"@actions/github": "^6.0.1",
"js-yaml": "^4.1.0",
"micromatch": "^4.0.8"
},
"devDependencies": {
"@eslint/compat": "^1.1.1",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.10.0",
"@octokit/webhooks-types": "^7.5.1",
"@tsconfig/node20": "^20.1.4",
"@types/eslint__js": "^8.42.3",
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.29.0",
"@octokit/webhooks-types": "^7.6.1",
"@tsconfig/node20": "^20.1.6",
"@types/js-yaml": "^4.0.9",
"@types/micromatch": "^4.0.9",
"@types/node": "^20.0.0",
"@typescript-eslint/eslint-plugin": "^8.5.0",
"@typescript-eslint/parser": "^8.5.0",
"chalk": "^5.3.0",
"esbuild": "^0.23.1",
"eslint": "^9.10.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-github": "^5.0.1",
"prettier": "^3.3.3",
"typescript": "^5.6.2",
"typescript-eslint": "^8.5.0",
"vitest": "^2.0.5"
"@types/node": "^24.0.3",
"@typescript-eslint/eslint-plugin": "^8.34.1",
"@typescript-eslint/parser": "^8.34.1",
"chalk": "^5.4.1",
"esbuild": "^0.25.5",
"eslint": "^9.29.0",
"eslint-config-prettier": "^10.1.5",
"eslint-import-resolver-typescript": "^4.4.3",
"eslint-plugin-github": "^6.0.0",
"eslint-plugin-import-x": "^4.15.2",
"prettier": "^3.5.3",
"typescript": "^5.8.3",
"typescript-eslint": "^8.34.1",
"vitest": "^3.2.4"
},
"volta": {
"node": "20.17.0",
"pnpm": "8.15.8"
"node": "20.19.2",
"pnpm": "10.12.1"
}
}

File diff suppressed because it is too large Load Diff

2
pnpm-workspace.yaml Normal file
View File

@ -0,0 +1,2 @@
onlyBuiltDependencies:
- esbuild