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.

Move scripts to separate folder

See original GitHub issue
  • Create an webpack alias ‘scripts’ and change all pathes pointing to them to use alias
  • Move scripts to core/scripts folder (all.js, installer.js, server.js, fixconfigs.js)
  • Make changes in package.json to adjust script pathes
  • Make sure all scripts still works properly (especially installer)
  • Make sure pathes in above scripts and in the project are still viable after changing folder structure

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
qiqqqcommented, Feb 21, 2018

@pkarw Yes, I want to do this within a few days

0reactions
qiqqqcommented, Feb 23, 2018

@pkarw Changes in installer.js are unnecessary. There are only shell scripts invoked by shelljs and this package invoke scripts always form root directory. I tested it and additionaly I checked shell.exec(‘pwd’) returns root directory (location of installer.js file does not matter)

Here is pull request -> https://github.com/DivanteLtd/vue-storefront/pull/744

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to move the Script I created to another directory and run it ...
I made the script in my home folder, and it works perfectly, but I want to move it to another directory, for example...
Read more >
Script to Move Folder Files - Microsoft Community Hub
I know the command to move these files to another folder, but I would like to move only the files up to 11/2021....
Read more >
Can I safely rearrange my scripts into different folders?
I have a giant "scripts" folder that I have just dumped my scripts in but I would like to organise them into folders...
Read more >
Move Files to Another Folder with Google Scripts - Labnol.org
The File or Folder class in Google Scripts offers no direct method to move files from one folder in Google Drive to another....
Read more >
Script to move files from a folder to dif… - Apple Community
Script to move files from a folder to different folder in another directory that shares part of the same name as file.
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