refactor discord types into separate npm package (#3520)

Co-authored-by: V <vendicated@riseup.net>
Co-authored-by: sadan <117494111+sadan4@users.noreply.github.com>
Co-authored-by: ezzud <contact@ezzud.fr>
This commit is contained in:
V 2025-07-10 00:38:39 +02:00 committed by dorkbutt
parent 3bbf885146
commit 619b0ef858
No known key found for this signature in database
149 changed files with 1561 additions and 751 deletions

43
pnpm-lock.yaml generated
View file

@ -65,12 +65,12 @@ importers:
'@types/yazl':
specifier: ^2.4.5
version: 2.4.6
'@vencord/discord-types':
specifier: link:packages/discord-types
version: link:packages/discord-types
diff:
specifier: ^7.0.0
version: 7.0.0
discord-types:
specifier: ^1.3.26
version: 1.3.26
esbuild:
specifier: ^0.25.1
version: 0.25.1
@ -141,6 +141,18 @@ importers:
specifier: ^0.3.5
version: 0.3.5
packages/discord-types:
dependencies:
'@types/react':
specifier: ^19.0.10
version: 19.0.12
moment:
specifier: ^2.22.2
version: 2.30.1
type-fest:
specifier: ^4.41.0
version: 4.41.0
packages/vencord-types:
dependencies:
'@types/lodash':
@ -155,9 +167,6 @@ importers:
'@types/react-dom':
specifier: 18.3.1
version: 18.3.1
discord-types:
specifier: ^1.3.26
version: 1.3.26
standalone-electron-types:
specifier: ^34.2.0
version: 34.2.0
@ -522,9 +531,6 @@ packages:
peerDependencies:
'@types/react': ^19.0.0
'@types/react@17.0.2':
resolution: {integrity: sha512-Xt40xQsrkdvjn1EyWe1Bc0dJLcil/9x2vAuW7ya+PuQip4UYUaXyhzWmAbwRsdMgwOFHpfp7/FFZebDU6Y8VHA==}
'@types/react@18.3.1':
resolution: {integrity: sha512-V0kuGBX3+prX+DQ/7r2qsv1NsdfnCLnTgnRJ1pYnxykBhGMz+qj+box5lq7XsO5mtZsBqpjwwTu/7wszPfMBcw==}
@ -956,9 +962,6 @@ packages:
resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==}
engines: {node: '>=8'}
discord-types@1.3.26:
resolution: {integrity: sha512-ToG51AOCH+JTQf7b+8vuYQe5Iqwz7nZ7StpECAZ/VZcI1ZhQk13pvt9KkRTfRv1xNvwJ2qib4e3+RifQlo8VPQ==}
doctrine@2.1.0:
resolution: {integrity: sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==}
engines: {node: '>=0.10.0'}
@ -2328,6 +2331,10 @@ packages:
resolution: {integrity: sha512-2dBz5D5ycHIoliLYLi0Q2V7KRaDlH0uWIvmk7TYlAg5slqwiPv1ezJdZm1QEM0xgk29oYWMCbIG7E6gHpvChlg==}
engines: {node: '>=16'}
type-fest@4.41.0:
resolution: {integrity: sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==}
engines: {node: '>=16'}
typed-array-buffer@1.0.3:
resolution: {integrity: sha512-nAYYwfY3qnzX30IkA6AQZjVbtK6duGontcQm1WSG1MD94YLqK0515GNApXkoxKOWMusVssAHWLh9SeaoefYFGw==}
engines: {node: '>= 0.4'}
@ -2764,11 +2771,6 @@ snapshots:
dependencies:
'@types/react': 19.0.12
'@types/react@17.0.2':
dependencies:
'@types/prop-types': 15.7.14
csstype: 3.1.3
'@types/react@18.3.1':
dependencies:
'@types/prop-types': 15.7.14
@ -3255,11 +3257,6 @@ snapshots:
dependencies:
path-type: 4.0.0
discord-types@1.3.26:
dependencies:
'@types/react': 17.0.2
moment: 2.30.1
doctrine@2.1.0:
dependencies:
esutils: 2.0.3
@ -4923,6 +4920,8 @@ snapshots:
type-fest@4.38.0: {}
type-fest@4.41.0: {}
typed-array-buffer@1.0.3:
dependencies:
call-bound: 1.0.4