-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chose(deps): update GraphQLCompiler dependencies #181
Changes from all commits
0d3ef9b
7a2d06b
74bf95e
73d63d9
3b288f2
5986f26
44f6004
4a2dcef
a0694a9
5150551
b2ff827
0345195
5c86a9c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
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 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Use the package version of |
||
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 |
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", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is the solution to fixing the Node error in the description. I do not believe we need anything in |
||
"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" | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be more efficient to include this as a step in the codegen unit tests CI job instead of spinning up another job? Not sure if it matters since the CI jobs on these runners are free minutes?