@sapphire/pieces 3.6.0 → 3.6.1-next.172771e.0

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.
Files changed (3) hide show
  1. package/README.md +10 -39
  2. package/dist/index.d.ts +8 -8
  3. package/package.json +19 -19
package/README.md CHANGED
@@ -29,45 +29,16 @@ We accept donations through Open Collective, Ko-fi, Paypal, Patreon and GitHub S
29
29
  | Patreon | [Click Here](https://sapphirejs.dev/patreon) |
30
30
  | PayPal | [Click Here](https://sapphirejs.dev/paypal) |
31
31
 
32
- ## Contributors
33
-
34
- Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
35
-
36
- <!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
37
- <!-- prettier-ignore-start -->
38
- <!-- markdownlint-disable -->
39
- <table>
40
- <tbody>
41
- <tr>
42
- <td align="center"><a href="https://github.com/kyranet"><img src="https://avatars0.githubusercontent.com/u/24852502?v=4?s=100" width="100px;" alt="Antonio Román"/><br /><sub><b>Antonio Román</b></sub></a><br /><a href="https://github.com/sapphiredev/pieces/commits?author=kyranet" title="Code">💻</a> <a href="https://github.com/sapphiredev/pieces/commits?author=kyranet" title="Documentation">📖</a> <a href="#design-kyranet" title="Design">🎨</a> <a href="#ideas-kyranet" title="Ideas, Planning, & Feedback">🤔</a> <a href="#infra-kyranet" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#projectManagement-kyranet" title="Project Management">📆</a></td>
43
- <td align="center"><a href="https://Quantumlyy.com/"><img src="https://avatars1.githubusercontent.com/u/7919610?v=4?s=100" width="100px;" alt="Nejc"/><br /><sub><b>Nejc</b></sub></a><br /><a href="https://github.com/sapphiredev/pieces/commits?author=Quantumlyy" title="Code">💻</a> <a href="#userTesting-Quantumlyy" title="User Testing">📓</a></td>
44
- <td align="center"><a href="https://favware.tech"><img src="https://avatars3.githubusercontent.com/u/4019718?v=4?s=100" width="100px;" alt="Jeroen Claassens"/><br /><sub><b>Jeroen Claassens</b></sub></a><br /><a href="https://github.com/sapphiredev/pieces/commits?author=favna" title="Code">💻</a> <a href="#infra-favna" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a></td>
45
- <td align="center"><a href="http://leonard.sh"><img src="https://avatars.githubusercontent.com/u/35312043?v=4?s=100" width="100px;" alt="Narcis B."/><br /><sub><b>Narcis B.</b></sub></a><br /><a href="https://github.com/sapphiredev/pieces/commits?author=leonardssh" title="Documentation">📖</a> <a href="https://github.com/sapphiredev/pieces/commits?author=leonardssh" title="Code">💻</a></td>
46
- <td align="center"><a href="https://github.com/hblomqvist"><img src="https://avatars.githubusercontent.com/u/74746184?v=4?s=100" width="100px;" alt="Henning Blomqvist"/><br /><sub><b>Henning Blomqvist</b></sub></a><br /><a href="https://github.com/sapphiredev/pieces/commits?author=hblomqvist" title="Code">💻</a></td>
47
- <td align="center"><a href="https://github.com/Stitch07"><img src="https://avatars.githubusercontent.com/u/29275227?v=4?s=100" width="100px;" alt="Stitch07"/><br /><sub><b>Stitch07</b></sub></a><br /><a href="https://github.com/sapphiredev/pieces/commits?author=Stitch07" title="Code">💻</a></td>
48
- <td align="center"><a href="https://github.com/vladfrangu"><img src="https://avatars.githubusercontent.com/u/17960496?v=4?s=100" width="100px;" alt="Vlad Frangu"/><br /><sub><b>Vlad Frangu</b></sub></a><br /><a href="https://github.com/sapphiredev/pieces/commits?author=vladfrangu" title="Code">💻</a></td>
49
- </tr>
50
- <tr>
51
- <td align="center"><a href="https://github.com/apps/depfu"><img src="https://avatars.githubusercontent.com/in/715?v=4?s=100" width="100px;" alt="depfu[bot]"/><br /><sub><b>depfu[bot]</b></sub></a><br /><a href="#maintenance-depfu[bot]" title="Maintenance">🚧</a></td>
52
- <td align="center"><a href="https://github.com/apps/renovate"><img src="https://avatars.githubusercontent.com/in/2740?v=4?s=100" width="100px;" alt="renovate[bot]"/><br /><sub><b>renovate[bot]</b></sub></a><br /><a href="#maintenance-renovate[bot]" title="Maintenance">🚧</a></td>
53
- <td align="center"><a href="https://github.com/apps/allcontributors"><img src="https://avatars.githubusercontent.com/in/23186?v=4?s=100" width="100px;" alt="allcontributors[bot]"/><br /><sub><b>allcontributors[bot]</b></sub></a><br /><a href="https://github.com/sapphiredev/pieces/commits?author=allcontributors[bot]" title="Documentation">📖</a></td>
54
- <td align="center"><a href="https://github.com/apps/dependabot"><img src="https://avatars.githubusercontent.com/in/29110?v=4?s=100" width="100px;" alt="dependabot[bot]"/><br /><sub><b>dependabot[bot]</b></sub></a><br /><a href="#maintenance-dependabot[bot]" title="Maintenance">🚧</a></td>
55
- <td align="center"><a href="https://github.com/Lioness100"><img src="https://avatars.githubusercontent.com/u/65814829?v=4?s=100" width="100px;" alt="Lioness100"/><br /><sub><b>Lioness100</b></sub></a><br /><a href="https://github.com/sapphiredev/pieces/commits?author=Lioness100" title="Code">💻</a></td>
56
- <td align="center"><a href="https://github.com/r-priyam"><img src="https://avatars.githubusercontent.com/u/50884372?v=4?s=100" width="100px;" alt="Priyam"/><br /><sub><b>Priyam</b></sub></a><br /><a href="https://github.com/sapphiredev/pieces/commits?author=r-priyam" title="Documentation">📖</a></td>
57
- <td align="center"><a href="https://github.com/RealShadowNova"><img src="https://avatars.githubusercontent.com/u/46537907?v=4?s=100" width="100px;" alt="Hezekiah Hendry"/><br /><sub><b>Hezekiah Hendry</b></sub></a><br /><a href="#tool-RealShadowNova" title="Tools">🔧</a></td>
58
- </tr>
59
- <tr>
60
- <td align="center"><a href="https://rea9lizer.carrd.co"><img src="https://avatars.githubusercontent.com/u/68494132?v=4?s=100" width="100px;" alt="QriLa &#124; Hyeon Gu"/><br /><sub><b>QriLa &#124; Hyeon Gu</b></sub></a><br /><a href="https://github.com/sapphiredev/pieces/commits?author=qyurila" title="Code">💻</a></td>
61
- </tr>
62
- </tbody>
63
- </table>
64
-
65
- <!-- markdownlint-restore -->
66
- <!-- prettier-ignore-end -->
67
-
68
- <!-- ALL-CONTRIBUTORS-LIST:END -->
69
-
70
- This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
32
+ ## Contributors
71
33
 
34
+ Please make sure to read the [Contributing Guide][contributing] before making a pull request.
35
+
36
+ Thank you to all the people who already contributed to Sapphire!
37
+
38
+ <a href="https://github.com/sapphiredev/pieces/graphs/contributors">
39
+ <img src="https://contrib.rocks/image?repo=sapphiredev/pieces" />
40
+ </a>
41
+
42
+ [contributing]: https://github.com/sapphiredev/.github/blob/main/.github/CONTRIBUTING.md
72
43
  [sapphire framework]: https://github.com/sapphiredev/framework
73
44
  [klasa]: https://github.com/dirigeants/klasa
package/dist/index.d.ts CHANGED
@@ -36,7 +36,7 @@ interface RootData {
36
36
  type: 'ESM' | 'CommonJS';
37
37
  }
38
38
 
39
- declare type Path = string | URL;
39
+ type Path = string | URL;
40
40
 
41
41
  /**
42
42
  * The metadata class used for {@link Piece}s.
@@ -142,23 +142,23 @@ interface HydratedModuleData extends ModuleData {
142
142
  /**
143
143
  * The result from the filter.
144
144
  */
145
- declare type FilterResult = ModuleData | null;
145
+ type FilterResult = ModuleData | null;
146
146
  /**
147
147
  * Represents the return data from {@link ILoaderStrategy.preload}
148
148
  */
149
- declare type PreloadResult<T extends Piece> = Awaitable<Constructor<T> & Record<PropertyKey, unknown>>;
149
+ type PreloadResult<T extends Piece> = Awaitable<Constructor<T> & Record<PropertyKey, unknown>>;
150
150
  /**
151
151
  * Represents the return data from {@link ILoaderStrategy.preload}
152
152
  */
153
- declare type AsyncPreloadResult<T extends Piece> = Promise<Constructor<T> & Record<PropertyKey, unknown>>;
153
+ type AsyncPreloadResult<T extends Piece> = Promise<Constructor<T> & Record<PropertyKey, unknown>>;
154
154
  /**
155
155
  * Represents an entry from {@link ILoaderResult}.
156
156
  */
157
- declare type ILoaderResultEntry<T extends Piece> = Ctor<ConstructorParameters<typeof Piece>, T>;
157
+ type ILoaderResultEntry<T extends Piece> = Ctor<ConstructorParameters<typeof Piece>, T>;
158
158
  /**
159
159
  * Represents the return data from {@link ILoaderStrategy.load}.
160
160
  */
161
- declare type ILoaderResult<T extends Piece> = AsyncIterableIterator<ILoaderResultEntry<T>>;
161
+ type ILoaderResult<T extends Piece> = AsyncIterableIterator<ILoaderResultEntry<T>>;
162
162
  /**
163
163
  * An abstracted loader strategy interface.
164
164
  */
@@ -489,8 +489,8 @@ declare namespace Piece {
489
489
  type LocationJSON = PieceLocationJSON;
490
490
  }
491
491
 
492
- declare type Key = keyof StoreRegistryEntries;
493
- declare type Value = StoreRegistryEntries[Key];
492
+ type Key = keyof StoreRegistryEntries;
493
+ type Value = StoreRegistryEntries[Key];
494
494
  /**
495
495
  * A strict-typed store registry. This is available in {@link container}.
496
496
  * @since 2.1.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapphire/pieces",
3
- "version": "3.6.0",
3
+ "version": "3.6.1-next.172771e.0",
4
4
  "description": "Sapphire's piece loader.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -26,35 +26,35 @@
26
26
  "postpack": "pinst --enable"
27
27
  },
28
28
  "dependencies": {
29
- "@discordjs/collection": "^1.2.0",
29
+ "@discordjs/collection": "^1.3.0",
30
30
  "@sapphire/utilities": "^3.11.0",
31
- "tslib": "^2.4.0"
31
+ "tslib": "^2.4.1"
32
32
  },
33
33
  "devDependencies": {
34
- "@commitlint/cli": "^17.1.2",
35
- "@commitlint/config-conventional": "^17.1.0",
36
- "@favware/cliff-jumper": "^1.8.8",
37
- "@favware/npm-deprecate": "^1.0.5",
34
+ "@commitlint/cli": "^17.4.2",
35
+ "@commitlint/config-conventional": "^17.4.2",
36
+ "@favware/cliff-jumper": "^1.10.0",
37
+ "@favware/npm-deprecate": "^1.0.7",
38
38
  "@favware/rollup-type-bundler": "^2.0.0",
39
39
  "@sapphire/eslint-config": "^4.3.8",
40
40
  "@sapphire/prettier-config": "^1.4.4",
41
41
  "@sapphire/ts-config": "^3.3.4",
42
- "@types/node": "^18.11.7",
43
- "@typescript-eslint/eslint-plugin": "^5.41.0",
44
- "@typescript-eslint/parser": "^5.41.0",
42
+ "@types/node": "^18.11.18",
43
+ "@typescript-eslint/eslint-plugin": "^5.48.1",
44
+ "@typescript-eslint/parser": "^5.48.1",
45
45
  "cz-conventional-changelog": "^3.3.0",
46
- "eslint": "^8.26.0",
47
- "eslint-config-prettier": "^8.5.0",
46
+ "eslint": "^8.32.0",
47
+ "eslint-config-prettier": "^8.6.0",
48
48
  "eslint-plugin-prettier": "^4.2.1",
49
49
  "gen-esm-wrapper": "^1.1.3",
50
- "husky": "^8.0.1",
51
- "lint-staged": "^13.0.3",
50
+ "husky": "^8.0.3",
51
+ "lint-staged": "^13.1.0",
52
52
  "pinst": "^3.0.0",
53
- "prettier": "^2.7.1",
53
+ "prettier": "^2.8.3",
54
54
  "pretty-quick": "^3.1.3",
55
- "typedoc": "^0.23.19",
56
- "typedoc-json-parser": "^7.0.1",
57
- "typescript": "^4.8.4"
55
+ "typedoc": "^0.23.24",
56
+ "typedoc-json-parser": "^7.1.0",
57
+ "typescript": "^4.9.4"
58
58
  },
59
59
  "repository": {
60
60
  "type": "git",
@@ -104,5 +104,5 @@
104
104
  "minimist": "^1.2.7"
105
105
  },
106
106
  "prettier": "@sapphire/prettier-config",
107
- "packageManager": "yarn@3.2.4"
107
+ "packageManager": "yarn@3.3.1"
108
108
  }