-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into hs/reverse-pagination
- Loading branch information
Showing
7 changed files
with
41 additions
and
14 deletions.
There are no files selected for viewing
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
2 changes: 1 addition & 1 deletion
2
apollo-ios-codegen/Sources/GraphQLCompiler/ApolloCodegenFrontendBundle.swift
Large diffs are not rendered by default.
Oops, something went wrong.
5 changes: 3 additions & 2 deletions
5
apollo-ios-codegen/Sources/GraphQLCompiler/JavaScript/auto_rollup.sh
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 |
---|---|---|
@@ -1,8 +1,9 @@ | ||
#!/usr/bin/env bash | ||
set -e | ||
|
||
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) | ||
output_file="$SCRIPT_DIR/../ApolloCodegenFrontendBundle.swift" | ||
$( cd "$SCRIPT_DIR" && rollup -c ) | ||
cd "$SCRIPT_DIR" && npm run build | ||
minJS=$(cat "$SCRIPT_DIR/dist/ApolloCodegenFrontend.bundle.js") | ||
printf "%s%s%s" "let ApolloCodegenFrontendBundle: String = #\"" "$minJS" "\"#" > $output_file | ||
printf "%s%s%s" "let ApolloCodegenFrontendBundle: String = #\"" "$minJS" "\"#" > "$output_file" | ||
exit 0 |
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 |
---|---|---|
|
@@ -6,27 +6,27 @@ | |
"license": "MIT", | ||
"author": "Apollo GraphQL <[email protected]>", | ||
"scripts": { | ||
"build": "rollup --config", | ||
"build": "rollup --config --bundleConfigAsCjs", | ||
"test": "jest" | ||
}, | ||
"engines": { | ||
"npm": ">=7" | ||
}, | ||
"dependencies": { | ||
"graphql": "17.0.0-alpha.3", | ||
"graphql": "17.0.0-alpha.2", | ||
"tslib": "^2.3.0" | ||
}, | ||
"devDependencies": { | ||
"@rollup/plugin-node-resolve": "15.2.3", | ||
"@rollup/plugin-replace": "5.0.5", | ||
"@rollup/plugin-typescript": "11.1.5", | ||
"@types/common-tags": "1.8.4", | ||
"@types/jest": "26.0.24", | ||
"@types/jest": "29.5.10", | ||
"common-tags": "1.8.2", | ||
"jest": "26.6.3", | ||
"rollup": "2.79.1", | ||
"rollup-plugin-terser": "7.0.2", | ||
"ts-jest": "26.5.6", | ||
"typescript": "4.9.5" | ||
"jest": "29.7.0", | ||
"rollup": "4.6.1", | ||
"@rollup/plugin-terser": "0.4.4", | ||
"ts-jest": "29.1.1", | ||
"typescript": "5.3.2" | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,8 @@ | ||
# apollo-ios-pagination | ||
# README | ||
|
||
> [!IMPORTANT] | ||
> This library is currently pre-release and in active development. The API is subject to breaking changes until the first stable release. | ||
## `ApolloPagination` is a simple pagination library for iOS that works with Apollo GraphQL queries | ||
|
||
`ApolloPagination` allows you to easily watch paginated queries. |
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