forked from NEAR-DevHub/neardevhub-bos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
initial typescript support (NEAR-DevHub#468)
* initial typescript support (need to adjust github action) * fix: replace strings before bos-loader is called * remove dist * refac Tag to transpile to MainComponent * change transpiledPathPrefix to build/src * rename BaseProps to DevHubBaseProps * transpile to build/src * change REPL_DEVHUB_CONTRACT replacement back to devgovgigs.near * wip: move replacements to js script and out of dev.sh (mac only) and out of github action * lint * refac: remove include from history * refac: remove INCLUDE: and add autocomplete module * remove: unused legacy include.js * fix: deploy bos components from ./build working directory * feat: add watchman to build files on change * remove node package fb-watchman * fix: pipeline test issue caused by watchman * fix: move to watchman nodejs client * fix: instead of MainC.. use funcName after transpile * remove old comments * remove unused SIGNER_ID * added default account_id * fix: removed cause generated neardevhub-widgets * fix: buggy behaviour * change CONTRIBUTING.md * changed: use watcher instead of fb-watchman * remove fb-watch commands * added options to watch * blocked, running npm run watch from dev.sh rebuilds too often * feat: trap bos-loader and run watch parallel * update: contribution.md on the dev process * remove watchmanconfig * Update CONTRIBUTING.md zsh -> sh * update import statement * edit the CONTRIBUTING deploy preview steps * fmt
- Loading branch information
1 parent
6f15f11
commit b631e94
Showing
20 changed files
with
511 additions
and
5,415 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
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
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,21 @@ | ||
declare interface BosContext { | ||
accountId?: string; | ||
networkId: NetworkId; | ||
props: object; | ||
} | ||
|
||
declare const Widget: (params: { | ||
src: string; | ||
props: object; | ||
}) => React.ReactNode; | ||
|
||
declare interface DevHubBaseProps { | ||
page: any; | ||
} | ||
|
||
declare var styled = { | ||
div, | ||
a, | ||
ul, | ||
span, | ||
}; |
Oops, something went wrong.