-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* updated tsconfig Signed-off-by: Ash Entwisle <[email protected]> * removed misc deps Signed-off-by: Ash Entwisle <[email protected]> * docker tweaks Signed-off-by: Ash Entwisle <[email protected]> * updated dockerignore Signed-off-by: Ash Entwisle <[email protected]> * fixed non-root user to dockerfile Signed-off-by: Ash Entwisle <[email protected]> --------- Signed-off-by: Ash Entwisle <[email protected]>
- Loading branch information
1 parent
a9658cb
commit 6b59e3c
Showing
6 changed files
with
104 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ node_modules/ | |
docs/ | ||
.git/ | ||
.env | ||
install/ | ||
install/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
services: | ||
openbot: | ||
build: . | ||
volumes: | ||
- ./install/bot-config.toml:/app/config.toml | ||
env_file: | ||
- ./.env |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,26 @@ | ||
{ | ||
"compilerOptions": { | ||
"lib": ["ESNext"], | ||
// add Bun type definitions | ||
"types": ["bun-types"], | ||
|
||
// enable latest features | ||
"lib": ["esnext"], | ||
"module": "esnext", | ||
"target": "esnext", | ||
|
||
// if TS 5.x+ | ||
"moduleResolution": "bundler", | ||
"moduleDetection": "force", | ||
"noEmit": true, | ||
"allowImportingTsExtensions": true, | ||
"moduleDetection": "force", | ||
|
||
"jsx": "react-jsx", // support JSX | ||
"allowJs": true, // allow importing `.js` from `.ts` | ||
"esModuleInterop": true, // allow default imports for CommonJS modules | ||
|
||
// best practices | ||
"strict": true, | ||
"downlevelIteration": true, | ||
"skipLibCheck": true, | ||
"jsx": "preserve", | ||
"allowSyntheticDefaultImports": true, | ||
"forceConsistentCasingInFileNames": true, | ||
"allowJs": true, | ||
"noEmit": true, | ||
"types": [ | ||
"bun-types" // add Bun global | ||
] | ||
"skipLibCheck": true | ||
} | ||
} | ||
} |