-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: ignore contract build artifacts
In the course of local development, contract directories such as common/contract/assemblyscript may end up with lockfiles and build files like yarn.lock and node_modules. However, these files are gitignored and will not be published with the package on NPM. This can lead to discrepencies between the versions installed when using the create-near-app project from a cloned repository vs using the package from NPM. This refactors index.js file to make it easier to skip such files, so that creating a project from a cloned version of create-near-app gives similar results to using the package from NPM.
- Loading branch information
Showing
1 changed file
with
42 additions
and
31 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