chore: update codegen cli and apollo version on iOS (#12879)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Added support for creating new documents from markdown and retrieving
the current locale in the iOS app.
- Introduced a shell script to automate Apollo iOS code generation
tasks.

- **Improvements**
- Upgraded the Apollo iOS library to version 1.22.0 for improved
performance and compatibility.
- Enhanced metadata handling in the app to include document ID,
workspace ID, server URL, and locale.
- Improved JavaScript execution integration for document and workspace
operations.

- **Bug Fixes**
- Fixed button appearance in the input bar by setting a static corner
radius for the send button.

- **Chores**
- Removed unused dependencies and updated .gitignore entries for cleaner
project management.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
Lakr
2025-06-20 19:03:16 +08:00
committed by GitHub
parent e978147a16
commit 10e981aa6d
11 changed files with 126 additions and 37 deletions

View File

@@ -10,10 +10,7 @@ const PackageRoot = iosPackage.path;
console.log('[*] PackageRoot', PackageRoot);
console.log('[*] graphql...');
execSync(
`${PackageRoot}/App/Packages/AffineGraphQL/apollo-ios-cli generate --path ${PackageRoot}/apollo-codegen-config.json --ignore-version-mismatch`,
{ stdio: 'inherit' }
);
execSync(`${PackageRoot}/apollo-codegen-chore.sh`, { stdio: 'inherit' });
console.log('[*] rust...');
execSync(