agora-appbuilder-core 4.0.0-spl.25 → 4.0.0-spl.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/template/Gulpfile.js +6 -0
- package/template/src/assets/__generated__/CreateChannel.graphql.ts +0 -0
- package/template/src/assets/__generated__/JoinChannel.graphql.ts +0 -0
- package/template/src/assets/__generated__/logoutSession.graphql.ts +0 -0
- package/template/src/assets/__generated__/mutePSTN.graphql.ts +0 -0
- package/template/src/assets/__generated__/setNormal.graphql.ts +0 -0
- package/template/src/assets/__generated__/setPresenter.graphql.ts +0 -0
- package/template/src/assets/__generated__/share.graphql.ts +0 -0
- package/template/src/assets/__generated__/startRecordingSession.graphql.ts +0 -0
- package/template/src/assets/__generated__/stopRecordingSession.graphql.ts +0 -0
package/package.json
CHANGED
package/template/Gulpfile.js
CHANGED
|
@@ -48,6 +48,8 @@ const TS_DEFS_BUILD_PATH =
|
|
|
48
48
|
: process.env.TARGET === 'android'
|
|
49
49
|
? path.join(__dirname, '../Builds/ts-defs/android')
|
|
50
50
|
: path.join(__dirname, '../Builds/ts-defs/.electron');
|
|
51
|
+
const GraphqlFolderName = '__generated__';
|
|
52
|
+
const GraphqlFolderPath = `./src/assets/${GraphqlFolderName}`;
|
|
51
53
|
|
|
52
54
|
const debugFlag = process.argv.indexOf('--debug') !== -1;
|
|
53
55
|
|
|
@@ -189,6 +191,9 @@ declare module 'customization' {
|
|
|
189
191
|
generateNpmPackage: (cb) => {
|
|
190
192
|
runCli(`cd ${BUILD_PATH} && npm pack`, cb);
|
|
191
193
|
},
|
|
194
|
+
copyGqlFiles: (cb) => {
|
|
195
|
+
runCli(`cp -r ${GraphqlFolderPath} ${BUILD_PATH}`, cb);
|
|
196
|
+
},
|
|
192
197
|
};
|
|
193
198
|
|
|
194
199
|
const electron = {
|
|
@@ -361,6 +366,7 @@ module.exports.reactSdk = series(
|
|
|
361
366
|
reactSdk.generateSdkTypedefs,
|
|
362
367
|
reactSdk.bundleSdkTypedefs,
|
|
363
368
|
general.cleanTempFiles,
|
|
369
|
+
general.copyGqlFiles,
|
|
364
370
|
general.generateNpmPackage,
|
|
365
371
|
);
|
|
366
372
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|