Skip to content

Commit 38d23ea

Browse files
committed
removed mobile related code
1 parent e0bbc29 commit 38d23ea

File tree

6 files changed

+1
-39
lines changed

6 files changed

+1
-39
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ If applicable, add screenshots to help explain your problem.
2424

2525
**Environment:**
2626

27-
- OS: [e.g. iOS]
27+
- OS: [e.g. Windows]
2828
- Browser : [e.g. IE]
2929
- Version [e.g. 9]
3030

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,5 @@ cloudflare/public/*
3333
.wrangler
3434
**/cloudflare/wrangler.toml
3535

36-
# mobile
37-
mobile/.expo
38-
3936
# data
4037
data/nodemon.json

packages/tooling/.prettierignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ oracle-cloud/build
99
bundle
1010
.bundle-info.json
1111

12-
# mobile
13-
.expo
14-
1512
./.*
1613
.editorconfig
1714
.gitignore

packages/tooling/sentry-release.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,6 @@ if (!authToken) throw new Error("Please provide a authToken");
1919
const org = "dzcode";
2020
const project = scope;
2121

22-
if (scope === "mobile") {
23-
console.log(`Creating, publishing and deploying a new Sentry release ...`);
24-
const mobileScript = `SENTRY_AUTH_TOKEN=${authToken} SENTRY_ORG=${org} SENTRY_PROJECT=${project} SENTRY_RELEASE=${scope}@${version} SENTRY_DEPLOY_ENV=${environment} SENTRY_DIST=0 expo export --dump-sourcemap`;
25-
console.log(`running:\n${mobileScript}`);
26-
const mobileScriptStdout = String(execSync(mobileScript));
27-
console.log(mobileScriptStdout);
28-
process.exit(0);
29-
}
30-
3122
console.log(`Creating a Sentry release draft ...`);
3223
const releaseScript = `sentry-cli --auth-token ${authToken} releases --org ${org} new --project ${project} ${scope}@${version}`;
3324
console.log(`running:\n${releaseScript}`);

packages/tooling/version-apply.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,6 @@ dependencies.forEach(({ location }) => {
3232
console.log(`Applied version ${version} to ${packageJsonPath}`);
3333
modifiedFilePaths.push(packageJsonPath);
3434
}
35-
36-
const appJsonPath = join(location, "app.json");
37-
if (existsSync(appJsonPath)) {
38-
const appJsonContent = require(appJsonPath); // eslint-disable-line @typescript-eslint/no-require-imports
39-
appJsonContent.expo.version = cleanVersion;
40-
appJsonContent.expo.ios.buildNumber = cleanVersion;
41-
appJsonContent.expo.android.versionCode = Number(cleanVersion.replace(/\D/g, ""));
42-
writeFileSync(appJsonPath, JSON.stringify(appJsonContent, null, 2));
43-
console.log(`Applied version ${version} to ${appJsonPath}`);
44-
modifiedFilePaths.push(appJsonPath);
45-
}
4635
});
4736

4837
// Run prettier to make sure the modified files are properly formatted

web/src/components/locale/dictionary.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@ export const dictionary = {
2626
"footer-category-link-text-projects": { en: "Projects", ar: "مشاريع" },
2727
"footer-category-link-text-articles": { en: "Articles", ar: "مقالات" },
2828
"footer-category-link-text-faq": { en: "FAQ", ar: "اسئلة / اجوبة" },
29-
"footer-category-title-mobile": { en: "Mobile", ar: "تطبيق جوال" },
30-
"footer-category-link-text-android": { en: "Android", ar: "أندرويد" },
31-
"footer-category-link-text-ios": { en: "iOS", ar: "ايفون" },
32-
"footer-category-link-text-expo": { en: "Expo", ar: "اكسبو" },
3329
"footer-category-title-social-media": {
3430
en: "Social Media",
3531
ar: "وسائل التواصل الاجتماعي",
@@ -187,14 +183,6 @@ Besides the open tasks on [/Contribute](/Contribute) page, you can also contribu
187183
en: "Make a Contribution",
188184
ar: "قدم مساهمة",
189185
},
190-
"landing-mobile-title": {
191-
en: "Try the mobile app from AppStore or PlayStore",
192-
ar: "جرب تطبيق الهاتف المحمول من AppStore أو PlayStore",
193-
},
194-
"landing-mobile-subtitle": {
195-
en: "Meet the DzCode i/o mobile app and stay up-to-date with the state of Algerian open-source software on iOS and Android.",
196-
ar: "تعرف على تطبيق DzCode i / o للجوال وابق على اطلاع دائم بأحدث البرامج مفتوحة المصدر الجزائرية على iOS و Android.",
197-
},
198186
"landing-milestones-title": {
199187
en: "Project roadmap",
200188
ar: "خارطة طريق المشروع",

0 commit comments

Comments
 (0)