question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Check for a post-process script

See original GitHub issue

As discussed outside of this issue, a post-process script could be useful to fix style issues with eslint --fix and perhaps do other things in the future. We could also use this script to do an initial npm install for users. Here’s how it might be implemented:

  1. Directly after template files are generated, check for a post-process.js file in a template. (Not sure what the exact name or format should be.)
  2. If it exists, run the script with the project root as the working directory.

(cc @LinusBorg, who started the discussion resulting in this issue)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
posvacommented, Sep 15, 2016

Okay, I didn’t understand that at the beginning. You convinced me too 👌

On Thu, 15 Sep 2016, 15:22 Chris Fritz, notifications@github.com wrote:

@posva https://github.com/posva Yeah, but since they can already generate unsafe templates in general (see the explanation to Linus), users won’t be any less safe than they used to be. Installing a template from someone simply requires some trust. Does that make sense?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vuejs/vue-cli/issues/168#issuecomment-247326293, or mute the thread https://github.com/notifications/unsubscribe-auth/AAoicX_cXUfKvTIqF6z3mehd8sSUaY04ks5qqUacgaJpZM4J7IGh .

1reaction
LinusBorgcommented, Sep 15, 2016

@chrisvfritz Ok, you have me convinced. 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Examples of post-processing scripts - IBM
Checking the result of a step. The post-processing script can examine the step's output log and run commands based on the result.
Read more >
Examples of post-processing scripts
Checking the result of a step. The post-processing script can examine the step's output log and run commands based on the result.
Read more >
NZBGet : Post-processing scripts
To test a pp-script save it to a text file, make it executable and put into ScriptDir. Then refresh the page in web-browser...
Read more >
Post-processing scripts | Prusa Knowledge Base
Post-processing scripts can be written in any programming language (Perl, Python, Ruby, Bash etc.). They just need to be recognized by your system...
Read more >
Controlling effects using scripts | Post Processing | 3.0.3
This guide explains how to modify a post-processing script to create time-based events or temporary post-processing effects.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found