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

Add snarkdown w/ npm auto-update via single package.json #11830

Merged
merged 1 commit into from
May 5, 2018

Conversation

pyvkd
Copy link
Contributor

@pyvkd pyvkd commented Sep 13, 2017

close #11827, cc @developit

Profile of the lib

  • Git repository (required): https://github.com/developit/snarkdown
  • Official website (optional, not the repository):
  • NPM package url (optional): https://www.npmjs.com/package/snarkdown
  • License and its reference: MIT
  • GitHub / Bitbucket popularity (required):
    • Count of watchers: 16
    • Count of stars: 610
    • Count of forks: 36
  • NPM download stats (optional):
    • Downloads in the last day: 62
    • Downloads in the last week: 219
    • Downloads in the last month: 866

Copy link
Contributor

@PeterBot PeterBot left a comment

Choose a reason for hiding this comment

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

Oops 😨 d2681e0 CI test failed ❗

@pyvkd please take a look at CI build https://ci.cdnjs.com/cdnjs/cdnjs/12583 for details 📝 !
Most of the error will have corresponding explanation, so that you will know what's wrong and then try to fix it!
If you cannot understand the error message and need help, feel free to ask our maintainers ☺️

Copy link
Contributor

@PeterBot PeterBot left a comment

Choose a reason for hiding this comment

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

Oops 😨 57c5e83 CI test failed ❗

@pyvkd please take a look at CI build https://ci.cdnjs.com/cdnjs/cdnjs/12592 for details 📝 !
Most of the error will have corresponding explanation, so that you will know what's wrong and then try to fix it!
If you cannot understand the error message and need help, feel free to ask our maintainers ☺️

@pyvkd pyvkd changed the title Adding snarkdown Add snarkdown w/ npm auto-update Sep 13, 2017
Copy link
Contributor

@PeterBot PeterBot left a comment

Choose a reason for hiding this comment

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

Oops 😨 30fc132 CI test failed ❗

@pyvkd please take a look at CI build https://ci.cdnjs.com/cdnjs/cdnjs/12612 for details 📝 !
Most of the error will have corresponding explanation, so that you will know what's wrong and then try to fix it!
If you cannot understand the error message and need help, feel free to ask our maintainers ☺️

Copy link
Contributor

@PeterBot PeterBot left a comment

Choose a reason for hiding this comment

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

@pyvkd congratulations! 49823de CI test passed! ✅
Please wait for the further review from the maintainers!

For the details 📃, please take a look at ➡️ https://ci.cdnjs.com/cdnjs/cdnjs/12617, thank you 😀

Copy link
Contributor

@sufuf3 sufuf3 left a comment

Choose a reason for hiding this comment

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

@pyvkd Thank you for your contribution.
I think this PR is good, except some parts.

May I ask you how do you send this pull request? via GitHub website or use git command?
I think the commit should squash to one commit, if you use git command, we can help you how to do this.
But if you use GitHub website, it can't squash the commit. I can help you squash to one commit.

BTW, the commit message needs to be as the followings:

Add snarkdown w/ npm auto-update via single package.json

close #11827, cc developit

Thank you.

Memo: the file of v0.5.0~v1.0.0 I found there is no files can use in web front-end, so it does not matter.

"description": "Transform Markdown into HTML.",
"authors": [
"Jason Miller <jason@developit.ca>"
],
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's modify from A to B. Because there is one author not authors.

  • A
  "authors": [
    "Jason Miller <jason@developit.ca>"
  ],
  • B
  "author": "Jason Miller <jason@developit.ca>",

Thank you.

"html",
"parser"
],
"filename": "snarkdown.min.js",
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's move "filename": "snarkdown.min.js", between name and description field.
Because we'd like let people know what file they need it in the first glance.
Thank you.

@sufuf3 sufuf3 changed the title Add snarkdown w/ npm auto-update Add snarkdown w/ npm auto-update via single package.json Sep 14, 2017
@sufuf3
Copy link
Contributor

sufuf3 commented Sep 14, 2017

@pyvkd I have a question.
Could we use snarkdown.es.js this file in web front-end?
like <script src="xxxx.js"></script>

If we can't use it in web front-end, we need to change the auto-update config.
Thank you.

@PeterDaveHello
Copy link
Contributor

@sufuf3 take a look:

https://philipwalton.com/articles/deploying-es2015-code-in-production-today/

<!-- Browsers with ES module support load this file. -->
<script type="module" src="main.js"></script>

<!-- Older browsers load this file (and module-supporting -->
<!-- browsers know *not* to load this file). -->
<script nomodule src="main-legacy.js"></script>

It may need some more attribute, but anyway, it should be minified.

@sufuf3
Copy link
Contributor

sufuf3 commented Sep 15, 2017

Got it, thank you.

@pyvkd
Copy link
Contributor Author

pyvkd commented Sep 15, 2017

@sufuf3 i used github.com. I can use git command line as well.

@PeterDaveHello
Copy link
Contributor

@pyvkd I think the most easiey way here is to keep using GitHub GUI, just fix the issues and we can squash the commits here for you.

Copy link
Contributor

@PeterBot PeterBot left a comment

Choose a reason for hiding this comment

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

Oops 😨 5e2fa6f CI test failed ❗

@pyvkd please take a look at CI build https://ci.cdnjs.com/cdnjs/cdnjs/12705 for details 📝 !
Most of the error will have corresponding explanation, so that you will know what's wrong and then try to fix it!
If you cannot understand the error message and need help, feel free to ask our maintainers ☺️

@PeterDaveHello
Copy link
Contributor

I'll squash and rebase the branch now.

Copy link
Contributor

@PeterBot PeterBot left a comment

Choose a reason for hiding this comment

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

@pyvkd congratulations! ef9d44e CI test passed! ✅
Please wait for the further review from the maintainers!

For the details 📃, please take a look at ➡️ https://ci.cdnjs.com/cdnjs/cdnjs/12709, thank you 😀

@PeterDaveHello
Copy link
Contributor

Ping @cdnjs/intern3

Copy link
Contributor

@PeterBot PeterBot left a comment

Choose a reason for hiding this comment

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

@pyvkd congratulations! 223f9f9 CI test passed! ✅
Please wait for the further review from the maintainers!

For the details 📃, please take a look at ➡️ https://ci.cdnjs.com/cdnjs/cdnjs/12862, thank you 😀

Copy link
Contributor

@sufuf3 sufuf3 left a comment

Choose a reason for hiding this comment

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

Sorry for the late review.
Helped modify the commit message.
LGTM

@sufuf3
Copy link
Contributor

sufuf3 commented Sep 21, 2017

@cdnjs/active-contributor @cdnjs/intern3
Please help review this PR, Thank you.

Copy link
Contributor

@PeterBot PeterBot left a comment

Choose a reason for hiding this comment

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

@pyvkd congratulations! f74149b CI test passed! ✅
Please wait for the further review from the maintainers!

For the details 📃, please take a look at ➡️ https://ci.cdnjs.com/cdnjs/cdnjs/12933, thank you 😀

Copy link
Contributor

@extend1994 extend1994 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@PeterDaveHello PeterDaveHello left a comment

Choose a reason for hiding this comment

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

@sufuf3 @extend1994 so the snarkdown.es.js was verified working for browser but not for nodejs only?

@PeterBot
Copy link
Contributor

Any updates here? Please let me know if you need any help. Thanks!

(This is an automatic ping message, sorry for disturbing, we will get back here ASAP.)

cc @sashberd

@sufuf3
Copy link
Contributor

sufuf3 commented Apr 23, 2018

As the mention developit/snarkdown#39 (comment) & #11830 (comment)
Maybe it's can be used in web front-end.

@PeterDaveHello would you please take a look?
Thank you very much.

@sufuf3 sufuf3 requested review from PeterDaveHello and removed request for maruilian11 April 23, 2018 01:05
Copy link
Contributor

@PeterDaveHello PeterDaveHello left a comment

Choose a reason for hiding this comment

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

Please note that the filename needs no .min as it's minified.

Copy link
Contributor

@PeterBot PeterBot left a comment

Choose a reason for hiding this comment

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

@pyvkd congratulations! 868fa02 CI test passed! ✅
Please wait for the further review from the maintainers!

For the details 📃, please take a look at ➡️ https://ci.cdnjs.com/cdnjs/cdnjs/20300, thank you 😀

@PeterDaveHello PeterDaveHello merged commit 6f7e30b into cdnjs:master May 5, 2018
@ghost ghost removed the in progress label May 5, 2018
@PeterDaveHello
Copy link
Contributor

@sufuf3 @extend1994 please take a look at my "approval" review, just a small issue and I fixed here.

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.

[Request] Add snarkdown
5 participants