-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
246f5b0
commit df2b45a
Showing
17 changed files
with
4,826 additions
and
82 deletions.
There are no files selected for viewing
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
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ | |
"ts", | ||
"types", | ||
"scripts", | ||
"!scripts/terra", | ||
"gulpfile.js", | ||
"CHANGELOG.md", | ||
"!**/__tests__" | ||
|
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,10 @@ | ||
.terra | ||
node_modules | ||
|
||
# Yarn | ||
.yarn/* | ||
!.yarn/patches | ||
!.yarn/plugins | ||
!.yarn/releases | ||
!.yarn/sdks | ||
!.yarn/versions |
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 @@ | ||
v18 |
Large diffs are not rendered by default.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
nodeLinker: node-modules | ||
|
||
yarnPath: .yarn/releases/yarn-4.0.1.cjs |
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,26 @@ | ||
parsers: | ||
- name: LegacyCXXParser | ||
package: '@agoraio-extensions/terra-legacy-cxx-parser' | ||
args: | ||
includeHeaderDirs: | ||
- '@agoraio-extensions/terra_shared_configs:headers/rtc_4.2.6/include' | ||
parseFiles: | ||
include: | ||
- '@agoraio-extensions/terra_shared_configs:headers/rtc_4.2.6/include/*.h' | ||
exclude: | ||
- '@agoraio-extensions/terra_shared_configs:headers/rtc_4.2.6/include/AgoraRefPtr.h' | ||
- '@agoraio-extensions/terra_shared_configs:headers/rtc_4.2.6/include/time_utils.h' | ||
- '@agoraio-extensions/terra_shared_configs:headers/rtc_4.2.6/include/AgoraOptional.h' | ||
- '@agoraio-extensions/terra_shared_configs:headers/rtc_4.2.6/include/AgoraRefPtr.h' | ||
- '@agoraio-extensions/terra_shared_configs:headers/rtc_4.2.6/include/IAgoraH265Transcoder.h' | ||
- '@agoraio-extensions/terra_shared_configs:headers/rtc_4.2.6/include/IAgoraMediaComponentFactory.h' | ||
- '@agoraio-extensions/terra_shared_configs:headers/rtc_4.2.6/include/IAgoraParameter.h' | ||
customHeaders: | ||
- '@agoraio-extensions/terra_shared_configs:headers/rtc_4.2.6/custom_headers/*.h' | ||
language: ts | ||
definesMacros: | ||
- __ELECTRON__ | ||
legacyRenders: | ||
- TsInterfaceRender | ||
- TsImplRender | ||
|
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 @@ | ||
renderers: | ||
- name: IrisDocRenderer | ||
package: '@agoraio-extensions/terra_shared_configs' | ||
args: | ||
language: ts | ||
fmtConfig: fmt_ts.yaml | ||
exportFilePath: ../../ts/AgoraSdk.ts | ||
templateUrl: https://github.com/AgoraIO/agora_doc_source/releases/download/master-build/electron_ng_json_template_en.json |
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,16 @@ | ||
#!/usr/bin/env bash | ||
set -e | ||
set -x | ||
|
||
MY_PATH=$(realpath $(dirname "$0")) | ||
PROJECT_ROOT=$(realpath ${MY_PATH}/../..) | ||
|
||
npm exec terra -- run \ | ||
--config ${PROJECT_ROOT}/scripts/terra/code_config.yaml \ | ||
--output-dir=${PROJECT_ROOT}/ts/Private | ||
|
||
cd ${PROJECT_ROOT} | ||
|
||
npm run build:ts-interface | ||
|
||
npm run lint -- --fix |
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,14 @@ | ||
#!/usr/bin/env bash | ||
set -e | ||
set -x | ||
|
||
MY_PATH=$(realpath $(dirname "$0")) | ||
PROJECT_ROOT=$(realpath ${MY_PATH}/../..) | ||
|
||
npm exec terra -- run \ | ||
--config ${PROJECT_ROOT}/scripts/terra/comment_config.yaml \ | ||
--output-dir=${PROJECT_ROOT}/ts/Private | ||
|
||
cd ${PROJECT_ROOT} | ||
|
||
npm run lint -- --fix |
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,23 @@ | ||
{ | ||
"name": "terra", | ||
"version": "1.0.0", | ||
"description": "", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"author": "", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@types/node": "^20.6.0" | ||
}, | ||
"dependencies": { | ||
"@agoraio-extensions/terra": "[email protected]:AgoraIO-Extensions/terra.git#commit=5dd8149d5ab9f3b472b7715916b6217f9745f066&workspace=terra", | ||
"@agoraio-extensions/terra-core": "[email protected]:AgoraIO-Extensions/terra.git#commit=5dd8149d5ab9f3b472b7715916b6217f9745f066&workspace=terra-core", | ||
"@agoraio-extensions/terra-legacy-cxx-parser": "[email protected]:AgoraIO-Extensions/terra-legacy-cxx-parser.git#commit=5455afd2c5e29013d9a3cb8d06150c162450a5ed", | ||
"@agoraio-extensions/terra_shared_configs": "[email protected]:AgoraIO-Extensions/terra_shared_configs.git#commit=ea5b0574dace3a434ad87dbeac2d43a5b62ef636", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^5.1.6" | ||
}, | ||
"packageManager": "[email protected]" | ||
} |
Oops, something went wrong.