Skip to content
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

fix(fern): remove dupe fern gen from bad merge #725

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions scripts/fern/gen_inner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,6 @@ fi
echo "Using Fern from $FERN_REPO_PATH"
FERN_NO_VERSION_REDIRECTION=true node "$FERN_REPO_PATH/packages/cli/cli/dist/dev/cli.cjs" generate --local --group $FERN_GROUP --log-level debug

# Once the above changes are merged
# Generate Fern libraries
set +u
if [ -n "$FERN_REPO_PATH" ]; then
echo "Using Fern from $FERN_REPO_PATH"
FERN_NO_VERSION_REDIRECTION=true node "$FERN_REPO_PATH/packages/cli/cli/dist/dev/cli.cjs" generate --local --group $FERN_GROUP --log-level debug
else
fern generate --local --group $FERN_GROUP --log-level debug
fi
set -u

# Export missing types
cat <<EOF >> sdks/$FERN_GROUP/typescript/src/index.ts
export * as core from "./core";
Expand Down
Loading