Skip to content

Commit

Permalink
Jim/75250/bot skeleton ts config fix (#6363)
Browse files Browse the repository at this point in the history
* refactor: update bot-skeleton-ts-config

* fix: fix bot-skeleton module not found in bot-web-ui

Co-authored-by: Carol Sachdeva <58209918+carol-binary@users.noreply.github.com>
  • Loading branch information
jim-deriv and carolsachdeva committed Sep 27, 2022
1 parent 67682c4 commit 7ff41b7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
3 changes: 0 additions & 3 deletions packages/bot-skeleton/globals.d.ts

This file was deleted.

2 changes: 1 addition & 1 deletion packages/bot-skeleton/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@deriv/bot-skeleton",
"version": "1.0.0",
"description": "Visual automation for Deriv.com",
"main": "src/app.js",
"main": "src/app.ts",
"private": true,
"scripts": {
"start": "npm run test && npm run serve",
Expand Down
File renamed without changes.
8 changes: 5 additions & 3 deletions packages/bot-skeleton/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "./dist",
"rootDir": "./src",
"baseUrl": "./"
"baseUrl": "./",
"paths": {
"@deriv/*": ["../*/src"]
}
},
"include": ["./src/**/*.ts", "./src/**/*.tsx", "globals.d.ts"] // *** The files TypeScript should type check ***
"include": ["src"]
}

1 comment on commit 7ff41b7

@vercel
Copy link

@vercel vercel bot commented on 7ff41b7 Sep 27, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

deriv-app – ./

deriv-app.vercel.app
binary.sx
deriv-app.binary.sx
deriv-app-git-master.binary.sx

Please sign in to comment.