Fix error when this npm module user installs
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
An error occurs when installing validate-typescript.
This pull request is a fix that avoids the error.
This error is because I've run
npm install validate-typescript
, which chained calls to the downloaded validate-typescript package's install.(And the downloaded validate-typescript package does not have a
test
directory)Empty the validate-typescript install script to avoid errors.
And I created a setup script that does the same thing as the current install script does.
Please run
npm run setup
when developing validate-typescript.This is equivalent to the current
npm install
.The same process as the current install script is moved to the
setup
name.It contains
npm install
, so it can do the same thing as the current install script.When developing validate-typescript,
npm run setup
can do the same asnpm install
.Thank you for the great product.