Skip to content

Commit e182a4d

Browse files
committed
Add the cooldown and Fix the sames
1 parent bab810a commit e182a4d

13 files changed

Lines changed: 7356 additions & 357 deletions

.github/dependabot.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ updates:
44
directory: /
55
schedule:
66
interval: daily
7+
timezone: Asia/Tokyo
8+
cooldown:
9+
default-days: 1
710
allow:
811
- dependency-type: all
912
rebase-strategy: auto
@@ -15,16 +18,23 @@ updates:
1518
- '*'
1619

1720
- package-ecosystem: npm
18-
directory: '/'
21+
directories:
22+
- '/package/'
23+
- '/tests/'
1924
schedule:
2025
interval: daily
2126
timezone: Asia/Tokyo
27+
cooldown:
28+
default-days: 1
29+
exclude:
30+
- 'pnpm'
31+
- 'appstore-connect-jwt-generator-core'
2232
allow:
2333
- dependency-type: all
2434
rebase-strategy: auto
2535
assignees:
2636
- poad
2737
groups:
28-
esm:
38+
npm:
2939
patterns:
3040
- '*'

.github/workflows/auto-merge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ permissions:
99

1010
jobs:
1111
auto-merge:
12-
if: github.event.pull_request.draft == false
12+
if: ${{ !github.event.pull_request.draft }}
1313

1414
runs-on: ubuntu-latest
1515
steps:

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
with:
2727
node-version: ${{ matrix.node-version }}
2828
check-latest: true
29-
package-manager-cache: pnpm
29+
package-manager-cache: false
3030

3131
- uses: pnpm/action-setup@v4
3232
name: Install pnpm

.github/workflows/create-release-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
with:
3737
node-version: 'lts/*'
3838
check-latest: true
39-
package-manager-cache: pnpm
39+
package-manager-cache: false
4040

4141
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
4242
with:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
jobs:
1313
release:
1414
if: |
15-
(github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'Type: Release')) || github.event_name == 'workflow_dispatch'
15+
${{ (github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'Type: Release')) || github.event_name == 'workflow_dispatch' }}
1616
permissions:
1717
contents: write
1818
id-token: write # OIDC

eslint.config.js renamed to eslint.config.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
// @ts-check
2-
1+
import { defineConfig } from 'eslint/config';
32
import eslint from '@eslint/js';
43
import stylistic from '@stylistic/eslint-plugin';
5-
import tseslint from 'typescript-eslint';
4+
import { configs, parser } from 'typescript-eslint';
65
import importPlugin from 'eslint-plugin-import';
7-
import pluginPromise from 'eslint-plugin-promise'
6+
// @ts-expect-error ignore type error
7+
import pluginPromise from 'eslint-plugin-promise';
88

99
import { includeIgnoreFile } from '@eslint/compat';
1010
import path from "node:path";
@@ -14,7 +14,7 @@ const __filename = fileURLToPath(import.meta.url);
1414
const __dirname = path.dirname(__filename);
1515
const gitignorePath = path.resolve(__dirname, ".gitignore");
1616

17-
export default tseslint.config(
17+
export default defineConfig(
1818
{
1919
ignores: [
2020
...(includeIgnoreFile(gitignorePath).ignores ?? []),
@@ -27,13 +27,13 @@ export default tseslint.config(
2727
],
2828
},
2929
eslint.configs.recommended,
30-
...tseslint.configs.strict,
31-
...tseslint.configs.stylistic,
30+
...configs.strict,
31+
...configs.stylistic,
3232
pluginPromise.configs['flat/recommended'],
3333
{
3434
files: ['src/**/*.ts'],
3535
languageOptions: {
36-
parser: tseslint.parser,
36+
parser,
3737
ecmaVersion: 'latest',
3838
sourceType: 'module',
3939
},

0 commit comments

Comments
 (0)