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

For main functions returning a Future, translate into JS Promises when creating an npm package #64

Merged
merged 5 commits into from
Nov 14, 2020

Conversation

BobobUnicorn
Copy link
Contributor

This addresses #50 and enables proper error reporting in rules_sass in worker mode (bazelbuild/rules_sass#96).

I am not entirely sure if this warrants a particular unit test, given that this is basically a private API.

lib/src/npm.dart Outdated Show resolved Hide resolved
lib/src/npm.dart Outdated Show resolved Hide resolved
@nex3
Copy link
Collaborator

nex3 commented Nov 4, 2020

You'll need to merge with master to fix the build error, and you'll need to bump the pubspec to 1.1.0 and add a changelog entry. (I'd do this myself but it looks like you've disabled allowing me to push to your PR branch.)

@BobobUnicorn
Copy link
Contributor Author

Sorry, I've been busy for a bit - I am not sure if this is considered a breaking change (and so would be v2.0.0)

@nex3 nex3 merged commit 3b236cc into google:master Nov 14, 2020
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