-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Squashed 'apollo-ios-codegen/' changes from b76b8853..4cc288c4
4cc288c4 chose(deps): update GraphQLCompiler dependencies (#181) git-subtree-dir: apollo-ios-codegen git-subtree-split: 4cc288c43509675900fa6c7452ab587fe77efdb9
- Loading branch information
gh-action-runner
authored and
gh-action-runner
committed
Dec 7, 2023
1 parent
eea5532
commit 9cebf5d
Showing
4 changed files
with
14 additions
and
12 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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