2026-04-30 10:23:35 +05:00
|
|
|
/*
|
|
|
|
|
This file is part of the Notesnook project (https://notesnook.com/)
|
|
|
|
|
|
|
|
|
|
Copyright (C) 2023 Streetwriters (Private) Limited
|
|
|
|
|
|
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
*/
|
2023-02-20 14:54:44 +05:00
|
|
|
const isGithubRelease = false;
|
2022-09-12 15:04:34 +05:00
|
|
|
const config = {
|
2026-04-30 10:23:35 +05:00
|
|
|
commands: require("@callstack/repack/commands/rspack")
|
2022-08-16 16:48:10 +05:00
|
|
|
};
|
2022-09-12 15:04:34 +05:00
|
|
|
|
2023-04-04 15:42:28 +05:00
|
|
|
if (!config.dependencies) config.dependencies = {};
|
2023-08-02 15:35:15 +05:00
|
|
|
|
2025-11-27 11:32:50 +05:00
|
|
|
config.dependencies["react-native-vector-icons"] = {
|
2023-04-04 15:42:28 +05:00
|
|
|
platforms: {
|
2025-11-27 11:32:50 +05:00
|
|
|
ios: null
|
|
|
|
|
}
|
|
|
|
|
};
|
2023-04-04 15:42:28 +05:00
|
|
|
|
2022-09-12 15:04:34 +05:00
|
|
|
if (isGithubRelease) {
|
2023-04-04 15:42:28 +05:00
|
|
|
config.dependencies["react-native-iap"] = {
|
|
|
|
|
platforms: {
|
2025-11-27 11:32:50 +05:00
|
|
|
android: null
|
2023-04-04 15:42:28 +05:00
|
|
|
}
|
2025-11-27 11:32:50 +05:00
|
|
|
};
|
2023-05-17 11:14:49 +05:00
|
|
|
config.dependencies["react-native-in-app-review"] = {
|
|
|
|
|
platforms: {
|
|
|
|
|
android: null
|
|
|
|
|
}
|
2025-11-27 11:32:50 +05:00
|
|
|
};
|
2022-09-12 15:04:34 +05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
module.exports = config;
|