-
Notifications
You must be signed in to change notification settings - Fork 59
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
Conversation
# Conflicts: # apollo-ios-codegen/Sources/GraphQLCompiler/JavaScript/package.json
ab6ed3f
to
5986f26
Compare
# Conflicts: # apollo-ios-codegen/Sources/GraphQLCompiler/JavaScript/package.json
5d16af5
to
0345195
Compare
|
||
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 comment
The reason will be displayed to describe this comment to others. Learn more.
Use the package version of rollup
instead of needing a global installation of it.
"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 comment
The 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 alpha.3
- all our codegen tests still pass.
@@ -207,6 +207,24 @@ jobs: | |||
shell: bash | |||
run: | | |||
./scripts/run-test-codegen-configurations.sh -t | |||
|
|||
verify-frontend-bundle-latest: |
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?
4cc288c4 chose(deps): update GraphQLCompiler dependencies (#181) git-subtree-dir: apollo-ios-codegen git-subtree-split: 4cc288c43509675900fa6c7452ab587fe77efdb9
…iler dependencies git-subtree-dir: apollo-ios-codegen git-subtree-mainline: ff034f9 git-subtree-split: 4cc288c43509675900fa6c7452ab587fe77efdb9
This PR should remain a Draft until there is a resolution to graphql/graphql-js#3927. Until that is resolved the rollup command will fail with the following error:I've downgraded the
graphql-js
dependency to17.0.0-alpha.2
to fix the above error. Once there is a resolution to graphql/graphql-js#3927 we can update the graphql-js dependency to the latest available version.Combines the changes from PRs:
Notes:
set -e
) which will prevent partial updates to the Swift file which might be perceived as valid changes. I also applied some changes from a Bash script validator.