Skip to content

Commit

Permalink
🔧 chore(general): maintenance
Browse files Browse the repository at this point in the history
  • Loading branch information
RagnarLothbrok-Odin committed Jan 30, 2024
1 parent 384d5f0 commit 7581ba2
Show file tree
Hide file tree
Showing 4 changed files with 377 additions and 378 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Close stale issues and PRs
name: Close Stale Issues and PRs
'on':
schedule:
- cron: 0 0 * * *
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
- uses: actions/stale@v9.0.0
with:
days-before-stale: 30
days-before-close: 5
Expand Down
38 changes: 22 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,39 +1,45 @@
{
"name": "traktdiscordpresence",
"description": "Set your Discord presence according to what you are watching on Trakt.tv",
"version": "2.0.59",
"repository": "https://github.com/RagnarLothbrok-Odin/TraktDiscordPresence.git",
"author": "Ragnar Lothbrok <[email protected]>",
"description": "Set your Discord presence according to what you are watching on Trakt.tv",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
"author": "Ragnar Lothbrok <[email protected]>",
"homepage": "https://github.com/Valhalla-Development/TraktDiscordPresence#readme",
"repository": "https://github.com/RagnarLothbrok-Odin/TraktDiscordPresence.git",
"bugs": {
"url": "https://github.com/Valhalla-Development/TraktDiscordPresence/issues"
},
"type": "module",
"main": "build/index.js",
"scripts": {
"start": "tsc && node build/index.js",
"audit": "npx eslint . --format table"
"audit": "eslint . --format codeframe",
"dev": "tsc-watch --onSuccess \"node ./build/index.js\"",
"start": "tsc && node build/index.js"
},
"type": "module",
"dependencies": {
"@types/luxon": "^3.3.7",
"@types/luxon": "^3.4.2",
"@xhayper/discord-rpc": "^1.1.2",
"cli-progress": "^3.12.0",
"colors": "^1.4.0",
"enquirer": "^2.4.1",
"luxon": "^3.4.4",
"pretty-ms": "^8.0.0",
"trakt.tv": "^8.2.0",
"ts-node": "^10.9.2"
"pretty-ms": "^9.0.0",
"trakt.tv": "^8.2.0"
},
"devDependencies": {
"@types/cli-progress": "^3.11.5",
"@types/node": "^20.10.5",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"@types/node": "^20.11.10",
"@typescript-eslint/eslint-plugin": "^6.20.0",
"@typescript-eslint/parser": "^6.20.0",
"eslint": "^8.56.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-formatter-table": "^7.32.1",
"eslint-formatter-codeframe": "^7.32.1",
"eslint-plugin-import": "^2.29.1",
"tsc-watch": "^6.0.4",
"typescript": "^5.3.3"
},
"engines": {
"node": ">=18.0.0"
},
"packageManager": "[email protected]"
}
31 changes: 15 additions & 16 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
{
"compilerOptions": {
"target": "ESNext", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
"experimentalDecorators": true, /* Enable experimental support for TC39 stage 2 draft decorators. */
"module": "ESNext", /* Specify what module code is generated. */
"rootDir": "src", /* Specify the root folder within your source files. */
"moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */
"baseUrl": "./src",
"allowSyntheticDefaultImports": true, /* Specify a set of entries that re-map imports to additional lookup locations. */
"resolveJsonModule": true, /* Enable importing .json files. */
"allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */
"outDir": "./build", /* Specify an output folder for all emitted files. */
"esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
"forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
"strict": true, /* Enable all strict type-checking options. */
"skipLibCheck": true /* Skip type checking all .d.ts files. */
"target": "ESNext", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
"experimentalDecorators": true, /* Enable experimental support for TC39 stage 2 draft decorators. */
"module": "ESNext", /* Specify what module code is generated. */
"rootDir": "src", /* Specify the root folder within your source files. */
"moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */
"baseUrl": "./src", /* Base directory for resolving non-absolute module names. Relative imports will be resolved relative to this path. */
"resolveJsonModule": true, /* Enable importing .json files. */
"outDir": "./build", /* Specify an output folder for all emitted files. */
"esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
"forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
"strict": true, /* Enable all strict type-checking options. */
"skipLibCheck": true /* Skip type checking all .d.ts files. */
},
"exclude": ["build"],
}
"include": ["src/**/*.ts"],
"exclude": ["build", "node_modules", ".yarn", ".idea"],
}
Loading

0 comments on commit 7581ba2

Please sign in to comment.