Skip to content

Commit

Permalink
chore: fixed install-dev.sh (#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
GauBen authored Oct 25, 2022
1 parent 246586e commit 243be11
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions install-dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ echo "Installing development tools..."
yarn

echo "Initializing mookme..."
yarn dlx mookme init --only-hook --skip-types-selection
yarn dlx @escape.tech/mookme init --only-hook --skip-types-selection

echo "Building GraphQL Armor"
yarn workspaces foreach -ptv run build
echo "Building GraphQL Armor..."
yarn build

echo "Run commands using `yarn workspace @escape.tech/{pkg} {cmd}`"
echo "Run commands using 'yarn workspace @escape.tech/{pkg} {cmd}'"
1 change: 1 addition & 0 deletions packages/plugins/max-tokens/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export class MaxTokensParserWLexer extends Parser {

export function maxTokensPlugin(config?: MaxTokensOptions): Plugin {
function parseWithTokenLimit(source: string | Source, options?: ParseOptions) {
// @ts-expect-error TODO(@c3b5aw): address the type issue
const parser = new MaxTokensParserWLexer(source, Object.assign({}, options, config));
return parser.parseDocument();
}
Expand Down

0 comments on commit 243be11

Please sign in to comment.