@sapphire/pieces 3.3.2-next.f9be533.0 → 3.3.3
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.
- package/CHANGELOG.md +227 -0
- package/README.md +1 -0
- package/package.json +107 -105
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
# [3.3.3](https://github.com/sapphiredev/pieces/compare/v3.3.1...v3.3.3) - (2022-05-15)
|
|
6
|
+
|
|
7
|
+
## 🏠 Refactor
|
|
8
|
+
|
|
9
|
+
- Stricter types ([f9be533](https://github.com/sapphiredev/pieces/commit/f9be53361bd6fdf7039bd605c3ebcd177d196432))
|
|
10
|
+
|
|
11
|
+
## 🐛 Bug Fixes
|
|
12
|
+
|
|
13
|
+
- **deps:** Update all non-major dependencies (#190) ([299ffa9](https://github.com/sapphiredev/pieces/commit/299ffa9dfaa2178f57d8395b900fcf380e2240ff))
|
|
14
|
+
|
|
15
|
+
## 📝 Documentation
|
|
16
|
+
|
|
17
|
+
- Add @r-priyam as a contributor ([edf13b0](https://github.com/sapphiredev/pieces/commit/edf13b0563299fc461ff2c7419ca0c7c30e5da81))
|
|
18
|
+
- Add @leonardssh as a contributor ([d6d9d00](https://github.com/sapphiredev/pieces/commit/d6d9d0016a2e2aad27595f4cc8f64eabb46c4024))
|
|
19
|
+
|
|
20
|
+
# [3.3.2](https://github.com/sapphiredev/pieces/compare/v3.3.1...v3.3.2) - (2022-05-15)
|
|
21
|
+
|
|
22
|
+
## 🏠 Refactor
|
|
23
|
+
|
|
24
|
+
- Stricter types ([f9be533](https://github.com/sapphiredev/pieces/commit/f9be53361bd6fdf7039bd605c3ebcd177d196432))
|
|
25
|
+
|
|
26
|
+
## 🐛 Bug Fixes
|
|
27
|
+
|
|
28
|
+
- **deps:** Update all non-major dependencies (#190) ([299ffa9](https://github.com/sapphiredev/pieces/commit/299ffa9dfaa2178f57d8395b900fcf380e2240ff))
|
|
29
|
+
|
|
30
|
+
## 📝 Documentation
|
|
31
|
+
|
|
32
|
+
- Add @r-priyam as a contributor ([edf13b0](https://github.com/sapphiredev/pieces/commit/edf13b0563299fc461ff2c7419ca0c7c30e5da81))
|
|
33
|
+
- Add @leonardssh as a contributor ([d6d9d00](https://github.com/sapphiredev/pieces/commit/d6d9d0016a2e2aad27595f4cc8f64eabb46c4024))
|
|
34
|
+
|
|
35
|
+
### [3.3.1](https://github.com/sapphiredev/pieces/compare/v3.3.0...v3.3.1) (2022-04-01)
|
|
36
|
+
|
|
37
|
+
### Bug Fixes
|
|
38
|
+
|
|
39
|
+
- bump sapphire utilities dependency ([a36c8c8](https://github.com/sapphiredev/pieces/commit/a36c8c8a9e1e7cb12c0fa3c7c7399233c7f91b37))
|
|
40
|
+
|
|
41
|
+
## [3.3.0](https://github.com/sapphiredev/pieces/compare/v3.2.0...v3.3.0) (2022-03-06)
|
|
42
|
+
|
|
43
|
+
### Features
|
|
44
|
+
|
|
45
|
+
- allow module: NodeNext ([#170](https://github.com/sapphiredev/pieces/issues/170)) ([9677524](https://github.com/sapphiredev/pieces/commit/9677524519ec149744dd5df7c977a82c39049067))
|
|
46
|
+
|
|
47
|
+
### Bug Fixes
|
|
48
|
+
|
|
49
|
+
- **deps:** update all non-major dependencies ([#151](https://github.com/sapphiredev/pieces/issues/151)) ([ef9c11f](https://github.com/sapphiredev/pieces/commit/ef9c11fd5ada72067ecdc7e2aa2df4a927e24d71))
|
|
50
|
+
- **deps:** update all non-major dependencies ([#161](https://github.com/sapphiredev/pieces/issues/161)) ([b69734d](https://github.com/sapphiredev/pieces/commit/b69734da03f40e4a4d59db464db945867cb0b6aa))
|
|
51
|
+
|
|
52
|
+
## [3.2.0](https://github.com/sapphiredev/pieces/compare/v3.1.1...v3.2.0) (2021-11-21)
|
|
53
|
+
|
|
54
|
+
### Features
|
|
55
|
+
|
|
56
|
+
- add Piece and Store namespaces for easier importing types ([#138](https://github.com/sapphiredev/pieces/issues/138)) ([84e2d24](https://github.com/sapphiredev/pieces/commit/84e2d243622f76251c68ac26465b5f47571a857c))
|
|
57
|
+
|
|
58
|
+
### Bug Fixes
|
|
59
|
+
|
|
60
|
+
- remove unsupported yarn flag ([#137](https://github.com/sapphiredev/pieces/issues/137)) ([b9a6d07](https://github.com/sapphiredev/pieces/commit/b9a6d079e1d2d9d2b567e3f59d7effb08fe84324))
|
|
61
|
+
|
|
62
|
+
### [3.1.1](https://github.com/sapphiredev/pieces/compare/v3.1.0...v3.1.1) (2021-11-06)
|
|
63
|
+
|
|
64
|
+
### Bug Fixes
|
|
65
|
+
|
|
66
|
+
- **deps:** update all non-major dependencies ([#132](https://github.com/sapphiredev/pieces/issues/132)) ([7b19018](https://github.com/sapphiredev/pieces/commit/7b190185b31a4d892a0e8589667733993e3b570c))
|
|
67
|
+
- **deps:** update dependency @sapphire/utilities to ^3.0.6 ([#131](https://github.com/sapphiredev/pieces/issues/131)) ([b0b1bea](https://github.com/sapphiredev/pieces/commit/b0b1bea86ac6cc2071093b82016a6e372b482e7f))
|
|
68
|
+
|
|
69
|
+
## [3.1.0](https://github.com/sapphiredev/pieces/compare/v3.0.1...v3.1.0) (2021-10-17)
|
|
70
|
+
|
|
71
|
+
### Features
|
|
72
|
+
|
|
73
|
+
- **piece:** add `options` field to read raw options ([#127](https://github.com/sapphiredev/pieces/issues/127)) ([e994d8c](https://github.com/sapphiredev/pieces/commit/e994d8cef03f1492411c82385bfe3a2f46468210))
|
|
74
|
+
|
|
75
|
+
### Bug Fixes
|
|
76
|
+
|
|
77
|
+
- allow more node & npm versions in engines field ([8ce9b52](https://github.com/sapphiredev/pieces/commit/8ce9b52f0bf739a0420e32a86a8cf249d12d6b6f))
|
|
78
|
+
- filter `.d.ts` files from default loader strategy ([#128](https://github.com/sapphiredev/pieces/issues/128)) ([0a7c4ac](https://github.com/sapphiredev/pieces/commit/0a7c4ac0d3f8bc804a50d10ea1f1bffa72c4ac48))
|
|
79
|
+
|
|
80
|
+
### [3.0.1](https://github.com/sapphiredev/pieces/compare/v3.0.0...v3.0.1) (2021-10-04)
|
|
81
|
+
|
|
82
|
+
### Bug Fixes
|
|
83
|
+
|
|
84
|
+
- change `Awaited` to `Awaitable` ([f1f9c1b](https://github.com/sapphiredev/pieces/commit/f1f9c1bbdee697eb9ee0abf8438fc011f1e218ad))
|
|
85
|
+
- resolve incorrect ESM bundle exports ([44f6b5f](https://github.com/sapphiredev/pieces/commit/44f6b5f0c51d738b11935ff8a4a1df4b361996ff))
|
|
86
|
+
- set dependencies to latest versions ([e34af9f](https://github.com/sapphiredev/pieces/commit/e34af9f5ecebe8b773808a233c1263809447a7c8))
|
|
87
|
+
|
|
88
|
+
## [3.0.0](https://github.com/sapphiredev/pieces/compare/v2.2.0...v3.0.0) (2021-09-09)
|
|
89
|
+
|
|
90
|
+
### ⚠ BREAKING CHANGES
|
|
91
|
+
|
|
92
|
+
- Changed `Store#load` to take `root` and `path`
|
|
93
|
+
- Make `ILoaderStrategy#load` take `HydratedModuleData`
|
|
94
|
+
- Remove `Piece#path`, use `#location` instead
|
|
95
|
+
|
|
96
|
+
### Features
|
|
97
|
+
|
|
98
|
+
- **AliasPiece:** strict type `toJSON()` ([4aead0d](https://github.com/sapphiredev/pieces/commit/4aead0d309497e14b30b58ba064572ea21d0171e))
|
|
99
|
+
- **ILoaderStrategy:** Added `HydratedModuleData` type ([8ea5303](https://github.com/sapphiredev/pieces/commit/8ea5303381483a9e4969bbe6f554428621c4470f))
|
|
100
|
+
- **Piece:** added `location` property, containing the file's metadata ([27a5488](https://github.com/sapphiredev/pieces/commit/27a5488abf3983b992806bed346328df2d38713c))
|
|
101
|
+
- **Piece:** strict type `toJSON()` ([6f9f0a6](https://github.com/sapphiredev/pieces/commit/6f9f0a610c9e9f0b0395b582703f31c77c165b1b))
|
|
102
|
+
- added `PieceLocation` ([e1c1ff9](https://github.com/sapphiredev/pieces/commit/e1c1ff95a61bfab8e467f5fd1dbda3f40fefa173))
|
|
103
|
+
- update to V3 ([7dc4b70](https://github.com/sapphiredev/pieces/commit/7dc4b704962da0504e4126c1c8e415677cd84f4c))
|
|
104
|
+
- **ts-node-dev-support:** check if env variable is set ([#102](https://github.com/sapphiredev/pieces/issues/102)) ([4d8bbc8](https://github.com/sapphiredev/pieces/commit/4d8bbc8022e492714b8c8fc1ee98432777cae525))
|
|
105
|
+
|
|
106
|
+
## [2.2.0](https://github.com/sapphiredev/pieces/compare/v2.1.0...v2.2.0) (2021-08-26)
|
|
107
|
+
|
|
108
|
+
### Features
|
|
109
|
+
|
|
110
|
+
- **store:** add `unloadAll` ([#91](https://github.com/sapphiredev/pieces/issues/91)) ([3909c51](https://github.com/sapphiredev/pieces/commit/3909c51734852b60f7161e931db56b94e41a4099))
|
|
111
|
+
|
|
112
|
+
### Bug Fixes
|
|
113
|
+
|
|
114
|
+
- **LoaderStrategy:** add `.ts` to allow for ts-node usage ([#87](https://github.com/sapphiredev/pieces/issues/87)) ([193abcd](https://github.com/sapphiredev/pieces/commit/193abcda91f8efa4474db120de634e0a0a8224cf)), closes [#86](https://github.com/sapphiredev/pieces/issues/86)
|
|
115
|
+
|
|
116
|
+
## [2.1.0](https://github.com/sapphiredev/pieces/compare/v2.0.0...v2.1.0) (2021-06-19)
|
|
117
|
+
|
|
118
|
+
### Features
|
|
119
|
+
|
|
120
|
+
- **types:** remove Constructor, Awaited, Ctor and Arr types - use @sapphire/utilities instead ([#84](https://github.com/sapphiredev/pieces/issues/84)) ([538dbb5](https://github.com/sapphiredev/pieces/commit/538dbb5c69a05fbb5fdeb2c07bf08d9f7a9445ac))
|
|
121
|
+
- added StoreRegistry ([#76](https://github.com/sapphiredev/pieces/issues/76)) ([b9f7198](https://github.com/sapphiredev/pieces/commit/b9f71987711f0336c231774f9ea9d95827fa4dfb))
|
|
122
|
+
|
|
123
|
+
### Bug Fixes
|
|
124
|
+
|
|
125
|
+
- **docs:** update-tsdoc-for-vscode-may-2021 ([#83](https://github.com/sapphiredev/pieces/issues/83)) ([74aae8f](https://github.com/sapphiredev/pieces/commit/74aae8fa43923345cfd4d878a3f5fc65cb3a7bb2))
|
|
126
|
+
- these files are EXECUTABLE MOM ([97a7cb7](https://github.com/sapphiredev/pieces/commit/97a7cb7c06fa63fa6c5d42572dbde36a596bc63f))
|
|
127
|
+
|
|
128
|
+
## [2.0.0](https://github.com/sapphiredev/pieces/compare/v1.2.5...v2.0.0) (2021-05-08)
|
|
129
|
+
|
|
130
|
+
### ⚠ BREAKING CHANGES
|
|
131
|
+
|
|
132
|
+
- Renamed `PieceContextExtras` to `Container`, usage and augmentation is the same.
|
|
133
|
+
- Removed `Store.injectedContext`, use globally exported `container`
|
|
134
|
+
variable instead.
|
|
135
|
+
- Renamed `Store#context` to `Store#container`.
|
|
136
|
+
- Renamed `Piece#context` to `Piece#container`.
|
|
137
|
+
|
|
138
|
+
- minor naming changes for consistency with ecosystem ([40f85d6](https://github.com/sapphiredev/pieces/commit/40f85d635fc482d747f461c88380c7a3783a2c1b))
|
|
139
|
+
|
|
140
|
+
### [1.2.5](https://github.com/sapphiredev/pieces/compare/v1.2.4...v1.2.5) (2021-05-02)
|
|
141
|
+
|
|
142
|
+
### Bug Fixes
|
|
143
|
+
|
|
144
|
+
- drop the `www.` from the SapphireJS URL ([e87e50e](https://github.com/sapphiredev/pieces/commit/e87e50ef5caf7b2b0490a6a429de13364747070d))
|
|
145
|
+
- update all the SapphireJS URLs from `.com` to `.dev` ([0a9c1b3](https://github.com/sapphiredev/pieces/commit/0a9c1b384e5c78bb50e85d8c7cf2c9f7b80aa727))
|
|
146
|
+
|
|
147
|
+
### [1.2.4](https://github.com/sapphiredev/pieces/compare/v1.2.3...v1.2.4) (2021-04-21)
|
|
148
|
+
|
|
149
|
+
### Bug Fixes
|
|
150
|
+
|
|
151
|
+
- change all Sapphire URLs from "project"->"community" & use our domain where applicable 👨🌾🚜 ([#69](https://github.com/sapphiredev/issues/69)) ([fc55625](https://github.com/sapphi/sapphiredev/fc55625fa83ade76193d3e990f97bfedecbcb526))
|
|
152
|
+
|
|
153
|
+
### [1.2.3](https://github.com/sapphiredev/compare/v1.2.2...v1.2.3) (2021-03-16)
|
|
154
|
+
|
|
155
|
+
### Bug Fixes
|
|
156
|
+
|
|
157
|
+
- add tslib as dependency ([a7d9695](https://github.com/sapphiredev/commit/a7d969542895de4fb876475cb35acc8d2851d9ff))
|
|
158
|
+
- update packages, ship with tslib ([f7b76c2](https://github.com/sapphiredev/commit/f7b76c266c355268260f689f1343ac0e48b3d6ea))
|
|
159
|
+
|
|
160
|
+
### [1.2.2](https://github.com/sapphiredev/compare/v1.2.1...v1.2.2) (2021-02-12)
|
|
161
|
+
|
|
162
|
+
### Bug Fixes
|
|
163
|
+
|
|
164
|
+
- **docs:** tsdoc has been improved ([c9ee146](https://github.com/sapphiredev/commit/c9ee14633ed56f32343c08802d6c31116b451789))
|
|
165
|
+
|
|
166
|
+
### [1.2.1](https://github.com/sapphiredev/compare/v1.2.0...v1.2.1) (2021-01-30)
|
|
167
|
+
|
|
168
|
+
### Bug Fixes
|
|
169
|
+
|
|
170
|
+
- update discord redirect URL ([f1dbdee](https://github.com/sapphiredev/commit/f1dbdee9f14e00eb800bee3a2d3d7ff46d4c6036))
|
|
171
|
+
- **aliaspiece:** make aliases writable ([#51](https://github.com/sapphiredev/issues/51)) ([7ed3da6](https://github.com/sapphi/sapphiredev/7ed3da6ca22d59dd25c0691e11032e6e54e7d96d))
|
|
172
|
+
|
|
173
|
+
## [1.2.0](https://github.com/sapphiredev/compare/v1.1.0...v1.2.0) (2021-01-21)
|
|
174
|
+
|
|
175
|
+
### Features
|
|
176
|
+
|
|
177
|
+
- Expose Store.construct & Store.insert ([#47](https://github.com/sapphiredev/issues/47)) ([797ddac](https://github.com/sapphi/sapphiredev/797ddac348aff134c1af1d308357ba00d0edd6b3))
|
|
178
|
+
|
|
179
|
+
## [1.1.0](https://github.com/sapphiredev/compare/v1.0.1...v1.1.0) (2021-01-08)
|
|
180
|
+
|
|
181
|
+
### Features
|
|
182
|
+
|
|
183
|
+
- **store:** add trace logging ([#45](https://github.com/sapphiredev/issues/45)) ([79a4f9e](https://github.com/sapphi/sapphiredev/79a4f9e66c610522931e66655f60e6bff7739e6a))
|
|
184
|
+
- add AliasStore#has ([#43](https://github.com/sapphiredev/issues/43)) ([87a6213](https://github.com/sapphi/sapphiredev/87a6213f2bdea8226904534ee8d11479eafe8c94))
|
|
185
|
+
|
|
186
|
+
### [1.0.1](https://github.com/sapphiredev/compare/v1.0.0...v1.0.1) (2020-12-28)
|
|
187
|
+
|
|
188
|
+
### Bug Fixes
|
|
189
|
+
|
|
190
|
+
- **loader:** compare constructors instead of prototypes ([#40](https://github.com/sapphiredev/issues/40)) ([807cf6a](https://github.com/sapphi/sapphiredev/807cf6aded9c089fcc15c5d8fa2206bdd68e91c2))
|
|
191
|
+
- **store:** call unload when onLoad disables the piece ([#39](https://github.com/sapphiredev/issues/39)) ([4bb9be0](https://github.com/sapphi/sapphiredev/4bb9be0d45caf8604545a5d55eb80b5805972cc5))
|
|
192
|
+
|
|
193
|
+
## 1.0.0 (2020-12-22)
|
|
194
|
+
|
|
195
|
+
### Features
|
|
196
|
+
|
|
197
|
+
- added ILoaderStrategy#onLoadAll, renamed onPostLoad to onLoad ([#37](https://github.com/sapphiredev/issues/37)) ([8c725d8](https://github.com/sapphi/sapphiredev/8c725d84f2592f27ff6da86d29e603128d5a1691))
|
|
198
|
+
- added smarter root and type detection ([#38](https://github.com/sapphiredev/issues/38)) ([3492c60](https://github.com/sapphi/sapphiredev/3492c601f6e301cd175966a5769b3e68f8276847))
|
|
199
|
+
- export RootScan ([c4e909b](https://github.com/sapphiredev/commit/c4e909b5955e828e3d721bc4cafb89ab16dbeb83))
|
|
200
|
+
- output type declerations to a single .d.ts file ([#30](https://github.com/sapphiredev/issues/30)) ([f76f0b5](https://github.com/sapphi/sapphiredev/f76f0b5ca4e3e1d3480a8383e13c7ee52a6869e4))
|
|
201
|
+
- **piece:** rename disable to unload, add reload ([#36](https://github.com/sapphiredev/issues/36)) ([f0eec9c](https://github.com/sapphi/sapphiredev/f0eec9c0878d4f4c91b85a69f926b975bc2df96e))
|
|
202
|
+
- add Piece#{onLoad,onUnload} ([f0627cc](https://github.com/sapphiredev/commit/f0627ccae333e7f59b9849a72d776025764aec80))
|
|
203
|
+
- add Piece#disable ([bc8aa03](https://github.com/sapphiredev/commit/bc8aa031c2537af945e3b682a01444cdfe36c6f3))
|
|
204
|
+
- export AliasPiece and AliasStore in index ([4522412](https://github.com/sapphiredev/commit/4522412f9081c837c5f0547ad3e0782cb6ea39e6))
|
|
205
|
+
- first version of the loader ([9f27f77](https://github.com/sapphiredev/commit/9f27f77a430e58a1f210a6aa7a30a69070ff0cc7))
|
|
206
|
+
- more descriptive error message ([#14](https://github.com/sapphiredev/issues/14)) ([51d1b52](https://github.com/sapphi/sapphiredev/51d1b5248dab37c3f10b0df3fd71074df800841e))
|
|
207
|
+
- pieces v2! ([#29](https://github.com/sapphiredev/issues/29)) ([792d68a](https://github.com/sapphi/sapphiredev/792d68a0898206c66b1b0796e9c5f484ee0730b0))
|
|
208
|
+
- **piece:** add disable() method ([ca0ef2e](https://github.com/sapphiredev/commit/ca0ef2e4cd7cc77406a692c5f99a5ee8f3d72446))
|
|
209
|
+
- **store:** add Store#name ([13f2eee](https://github.com/sapphiredev/commit/13f2eee159b95b4fe15656a7a0f144d94b4203fc))
|
|
210
|
+
- **store:** make walk not error no ENOENT ([ef7ced5](https://github.com/sapphiredev/commit/ef7ced53855701c043718d861f0071045b56e5a7))
|
|
211
|
+
- add Piece#toJSON ([e902a04](https://github.com/sapphiredev/commit/e902a04bc77f96c2bfa3004da243c82b60b2ee4c))
|
|
212
|
+
- added MissingExportsError ([7234df4](https://github.com/sapphiredev/commit/7234df49844f1c28edadb04ac5f45a29cb1fb3b1))
|
|
213
|
+
- more types, more docs, better API ([51033e0](https://github.com/sapphiredev/commit/51033e02a51dbf0e8ca8f2df0e07312f320837b0))
|
|
214
|
+
|
|
215
|
+
### Bug Fixes
|
|
216
|
+
|
|
217
|
+
- make Store#{load,insert} atomic ([9700c4e](https://github.com/sapphiredev/commit/9700c4edb6b862533388f1b2f17e2ff96f81e024))
|
|
218
|
+
- make Store#load easier to use ([69d52c5](https://github.com/sapphiredev/commit/69d52c59efdd3a4f2172b5b385b31c4e017df700))
|
|
219
|
+
- removed testing and coverage ([4cba117](https://github.com/sapphiredev/commit/4cba11777b992c7c63eaa39fc6278cf97104b9d9))
|
|
220
|
+
- specify return type for Piece#toJSON ([4fe4892](https://github.com/sapphiredev/commit/4fe4892603a57ca5ee78a7c1be650d19ff4be7e5))
|
|
221
|
+
- sub directory loading ([#1](https://github.com/sapphiredev/issues/1)) ([b0b227c](https://github.com/sapphi/sapphiredev/b0b227c76220d39b6aa1110244d83889fdafb961))
|
|
222
|
+
- use name instead of path in Store#construct ([c2dd9ce](https://github.com/sapphiredev/commit/c2dd9cede1afbfb57fdb59c0ad2b88433ec7e92e))
|
|
223
|
+
- use pathToFileURL instead of new URL ([96c3e9c](https://github.com/sapphiredev/commit/96c3e9c57717c93edd9376e63e89ae222e65ff2a))
|
|
224
|
+
- use the actual path ([94e0844](https://github.com/sapphiredev/commit/94e084475dcbcb6c9e57623b2756fdbdb42abe66))
|
|
225
|
+
- **alias-store:** resolved build error ([e121f3b](https://github.com/sapphiredev/commit/e121f3bbcc7f76ac7bbc9db8522670042a6307fe))
|
|
226
|
+
- **piece:** receive name via PieceContext for better defaults ([b062c58](https://github.com/sapphiredev/commit/b062c589f417142e325e39c7174d7d30bec70afd))
|
|
227
|
+
- **store:** resolved build error for node.js 12 ([849a184](https://github.com/sapphiredev/commit/849a184e53abe44a227589f6b290e429caaec277))
|
package/README.md
CHANGED
|
@@ -52,6 +52,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
|
|
|
52
52
|
<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=""/><br /><sub><b>allcontributors[bot]</b></sub></a><br /><a href="https://github.com/sapphiredev/pieces/commits?author=allcontributors[bot]" title="Documentation">📖</a></td>
|
|
53
53
|
<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=""/><br /><sub><b>dependabot[bot]</b></sub></a><br /><a href="#maintenance-dependabot[bot]" title="Maintenance">🚧</a></td>
|
|
54
54
|
<td align="center"><a href="https://github.com/Lioness100"><img src="https://avatars.githubusercontent.com/u/65814829?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Lioness100</b></sub></a><br /><a href="https://github.com/sapphiredev/pieces/commits?author=Lioness100" title="Code">💻</a></td>
|
|
55
|
+
<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=""/><br /><sub><b>Priyam</b></sub></a><br /><a href="https://github.com/sapphiredev/pieces/commits?author=r-priyam" title="Documentation">📖</a></td>
|
|
55
56
|
</tr>
|
|
56
57
|
</table>
|
|
57
58
|
|
package/package.json
CHANGED
|
@@ -1,106 +1,108 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
2
|
+
"name": "@sapphire/pieces",
|
|
3
|
+
"version": "3.3.3",
|
|
4
|
+
"description": "Sapphire's piece loader.",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
"import": "./dist/index.mjs",
|
|
9
|
+
"require": "./dist/index.js",
|
|
10
|
+
"types": "./dist/index.d.ts"
|
|
11
|
+
},
|
|
12
|
+
"author": "@sapphire",
|
|
13
|
+
"license": "MIT",
|
|
14
|
+
"scripts": {
|
|
15
|
+
"lint": "eslint src scripts --ext mjs,ts --fix",
|
|
16
|
+
"format": "prettier --write {src,scripts}/**/*.ts",
|
|
17
|
+
"docs": "typedoc",
|
|
18
|
+
"update": "yarn upgrade-interactive",
|
|
19
|
+
"clean": "node scripts/clean-dist.mjs",
|
|
20
|
+
"build": "tsc -b src && node scripts/make-import.mjs && gen-esm-wrapper dist/index.js dist/index.mjs",
|
|
21
|
+
"watch": "tsc -b src -w",
|
|
22
|
+
"bump": "cliff-jumper",
|
|
23
|
+
"check-update": "cliff-jumper --dry-run",
|
|
24
|
+
"_postinstall": "husky install .github/husky",
|
|
25
|
+
"prepack": "rollup-type-bundler && pinst --disable",
|
|
26
|
+
"postpack": "pinst --enable"
|
|
27
|
+
},
|
|
28
|
+
"dependencies": {
|
|
29
|
+
"@discordjs/collection": "^0.6.0",
|
|
30
|
+
"@sapphire/utilities": "^3.6.2",
|
|
31
|
+
"tslib": "^2.4.0"
|
|
32
|
+
},
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"@commitlint/cli": "^16.3.0",
|
|
35
|
+
"@commitlint/config-conventional": "^16.2.4",
|
|
36
|
+
"@favware/cliff-jumper": "^1.8.0",
|
|
37
|
+
"@favware/npm-deprecate": "^1.0.4",
|
|
38
|
+
"@favware/rollup-type-bundler": "^1.0.7",
|
|
39
|
+
"@sapphire/eslint-config": "^4.3.4",
|
|
40
|
+
"@sapphire/prettier-config": "^1.4.3",
|
|
41
|
+
"@sapphire/ts-config": "^3.3.4",
|
|
42
|
+
"@types/node": "^17.0.33",
|
|
43
|
+
"@typescript-eslint/eslint-plugin": "^5.23.0",
|
|
44
|
+
"@typescript-eslint/parser": "^5.23.0",
|
|
45
|
+
"cz-conventional-changelog": "^3.3.0",
|
|
46
|
+
"eslint": "^8.15.0",
|
|
47
|
+
"eslint-config-prettier": "^8.5.0",
|
|
48
|
+
"eslint-plugin-prettier": "^4.0.0",
|
|
49
|
+
"gen-esm-wrapper": "^1.1.3",
|
|
50
|
+
"husky": "^8.0.1",
|
|
51
|
+
"lint-staged": "^12.4.1",
|
|
52
|
+
"pinst": "^3.0.0",
|
|
53
|
+
"prettier": "^2.6.2",
|
|
54
|
+
"pretty-quick": "^3.1.3",
|
|
55
|
+
"typedoc": "^0.22.15",
|
|
56
|
+
"typedoc-plugin-mdn-links": "^1.0.6",
|
|
57
|
+
"typescript": "^4.6.4"
|
|
58
|
+
},
|
|
59
|
+
"repository": {
|
|
60
|
+
"type": "git",
|
|
61
|
+
"url": "git+https://github.com/sapphiredev/pieces.git"
|
|
62
|
+
},
|
|
63
|
+
"files": [
|
|
64
|
+
"dist/**/*.js*",
|
|
65
|
+
"dist/**/*.mjs*",
|
|
66
|
+
"dist/**/*.d*"
|
|
67
|
+
],
|
|
68
|
+
"engines": {
|
|
69
|
+
"node": ">=v14.0.0",
|
|
70
|
+
"npm": ">=7.0.0"
|
|
71
|
+
},
|
|
72
|
+
"keywords": [
|
|
73
|
+
"discordjs",
|
|
74
|
+
"bot",
|
|
75
|
+
"typescript",
|
|
76
|
+
"ts",
|
|
77
|
+
"yarn",
|
|
78
|
+
"discord",
|
|
79
|
+
"sapphire"
|
|
80
|
+
],
|
|
81
|
+
"bugs": {
|
|
82
|
+
"url": "https://github.com/sapphiredev/pieces/issues"
|
|
83
|
+
},
|
|
84
|
+
"homepage": "https://www.sapphirejs.dev",
|
|
85
|
+
"commitlint": {
|
|
86
|
+
"extends": [
|
|
87
|
+
"@commitlint/config-conventional"
|
|
88
|
+
]
|
|
89
|
+
},
|
|
90
|
+
"lint-staged": {
|
|
91
|
+
"*.{mjs,js,ts}": "eslint --fix --ext mjs,js,ts"
|
|
92
|
+
},
|
|
93
|
+
"config": {
|
|
94
|
+
"commitizen": {
|
|
95
|
+
"path": "./node_modules/cz-conventional-changelog"
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"publishConfig": {
|
|
99
|
+
"access": "public"
|
|
100
|
+
},
|
|
101
|
+
"resolutions": {
|
|
102
|
+
"acorn": "^8.7.1",
|
|
103
|
+
"ansi-regex": "^5.0.1",
|
|
104
|
+
"minimist": "^1.2.6"
|
|
105
|
+
},
|
|
106
|
+
"prettier": "@sapphire/prettier-config",
|
|
107
|
+
"packageManager": "yarn@3.2.1"
|
|
108
|
+
}
|