@pikokr/command.ts 5.7.0-dev.1 → 5.7.1-dev.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -38,11 +38,11 @@ jobs:
38
38
 
39
39
  steps:
40
40
  - name: Checkout repository
41
- uses: actions/checkout@v3
41
+ uses: actions/checkout@v4
42
42
 
43
43
  # Initializes the CodeQL tools for scanning.
44
44
  - name: Initialize CodeQL
45
- uses: github/codeql-action/init@v2
45
+ uses: github/codeql-action/init@v3
46
46
  with:
47
47
  languages: ${{ matrix.language }}
48
48
  # If you wish to specify custom queries, you can do so here or in a config file.
@@ -53,7 +53,7 @@ jobs:
53
53
  # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
54
54
  # If this step fails, then you should remove it and run the build manually (see below)
55
55
  - name: Autobuild
56
- uses: github/codeql-action/autobuild@v2
56
+ uses: github/codeql-action/autobuild@v3
57
57
 
58
58
  # ℹ️ Command-line programs to run using the OS shell.
59
59
  # 📚 https://git.io/JvXDl
@@ -67,4 +67,4 @@ jobs:
67
67
  # make release
68
68
 
69
69
  - name: Perform CodeQL Analysis
70
- uses: github/codeql-action/analyze@v2
70
+ uses: github/codeql-action/analyze@v3
@@ -18,12 +18,12 @@ jobs:
18
18
  if: github.repository_owner == 'pikokr'
19
19
  steps:
20
20
  - name: Checkout repository
21
- uses: actions/checkout@v3
21
+ uses: actions/checkout@v4
22
22
 
23
23
  - name: Install node.js v18
24
- uses: actions/setup-node@v3
24
+ uses: actions/setup-node@v4
25
25
  with:
26
- node-version: 18
26
+ node-version: 20
27
27
 
28
28
  - name: Enable corepack
29
29
  run: corepack enable
@@ -34,7 +34,7 @@ jobs:
34
34
  run: |
35
35
  echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
36
36
 
37
- - uses: actions/cache@v3
37
+ - uses: actions/cache@v4
38
38
  name: Setup pnpm cache
39
39
  with:
40
40
  path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
@@ -49,7 +49,7 @@ jobs:
49
49
  run: pnpm run docs
50
50
 
51
51
  - name: Upload artifacts
52
- uses: actions/upload-artifact@v3
52
+ uses: actions/upload-artifact@v4
53
53
  with:
54
54
  name: docs
55
55
  path: docs/docs.json
@@ -69,13 +69,13 @@ jobs:
69
69
  SHA: ${{ needs.build.outputs.SHA }}
70
70
  steps:
71
71
  - name: Download artifacts
72
- uses: actions/download-artifact@v3
72
+ uses: actions/download-artifact@v4
73
73
  with:
74
74
  name: docs
75
75
  path: docs
76
76
 
77
77
  - name: Checkout docs repository
78
- uses: actions/checkout@v3
78
+ uses: actions/checkout@v4
79
79
  with:
80
80
  repository: 'pikokr/docs'
81
81
  token: ${{ secrets.PIKOKR_DOCS }}
@@ -12,11 +12,11 @@ jobs:
12
12
 
13
13
  steps:
14
14
  - name: Checkout
15
- uses: actions/checkout@v3
15
+ uses: actions/checkout@v4
16
16
  - name: Setup node
17
- uses: actions/setup-node@v3
17
+ uses: actions/setup-node@v4
18
18
  with:
19
- node-version: 18
19
+ node-version: 20
20
20
  - name: Enable corepack
21
21
  run: corepack enable
22
22
 
@@ -26,7 +26,7 @@ jobs:
26
26
  run: |
27
27
  echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
28
28
 
29
- - uses: actions/cache@v3
29
+ - uses: actions/cache@v4
30
30
  name: Setup pnpm cache
31
31
  with:
32
32
  path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
@@ -12,11 +12,11 @@ jobs:
12
12
 
13
13
  steps:
14
14
  - name: Checkout
15
- uses: actions/checkout@v3
15
+ uses: actions/checkout@v4
16
16
  - name: Setup node
17
- uses: actions/setup-node@v3
17
+ uses: actions/setup-node@v4
18
18
  with:
19
- node-version: 18
19
+ node-version: 20
20
20
  - name: Enable corepack
21
21
  run: corepack enable
22
22
 
@@ -31,7 +31,7 @@ jobs:
31
31
  run: |
32
32
  echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
33
33
 
34
- - uses: actions/cache@v3
34
+ - uses: actions/cache@v4
35
35
  name: Setup pnpm cache
36
36
  with:
37
37
  path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
package/dist/index.d.ts CHANGED
@@ -42,9 +42,7 @@ declare const getComponentStore: (target: object) => ComponentStore;
42
42
  declare const getComponent: (target: object, key: string | symbol) => BaseComponent | undefined;
43
43
  declare const createComponentDecorator: (component: BaseComponent) => MethodDecorator;
44
44
  declare const getComponentArgumentStore: (target: object, key: string | symbol) => ComponentArgumentStore;
45
- declare const createArgumentDecorator: <Options>(type: {
46
- new (options: Partial<Options>): ComponentArgumentDecorator<Options>;
47
- }) => (options: Options) => ParameterDecorator;
45
+ declare const createArgumentDecorator: <Options>(type: typeof ComponentArgumentDecorator<Options>) => (options: Options) => ParameterDecorator;
48
46
 
49
47
  type Options$2<T> = {
50
48
  component: unknown;
package/package.json CHANGED
@@ -1,36 +1,36 @@
1
1
  {
2
2
  "name": "@pikokr/command.ts",
3
3
  "description": "Discord.js command framework for typescript.",
4
- "version": "5.7.0-dev.1",
4
+ "version": "5.7.1-dev.1",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "MIT",
8
8
  "devDependencies": {
9
9
  "@discordjs/ts-docgen": "^0.4.1",
10
- "@swc/core": "1.3.101",
10
+ "@swc/core": "1.4.6",
11
11
  "@types/lodash": "4.14.202",
12
- "@typescript-eslint/eslint-plugin": "^6.16.0",
13
- "@typescript-eslint/parser": "^6.16.0",
12
+ "@typescript-eslint/eslint-plugin": "^7.1.1",
13
+ "@typescript-eslint/parser": "^7.1.1",
14
14
  "all-contributors-cli": "6.26.1",
15
- "discord-api-types": "^0.37.66",
15
+ "discord-api-types": "^0.37.73",
16
16
  "discord.js": "14.14.1",
17
- "dotenv": "16.3.1",
18
- "eslint": "^8.56.0",
17
+ "dotenv": "16.4.5",
18
+ "eslint": "^8.57.0",
19
19
  "eslint-config-prettier": "^9.1.0",
20
- "eslint-plugin-prettier": "^5.1.2",
21
- "prettier": "3.1.1",
20
+ "eslint-plugin-prettier": "^5.1.3",
21
+ "prettier": "3.2.5",
22
22
  "rimraf": "5.0.5",
23
- "semantic-release": "^22.0.12",
23
+ "semantic-release": "^23.0.2",
24
24
  "ts-node": "10.9.2",
25
25
  "tslog": "^4.9.2",
26
- "tsup": "8.0.1",
27
- "typedoc": "^0.25.4",
28
- "typescript": "^5.3.3",
29
- "utility-types": "^3.10.0"
26
+ "tsup": "8.0.2",
27
+ "typedoc": "^0.25.11",
28
+ "typescript": "^5.4.2",
29
+ "utility-types": "^3.11.0"
30
30
  },
31
31
  "dependencies": {
32
- "@types/node": "^20.10.5",
33
- "chalk": "5.3.0",
32
+ "@types/node": "^20.11.25",
33
+ "chalk": "^4.1.2",
34
34
  "lodash": "^4.17.21",
35
35
  "reflect-metadata": "^0.2.1",
36
36
  "walk-sync": "^3.0.0"
@@ -61,5 +61,10 @@
61
61
  "prerelease": true
62
62
  }
63
63
  ]
64
+ },
65
+ "pnpm": {
66
+ "overrides": {
67
+ "undici@<=5.28.2": ">=5.28.3"
68
+ }
64
69
  }
65
70
  }