-
-
Notifications
You must be signed in to change notification settings - Fork 202
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Migrate from bash-parser to tree-sitter (closes #72)"
This reverts commit ef3981f.
- Loading branch information
Showing
10 changed files
with
86 additions
and
90 deletions.
There are no files selected for viewing
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
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
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
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
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
3 changes: 1 addition & 2 deletions
3
src/typescript/visitors/exports/moduleExportsAccessExpression.ts
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
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
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
This file was deleted.
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 |
---|---|---|
|
@@ -63,7 +63,7 @@ test('getReferencesFromScripts (--require)', () => { | |
test('getReferencesFromScripts (.bin)', () => { | ||
t('./node_modules/.bin/tsc --noEmit', ['bin:tsc']); | ||
t('node_modules/.bin/tsc --noEmit', ['bin:tsc']); | ||
t('$(npm bin)/tsc --noEmit', ['bin:tsc', 'bin:npm']); | ||
t('$(npm bin)/tsc --noEmit', ['bin:tsc']); | ||
t('../../../scripts/node_modules/.bin/tsc --noEmit', []); | ||
}); | ||
|
||
|
@@ -162,7 +162,7 @@ test('getReferencesFromScripts (c8)', () => { | |
}); | ||
|
||
test('getReferencesFromScripts (bash expressions)', () => { | ||
t('if test "$NODE_ENV" = "production" ; then make install ; fi ', ['bin:test', 'bin:make']); | ||
t('if test "$NODE_ENV" = "production" ; then make install ; fi ', ['bin:make']); | ||
t('node -e "if (NODE_ENV === \'production\'){process.exit(1)} " || make install', ['bin:make']); | ||
t('if ! npx pkg --verbose ; then exit 1 ; fi', ['bin:pkg', 'bin:exit']); | ||
t('exec < /dev/tty && node_modules/.bin/cz --hook || true', ['bin:exec', 'bin:cz', 'bin:true']); | ||
|
@@ -174,7 +174,7 @@ test('getReferencesFromScripts (bash expansion)', () => { | |
}); | ||
|
||
test('getReferencesFromScripts (multiline)', () => { | ||
t('#!/bin/sh\n. "$(dirname "$0")/_/husky.sh"\nnpx lint-staged', ['bin:dirname', 'bin:lint-staged']); | ||
t('#!/bin/sh\n. "$(dirname "$0")/_/husky.sh"\nnpx lint-staged', ['bin:lint-staged']); | ||
t(`for S in "s"; do\n\tnpx [email protected]\n\tnpx @scope/[email protected]\ndone`, ['rc', '@scope/rc']); | ||
}); | ||
|
||
|