bump package versions

This commit is contained in:
thororen1234 2025-12-28 20:27:59 -05:00
parent 1a507b0868
commit 27f9763493
No known key found for this signature in database
5 changed files with 19 additions and 16 deletions

View file

@ -92,7 +92,7 @@
"typescript-transform-paths": "^3.5.5",
"zip-local": "^0.3.5"
},
"packageManager": "pnpm@10.26.1",
"packageManager": "pnpm@10.26.2",
"pnpm": {
"patchedDependencies": {
"@types/less@3.0.8": "patches/@types__less@3.0.8.patch"

View file

@ -1 +1,3 @@
Hint: https://docs.discord.food is an incredible resource and allows you to copy paste complete enums and interfaces
# Contributing to @equicord/discord-types
<https://docs.discord.food> is an incredible resource and allows you to copy paste complete enums and interfaces

View file

@ -2,20 +2,20 @@
This package provides TypeScript types for the Webpack modules of Discord's web app.
While it was primarily created for Vencord, other client mods could also benefit from this, so it is published as a standalone package!
While it was primarily created for Equicord based on Vencord and its respective packages, other client mods could also benefit from this, so it is published as a standalone package!
## Installation
```bash
npm install -D @vencord/discord-types
yarn add -D @vencord/discord-types
pnpm add -D @vencord/discord-types
npm install -D @equicord/discord-types
yarn add -D @equicord/discord-types
pnpm add -D @equicord/discord-types
```
## Example Usage
```ts
import type { UserStore } from "@vencord/discord-types";
import type { UserStore } from "@equicord/discord-types";
const userStore: UserStore = findStore("UserStore"); // findStore is up to you to implement, this library only provides types and no runtime code
```
@ -23,8 +23,9 @@ const userStore: UserStore = findStore("UserStore"); // findStore is up to you t
## Enums
This library also exports some const enums that you can use from Typescript code:
```ts
import { ApplicationCommandType } from "@vencord/discord-types/enums";
import { ApplicationCommandType } from "@equicord/discord-types/enums";
console.log(ApplicationCommandType.CHAT_INPUT); // 1
```

View file

@ -1,15 +1,15 @@
{
"name": "@vencord/discord-types",
"author": "Vencord Contributors",
"name": "@equicord/discord-types",
"author": "Equicord & Vencord Contributors",
"private": false,
"description": "Typescript definitions for the webpack modules of the Discord Web app",
"version": "1.0.0",
"version": "1.0.2",
"license": "LGPL-3.0-or-later",
"types": "src/index.d.ts",
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/Vendicated/Vencord.git",
"url": "git+https://github.com/Equicord/Equicord.git",
"directory": "packages/discord-types"
},
"dependencies": {
@ -19,4 +19,4 @@
"peerDependencies": {
"@types/react": "^19.0.10"
}
}
}

View file

@ -1,7 +1,7 @@
{
"name": "@equicord/types",
"private": false,
"version": "1.13.8",
"version": "1.13.9",
"description": "",
"types": "index.d.ts",
"scripts": {
@ -9,7 +9,7 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "Vencord",
"author": "Equicord & Vencord Contributors",
"license": "GPL-3.0",
"devDependencies": {
"@types/fs-extra": "^11.0.4",
@ -29,4 +29,4 @@
"@types/react": "18.3.1",
"@types/react-dom": "18.3.1"
}
}
}