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

upgrade to latest sass #32

Merged
merged 4 commits into from
Aug 9, 2022
Merged

Conversation

patricklx
Copy link

@patricklx patricklx commented Jul 28, 2022

fixes #31 #30

Copy link
Collaborator

@MelSumner MelSumner left a comment

Choose a reason for hiding this comment

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

Would this require a new version release? Also, do you want to be added as a maintainer for the addon?

@patricklx
Copy link
Author

Yes, this would require a new version. Sure, you can add me then.

@@ -27,18 +27,18 @@ module.exports = function(sass) {
this.inputFile = inputFile;
this.outputFile = outputFile;

this.renderSass = rsvp.denodeify(sass.render);
this.renderSass = sass.compileAsync;
Copy link
Member

Choose a reason for hiding this comment

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

Can you please explain inline what each of these changes does?

Copy link
Author

Choose a reason for hiding this comment

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

index.js Outdated
@@ -55,7 +55,7 @@ module.exports = function(sass) {
throw new Error('[string exception] ' + error);
} else {
error.type = 'Sass Syntax Error';
error.message = error.formatted;
error.message = error.message;
Copy link
Author

Choose a reason for hiding this comment

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

message now has the formatted text

index.js Show resolved Hide resolved
@knownasilya
Copy link
Collaborator

This is a breaking change because the peer dep of sass needs to be a a new version? If so, should that be documented?

@patricklx
Copy link
Author

patricklx commented Aug 9, 2022

Yes, it needs a newer sass version. Or continue to also support older version

@patricklx
Copy link
Author

I changed it so that older versions are also supported

@knownasilya knownasilya merged commit cdcc49a into adopted-ember-addons:master Aug 9, 2022
@knownasilya
Copy link
Collaborator

knownasilya commented Aug 9, 2022

@patricklx what do you think about doing a PR implementing the release process described in https://github.com/adopted-ember-addons/program-guidelines#release-process

@patricklx patricklx deleted the patch-1 branch August 10, 2022 06:33
@patricklx
Copy link
Author

I can do it. But it will be next week

@patricklx
Copy link
Author

to setup the release process I would use https://github.com/rwjblue/create-rwjblue-release-it-setup which needs access to this repo. So, either you do it or add me as maintainer

@patricklx
Copy link
Author

@knownasilya

@patricklx
Copy link
Author

any update on this? I would also be happy to be a maintainer and do it myself then

@knownasilya
Copy link
Collaborator

Invite sent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

upgrade to new sass compile api
4 participants