Skip to content

Commit

Permalink
Pack .js & .d.ts files instead of .ts files
Browse files Browse the repository at this point in the history
- emit declarations (.d.ts files) on build

- Bump version of discordeno & save it exacly

- Bump version of typescript and mark it as devDependencies
  • Loading branch information
Fleny113 committed May 2, 2024
1 parent 6c6db85 commit f9c71d5
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 47 deletions.
1 change: 0 additions & 1 deletion .npmignore

This file was deleted.

82 changes: 42 additions & 40 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 10 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,31 @@
"version": "2.0.2",
"description": "A simple, easy-to-use, highly customizable cache proxy for discordeno which supports in-memory and outside memory caching with custom properties you wish to cache.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"prepare": "tsc",
"preinstall": "tsc",
"tsc": "tsc --noEmit --watch",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/AwesomeStickz/dd-cache-proxy.git"
},
"keywords": [],
"keywords": [ ],
"author": "",
"license": "ISC",
"files": [
"dist",
"package.json"
],
"bugs": {
"url": "https://github.com/AwesomeStickz/dd-cache-proxy/issues"
},
"homepage": "https://github.com/AwesomeStickz/dd-cache-proxy#readme",
"dependencies": {
"@discordeno/bot": "^19.0.0-next.730ad9a",
"typescript": "^4.8.4"
"@discordeno/bot": "19.0.0-next.687c29d"
},
"devDependencies": {
"typescript": "^5.4.5"
}
}
5 changes: 3 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
"compilerOptions": {
"target": "ES2020",
"module": "ESNext",
"lib": ["ES2020", "DOM"],
"lib": [ "ES2020", "DOM" ],
"allowJs": true,
"outDir": "./dist",
"declaration": true,
"importHelpers": true,

"strict": true,
Expand All @@ -28,4 +29,4 @@
"forceConsistentCasingInFileNames": true,
"useUnknownInCatchVariables": false
}
}
}

0 comments on commit f9c71d5

Please sign in to comment.