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

Todo/Refactor #205

Open
5 of 8 tasks
alexander-akait opened this issue Mar 29, 2018 · 22 comments
Open
5 of 8 tasks

Todo/Refactor #205

alexander-akait opened this issue Mar 29, 2018 · 22 comments

Comments

@alexander-akait
Copy link
Member

alexander-akait commented Mar 29, 2018

Wait feedback 👍

//cc @brunocodutra

@brunocodutra
Copy link
Collaborator

I'd recommend ava instead of jest.

I tried both in brunocodutra/webapp-webpack-plugin and for some reason ava is several times faster than jest.

@brunocodutra
Copy link
Collaborator

I volunteer to improve the testing framework using ava if you agree this is the way to go

@alexander-akait
Copy link
Member Author

@brunocodutra ava fix snapshot testing? it will be great for snapshot image testing to avoid generate broken images?

@brunocodutra
Copy link
Collaborator

@evilebottnawi yes it does snapshot testing much like jest

see https://github.com/avajs/ava#snapshot-testing

I'll start working something out and create a PR for us to better evaluate it

@alexander-akait
Copy link
Member Author

@brunocodutra great 👍

@brunocodutra
Copy link
Collaborator

@evilebottnawi regarding the ES6 refactor I was thinking, what about dropping support for node 4, which is reaching EOL this April, and sticking to node > 6 so that we may reasonably get rid of gulp and babel altogether?

@alexander-akait
Copy link
Member Author

alexander-akait commented Mar 30, 2018

@brunocodutra bit early, right now not April 😄

@brunocodutra
Copy link
Collaborator

Transpiling is not that big of a hassle, it's just that @jantimon convinced me it makes it harder for users that face issues to contribute fixes or even open better issue reports.

Either way we can decide about dropping node < 6 independently from the ES6 refactor.

@alexander-akait
Copy link
Member Author

alexander-akait commented Mar 30, 2018

@brunocodutra also i think we should build bundle use webpack or rollup for browser usage 👍 Then we can do demo on gh-pages

@brunocodutra
Copy link
Collaborator

@evilebottnawi sounds reasonable to me

@alexander-akait
Copy link
Member Author

@brunocodutra i added to list

@alexander-akait
Copy link
Member Author

@brunocodutra what do you think about buy domain favicons.xyz for future gh-pages, favicons.io better but very expensive 😞

@brunocodutra
Copy link
Collaborator

@evilebottnawi to be honest I think gh-pages are fine

@alexander-akait
Copy link
Member Author

@brunocodutra we will use gh-pages, github allow to add own domain on gh-pages

@brunocodutra
Copy link
Collaborator

@evilebottnawi I know, I mean the github domain is fine, is there such a demand for the website to justify owning a domain?

BTW, how about adding a link to it to the project description?

@alexander-akait
Copy link
Member Author

@brunocodutra 👍

@brunocodutra
Copy link
Collaborator

@evilebottnawi while writing new tests to increase code coverage I realized we have some undocumented features.

One feature in particular updates/creates HTML files directly on disc only through the stream interface and only if the html handler is not provided and if params.html && !params.pipeHTML.

Do we really need this feature?

@alexander-akait
Copy link
Member Author

alexander-akait commented May 8, 2018

@brunocodutra intresting, need investigate.

In near future i want move favicons to https://github.com/itgalaxy/ org, leaving you access to the repository.
No important PR is expected in the near future?

@brunocodutra
Copy link
Collaborator

@evilebottnawi go ahead, I don't have anything right now

@alexander-akait
Copy link
Member Author

alexander-akait commented Jun 9, 2018

/cc @brunocodutra why we use @babel/polyfill as dep?

@brunocodutra
Copy link
Collaborator

@evilebottnawi because we need something that isn't available in node 4, although I can't remember what it is.

If we drop support for node < 6, which is quite reasonable since node 4 reached EOL, I believe we might be able to get rid of transpiring with Babel entirely.

@alexander-akait
Copy link
Member Author

@brunocodutra i think we should drop node@4 👍

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

No branches or pull requests

2 participants