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

feat(eslint-config): Demos entrain devDependencies #3638

Closed
wants to merge 12 commits into from

Conversation

kriskowal
Copy link
Member

Prior to this change, eslint would suggest that dependencies that occur under demo directories should be retained in the dependencies, not devDependencies, of the surrounding package.json. Demos should not entrain published package dependencies. This change configures eslint to recognize the demo directories as having the same footing as tests and scripts.

Refs #527

@kriskowal kriskowal requested a review from katelynsills August 10, 2021 03:19
@kriskowal kriskowal force-pushed the 527-eslint-demos branch 2 times, most recently from ed26fbd to 775fc17 Compare August 10, 2021 03:34
@kriskowal kriskowal changed the base branch from master to 527-import-manager August 10, 2021 03:35
Copy link
Contributor

@katelynsills katelynsills left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

*BREAKING CHANGE*: makeHelpers no longer provides path resolution functions resolvePathForLocalContract nor resolvePathForPackagedContract.  We have ensured that example contracts no longer uses these deployment helpers, and we intend to eventually restore them, but with different, asynchronous function signatures, after we complete our migration to Node.js native ESM (modules).
This change also incidentally removes a dependency on path in favor of using the thread read powers. This frees up the name dirname in module scope for our adapter to import.module.url.
@kriskowal
Copy link
Member Author

This has been obviated by #3661 or #3355.

@kriskowal kriskowal closed this Aug 11, 2021
@kriskowal kriskowal deleted the 527-eslint-demos branch August 11, 2021 23:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants