Skip to content

Commit

Permalink
deps: make typescript a dev dep, bump other deps (#6)
Browse files Browse the repository at this point in the history
* deps: make typescript a dev dependency and bump it

* chore: delete package-lock.json

* chore: bump deps and remove unused express dep

* bring back express but only its types

* bump version to 2.0.2 and bump deps
  • Loading branch information
SuperchupuDev authored Feb 4, 2024
1 parent b719690 commit 7b5fc29
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 242 deletions.
229 changes: 0 additions & 229 deletions package-lock.json

This file was deleted.

11 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "topgg-autoposter",
"version": "2.0.1",
"version": "2.0.2",
"description": "Auto-Poster for Top.gg",
"main": "dist/index.js",
"scripts": {
Expand All @@ -19,16 +19,15 @@
},
"homepage": "https://github.com/jpbberry/topgg-autoposter#readme",
"devDependencies": {
"@types/express": "^4.17.13",
"@types/express": "^4.17.21",
"discord-rose": "latest",
"discord.js": "latest",
"eris": "latest",
"express": "^4.17.1"
"typescript": "^5.3.3"
},
"dependencies": {
"@jpbberry/typed-emitter": "^1.0.1",
"@top-gg/sdk": "^3.1.3",
"typescript": "^4.2.3"
"@jpbberry/typed-emitter": "^1.2.1",
"@top-gg/sdk": "^3.1.6"
},
"types": "./dist/index.d.ts"
}
4 changes: 1 addition & 3 deletions src/structs/BasePoster.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { Api } from '@top-gg/sdk'
import { Api, BotStats } from '@top-gg/sdk'
import { EventEmitter } from '@jpbberry/typed-emitter'

import { BotStats } from '@top-gg/sdk/dist/typings'

import { PosterOptions } from '../typings'

export interface BasePosterInterface {
Expand Down
2 changes: 1 addition & 1 deletion src/structs/DJSPoster.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { BasePoster, BasePosterInterface } from './BasePoster'

import { BotStats } from '@top-gg/sdk/dist/typings'
import { BotStats } from '@top-gg/sdk'

import { PosterOptions } from '../typings'

Expand Down
2 changes: 1 addition & 1 deletion src/structs/DJSSharderPoster.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { BasePoster, BasePosterInterface } from './BasePoster'

import { BotStats } from '@top-gg/sdk/dist/typings'
import { BotStats } from '@top-gg/sdk'

import { ShardingManager } from 'discord.js'

Expand Down
2 changes: 1 addition & 1 deletion src/structs/ErisPoster.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { BasePoster, BasePosterInterface } from './BasePoster'

import { BotStats } from '@top-gg/sdk/dist/typings'
import { BotStats } from '@top-gg/sdk'

import { Client } from 'eris'

Expand Down
2 changes: 1 addition & 1 deletion src/structs/RosePoster.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { BasePoster, BasePosterInterface } from './BasePoster'

import { BotStats } from '@top-gg/sdk/dist/typings'
import { BotStats } from '@top-gg/sdk'

import { Master } from 'discord-rose'

Expand Down

0 comments on commit 7b5fc29

Please sign in to comment.